74766 Commits

Author SHA1 Message Date
Dmitry Iskrich
b208b8e5ff DIRECTOR: Fix memory corruption 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
aaf8448cbc DIRECTOR: Add loading shared casts for Director version > 3 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
7164b1531c DIRECTOR: Fix code style violation 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
7013f6bb40 DIRECTOR: Lingo: Implemented 'global' keyword. Start of local/global var implementation 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
4b871b62e5 DIRECTOR: Renew shared resources when loading new folder 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
038a3ca293 DIRECTOR: Change Labels HashMap to SortedArray 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
19ae959bdd DIRECTOR: Lingo: Actually let VOID vars to pass. 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
9fff6529a3 DIRECTOR: Lingo: SImplified arg processing at macro definition. 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
839ac90f61 DIRECTOR: Lingo: Fixed argument order in macros, simplified grammar. 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
30ced4a4e2 DIRECTOR: Lingo: Fix warning 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
0b9e3607a0 DIRECTOR: Using shared casts for rendering 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
aac6c9695a DIRECTOR: Execute goto scripts 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
9319eee100 DIRECTOR: Loading shared DIB, STXT 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
16cca8054a DIRECTOR: Lingo: Move macro grammar to more logical spot in the file 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
9d46e4587b DIRECTOR: Lingo: Ignore trailing spaces in scripts 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
ad9e955b1e DIRECTOR: Lingo: Add type to stack 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
3e0bf3a03c DIRECTOR: Lingo: Parsing of macro calls without parens. 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
24a25820e8 DIRECTOR: Fix warning 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
2523bed5db DIRECTOR: Lingo: Split out the code gen functions into a separate file. 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
29e8752fca DIRECTOR: Lingo: Parse continuation arguments in macros 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
e1e7051bf2 DIRECTOR: Support goto frame jump 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
825a9fb29f DIRECTOR: Load shared casts in engine 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
840487d2ef DIRECTOR: Lingo: Parse macro definitions reliably 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
d440a73a41 DIRECTOR: Lingo: Fix handler parameter assigning. Added more debug output. 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
e93960e200 DIRECTOR: Add to Score jump labels commands 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
8a884ad08c DIRECTOR: Change ReadStream to ReadStreamEndian 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
b2a152dd54 DIRECTOR: Lingo: Fix handler calling 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
9ba86b960c DIRECTOR: Refactoring renderSprite 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
cc9d17c5eb DIRECTOR: Support goto command in Score 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
9524980508 DIRECTOR: Lingo: Disable debugging code 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
125600a91f DIRECTOR: Lingo: Initial implementation of c_procret() 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
3d543c62ba DIRECTOR: Lingo: Initial code for c_call() 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
6dc858a041 DIRECTOR: Lingo: Issue warning on handler redefinition 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
c48f1b5756 DIRECTOR: Lingo: Implement calling user-defined functions without parameters 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
a910fe22db DIRECTOR: Lingo: Refactoring for ID-related code generation 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
aee02d7282 DIRECTOR: Lingo: Initial code for function call grammar 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
327e625507 DIRECTOR: Lingo: Make all keywords case-insensitive 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
0c4d0155d5 DIRECTOR: Lingo: Avoid printing out unrecognizet tokens in lexer 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
2b6f00fc1a DIRECTOR: Lingo: Removed redundant endianness specification in READ/WRITE 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
2451bed128 DIRECTOR: Lingo: Renamed VAR->ID in the grammar for clarity 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
61e80e158b DIRECTOR: Lingo: Made the unassigned variable match the original 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
0f3f6ba7eb DIRECTOR: Lingo: Initial implementation of the handler define() method 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
1cf381db2a DIRECTOR: Lingo: Generate STOP at the macro end 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
a06e794a94 DIRECTOR: Lingo: Added named parameter assignment for macros 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
c376b12d6b DIRECTOR: Lingo: Fix parsing multiple macros 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
cd133e7e0c DIRECTOR: Lingo: Initial grammar for 'macro' keyword 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
587461108e DIRECTOR: Lingo: Implement 'repeat with down' control keyword 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
82756b34fe DIRECTOR: Lingo: Fix 'repeat with' control keyword implementation 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
8362f79329 DIRECTOR: Lingo: Further work on the 'repeat with' control keyword 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
0f3295c98f DIRECTOR: Lingo: Initial code for 'repeat with' control keyword 2016-08-03 23:40:36 +02:00