Commit Graph
137148 Commits
Author SHA1 Message Date
Alexander Tkachev 7a89caac84 COMMON: Add WriteStream::pos()
It returns int32, because some complex streams are derived from both
WriteStream and ReadStream, and in ReadStream pos() returns int32,
because -1 means an error.

I had to change MemoryStream's uint32 to int32, which is probably not so
good.
2016-08-04 14:36:21 +06:00
Paul Gilbert c34af39937 TITANIC: Correct sound manager methods to return existing WaveFile class 2016-08-03 22:25:47 -04:00
Paul Gilbert 3fda4f0ef5 TITANIC: Add CSound sound loading methods 2016-08-03 21:47:11 -04:00
Paul Gilbert 9f316a5b37 GRAPHICS: Fix MSVC project generation 2016-08-03 20:51:54 -04:00
Thierry Crozat 191a9a0c64 MOHAWK: Load games from outside the options dialog loop
Loading games from inside the dialog loop may cause cursor
glitches. This commits applies the same fix to the
MohawkOptionsDialog as the one that already existed for
the global main menu. This finished to fix bug #7164.
2016-08-03 22:50:06 +01:00
Eugene Sandulenko 96e288c4c9 DIRECTOR: Update font generation 2016-08-03 23:43:01 +02:00
Eugene Sandulenko 59ebb0c68f DIRECTOR: Switch Mac font loading to the common code 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 8618cbb6cb DIRECTOR: Fix engine initialization 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 0aba35e266 DIRECTOR: More debug output 2016-08-03 23:40:36 +02:00
Eugene Sandulenko d9cf5af9f0 DIRECTOR: Lingo: Do not error out on unknown entities 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 5414a0ec2c DIRECTOR: Lingo: Added stub fot 'the keycode' entity 2016-08-03 23:40:36 +02:00
Eugene Sandulenko b2d5c25e2f DIRECTOR: Lingo: Do not error() on syntax errors 2016-08-03 23:40:36 +02:00
Eugene Sandulenko af3ca5ba0d DIRECTOR: Correct startup sequence 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 9067257cf0 DIRECTOR: Fix Mac archive reading. 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 503ff47b0b DIRECTOR: Added detection for 'The Apartment' 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 0bda622337 DIRECTOR: Lingo: Implemented 'me' function support for factories 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 8a29870a8a DIRECTOR: Lingo: Put codeFunc into separate function 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 62c0700588 DIRECTOR: Lingo: Extended factory test to one from Warlock D5.safe-movie-1 2016-08-03 23:40:36 +02:00
Eugene Sandulenko f67bcdc141 DIRECTOR: Lingo: Simplify CodeId 2016-08-03 23:40:36 +02:00
Eugene Sandulenko fa7725a5f5 DIRECTOR: Lingo: Fix stack underflow on not enough parameters 2016-08-03 23:40:36 +02:00
Eugene Sandulenko dc498881ef DIRECTOR: Lingo: Process extra or too few arguments for built-ins 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 783ff8f8f2 DIRECTOR: Lingo: Turn builtins into normal symbols 2016-08-03 23:40:36 +02:00
Eugene Sandulenko c8f0b74a63 JANITORIAL: Whitespace fixes 2016-08-03 23:40:36 +02:00
Dmitry Iskrich d9db9863ce DIRECTOR: Lingo: Add extra sprite and string fields to "the entities" 2016-08-03 23:40:36 +02:00
Dmitry Iskrich 240988fad4 DIRECTOR: Add enum for sprite types
According to the Director 4 helper
2016-08-03 23:40:36 +02:00
Dmitry Iskrich f0990e7221 DIRECTOR: Add extra fields for sprites
The presence of these fields depends on the type of sprite
2016-08-03 23:40:36 +02:00
Eugene Sandulenko 36fa951f60 DIRECTOR: Remove leftover .gitignore 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 991e58b177 BUILD: Added *.output to git ignore list 2016-08-03 23:40:36 +02:00
Eugene Sandulenko f7009628cc DIRECTOR: Lingo: Added tests for type conversion 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 3882a54ade DIRECTOR: Lingo: Added updateStage stub 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 06dd3651c7 DIRECTOR: Lingo: Issue warning instead of error at unhandled types 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 3fb7f5ac7b DIRECTOR: Lingo: Plug memory leak at assignment 2016-08-03 23:40:36 +02:00
Eugene Sandulenko ba3cf6181c DIRECTOR: Lingo: Implemented ilk() function 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 7fd25e98f1 DIRECTOR: Lingo: Added basic support for points 2016-08-03 23:40:36 +02:00
Eugene Sandulenko e56295df63 DIRECTOR: Lingo: Use M_PI constant instead of hardcode 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 21730e9d7e DIRECTOR: Lingo: Cast references could be lowercase too 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 9172820158 DIRECTOR: Lingo: Fix 'intersects' operator parsing and added 'within' operator 2016-08-03 23:40:36 +02:00
Eugene Sandulenko d53ff7b180 DIRECTOR: Lingo: Initial stub for 'intersects' operator 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 29b6f3edbb DIRECTOR: Lingo: Stub for when/then statement 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 2e0078ef06 DIRECTOR: Lingo: Fix line counting in code chunks 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 78b198cee9 DIRECTOR: Lingo: Added support for parameter-less built-ins 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 5f0f0193f9 DIRECTOR: Lingo: Fix splitting code to sections 2016-08-03 23:40:36 +02:00
Eugene Sandulenko e1b2759d06 DIRECTOR: Lingo: Initial code for factory/method definition 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 2676e252e4 DIRECTOR: Lingo: Added bytecode doc from http://fileformats.archiveteam.org/wiki/Lingo_bytecode 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 7c0bb9e6a1 DIRECTOR: Lingo: Added 'factory' keyword test 2016-08-03 23:40:36 +02:00
Eugene Sandulenko a84d8c44e4 DIRECTOR: Lingo: Initial code for splitting factory and method input 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 8b20d3d67b DIRECTOR: Lingo: Distinguish same name the fields for different the entities 2016-08-03 23:40:36 +02:00
Eugene Sandulenko c6406042af DIRECTOR: Lingo: Extended 'the' test 2016-08-03 23:40:36 +02:00
Eugene Sandulenko fb81d0b823 DIRECTOR: Lingo: Better error handling for 'the' entities 2016-08-03 23:40:36 +02:00
Eugene Sandulenko 0ad467f832 DIRECTOR: Lingo: Do not error out on non-existent sprites/casts 2016-08-03 23:40:36 +02:00