Eugene Sandulenko
ee557c8712
PINK: Use MacWindow::disableBorder()
2020-04-08 00:54:04 +02:00
Eugene Sandulenko
8ae73ce263
GRAPHICS: MACGUI: Add disableBorder() to MacWindow
2020-04-08 00:47:11 +02:00
Eugene Sandulenko
54251d658f
DIRECTOR: LINGO: Use bison directives in grammar
2020-04-07 19:43:51 +02:00
Eugene Sandulenko
d84c7e9f4b
DIRECTOR: LINGO: Made bison error output verbose
2020-04-07 19:32:01 +02:00
Eugene Sandulenko
07e5734759
DIRECTOR: Made director-grammar target brew-only
2020-04-07 19:30:38 +02:00
Cameron Cawley
27e8467b28
ANDROID: Add support for additional mouse buttons
2020-04-07 13:55:30 +03:00
Le Philousophe
e09b4e9e99
ANDROID: Make compilation settings more flexible
...
- Don't expect compilation to be run on a Linux host
- Allow override of CXX and STRINGS by environment variables
This should not break already working build systems
2020-04-07 11:36:02 +03:00
Le Philousophe
4367c2d350
ANDROID: Don't target Android API level 29 yet
...
Android API level 29 introduces scoped storage which is enabled by
default for applications targeting level 29.
This protection prevents us to access external storage.
There is a compatibility flag but it will disappear in Android 11.
To target more recent platforms, we should implement SAF FS backend.
2020-04-07 11:36:02 +03:00
Le Philousophe
d3c72b4c97
ANDROID: Update files in build directory when source changed
2020-04-07 11:36:02 +03:00
Eugene Sandulenko
e5adfff853
GRAPHICS: MACGUI: Pass events to window children
2020-04-07 01:03:24 +02:00
Eugene Sandulenko
52137f6627
GRAPHICS: MACGUI: Turned MacWindow into MacWidget
2020-04-07 00:56:27 +02:00
Eugene Sandulenko
37485b9670
GRAPHICS: MACGUI: Implemented event dispatcher for MacWidget
2020-04-06 21:09:13 +02:00
Eugene Sandulenko
8f44cb6acf
DIRECTOR: Fix code analysis issues. Some are embarrassing.
2020-04-06 21:09:13 +02:00
Thanasis Antoniou
e9d20eec4b
CONFIGURE: Allow scalers and hd scaling for Raspberry Pi
2020-04-06 18:54:31 +03:00
stevenhoefel
27ec158e04
DIRECTOR: Correct MouseDown Event Handler and fix switch statements missing breaks.
2020-04-06 23:42:15 +10:00
Thanasis Antoniou
7ac78c9172
CONFIGURE: Fix Raspberry Pi cross compilation using the Pro toolchain
...
https://github.com/Pro/raspi-toolchain
Current release of this toolchain must be installed in /opt
This uses a more recent gcc (8) whereas the official one uses 4.3-2
2020-04-06 04:59:17 +03:00
Eugene Sandulenko
fff03c9002
DIRECTOR: Implement Datum::getPrintable() for printing out
2020-04-06 01:23:38 +02:00
Eugene Sandulenko
5f83a7967d
DIRECTOR: Rename Datum::toType() to Datum::makeType() as less confusing
2020-04-06 00:45:14 +02:00
Roland van Laar
eacf8ae73c
DIRECTOR:LINGO: Implement getAt
...
Builtin getAt gets the nth item in a 1 indexed list.
getAt treats a float as int floor(float).
2020-04-06 00:00:42 +02:00
Roland van Laar
565496b196
DIRECTOR: Adds debug option to automate tests.
...
The debugflag fewframesonly exits the program after running 10 frames.
This is used when running a large amount of Director programs in an
automated fashion. The example script below saves the output for further
inspection.
CAVEAT: A score is ran for 10 frames. The counter is reset if new
score is started within those 10 frames.
An example script in fishshell:
for movie in (cat list_of_files_to_check.txt)
./scummvm --debugflags=runfirstframes -p DIRECTORY/ --start-movie=$movie workshop > output/$movie.txt 2>&1
if test $status -eq 0
echo $movie >> output/passed.txt
else
echo $movie >> output/failed.txt
end
end
2020-04-05 23:31:45 +02:00
Eugene Sandulenko
b3865a7029
DIRECTOR: LINGO: Support REFERENCE Datum in Lingo::alignTypes()
2020-04-05 23:26:10 +02:00
Thanasis Antoniou
507280c2d1
CONFIGURE: Fix raspberry pi cross-compilation
2020-04-05 21:13:48 +03:00
stevenhoefel
4f98a64670
DIRECTOR: Don't try and play a null sound cast member.
2020-04-05 22:09:18 +10:00
stevenhoefel
1c32aa7102
DIRECTOR: Load full strings for D3 and listen to MouseDown events.
2020-04-05 22:08:50 +10:00
stevenhoefel
c08f7c426b
DIRECTOR: Init and Render D3 Buttons, Checkboxes and Radio Toggles.
2020-04-05 22:08:02 +10:00
Eugene Sandulenko
9077c48942
Revert "DIRECTOR: Plug memory leak in MacArchive"
...
This reverts commit b217fff3dd
.
2020-04-05 13:38:42 +02:00
Matthew Duggan
bbc4af50db
ULTIMA8: Remove dead and duplicate code from ItemSorter
2020-04-05 15:44:06 +09:00
Matthew Duggan
6609c70fc0
ULTIMA8: Remove some unused code in SoftRenderSurface
2020-04-05 14:17:13 +09:00
Matthew Duggan
a768e0afb0
ULTIMA8: Sanity asserts in Process::waitFor
2020-04-05 14:10:18 +09:00
Matthew Duggan
08abb8f7af
ULTIMA8: Small const correctness fixes for ECode
2020-04-05 14:06:32 +09:00
stevenhoefel
cb224864fc
GRAPHICS: MACGUI: Align text to bottom if font-size changes during chunk.
2020-04-05 13:27:03 +10:00
Eugene Sandulenko
b217fff3dd
DIRECTOR: Plug memory leak in MacArchive
2020-04-05 01:55:36 +02:00
Eugene Sandulenko
51fbba2151
DIRECTOR: Fix warning
2020-04-05 01:44:41 +02:00
Eugene Sandulenko
f2a0032f91
DIRECTOR: Do not automatically delete archive resources, as we do it manually
2020-04-05 00:32:22 +02:00
Eugene Sandulenko
825b714cb6
DIRECTOR: LINGO: Merged sound-* with b_sound()
2020-04-05 00:22:06 +02:00
Eugene Sandulenko
e81954330f
DIRECTOR: LINGO: Remove special treatment of 'sound' in lexer. Now we do it with preprocessor
2020-04-05 00:21:59 +02:00
Eugene Sandulenko
54fc3b5cbe
DIRECTOR: LINGO: Remove _twoWordBuiltins as an obsolete concept
2020-04-05 00:21:53 +02:00
Eugene Sandulenko
4fd5e2e0d4
DIRECTOR: Persist screen between movies
2020-04-04 17:44:29 +02:00
Eugene Sandulenko
2cbb611821
GRAPHICS: MACGUI: Fix double freeing of menus
2020-04-04 16:24:51 +02:00
Eugene Sandulenko
d47b2fbd0f
DIRECTOR: Do not double delete MacArchive
2020-04-04 16:19:45 +02:00
Eugene Sandulenko
5752cb110d
CRYO: Use ScummVM packing headers instead of direct #pragmas
2020-04-04 13:52:25 +02:00
Eugene Sandulenko
4829527810
DIRECTOR: More robust preprocessing for sound
command
2020-04-04 13:52:25 +02:00
Matthew Duggan
4161cab9ba
ULTIMA8: Update unit tests for function renames
2020-04-04 17:45:36 +09:00
Matthew Duggan
426af9fe5e
ULTIMA8: Rename DataSource methods to match Common Streams
...
This is the first and safest step in removing IDataSource and ODataSource
entirely. For now this just renames all the functions, and removes a few
unused functions. It should be safe as none of the types are changing.
2020-04-04 16:29:33 +09:00
Eugene Sandulenko
04c98c8e0c
DIRECTOR: Preprocess sound command
2020-04-04 01:43:21 +02:00
Eugene Sandulenko
56d7a1df17
Revert "DIRECTOR: Use reserve() instead of resize() for Arrays"
...
This reverts commit a1cf5bf0ee
.
2020-04-04 01:38:28 +02:00
Eugene Sandulenko
52a467546b
DIRECTOR: Drop '#' from SYMBOL value
2020-04-04 01:29:46 +02:00
Eugene Sandulenko
af9d122b0d
DIRECTOR: Initialize Stxt
2020-04-03 23:33:27 +02:00
Eugene Sandulenko
38bd50abb4
DIRECTOR: Fix memory overlap
2020-04-03 23:33:27 +02:00
Eugene Sandulenko
0b7f54a893
DIRECTOR: Add sanity check to Lnam reading
2020-04-03 23:33:27 +02:00