74942 Commits

Author SHA1 Message Date
Eugene Sandulenko
196044aeae DIRECTOR: Lingo: Implement 'exit' command 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
36d7addda9 DIRECTOR: Fix another crash on exit 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
4b9b1f3c2d DIRECTOR: Fix crash on deinitialization 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
95c14371e7 DIRECTOR: Lingo: Differentiate built-in function from IDs 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
ca40ccd9d1 DIRECTOR: Lingo: Added float constants and automatic type conversion 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
32fb9a3344 DIRECTOR: Draw string with mac fonts 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
1b0e546745 DIRECTOR: Assignment some TextCast unknows 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
56d51f9c1d DIRECTOR: Loading Classic Mac fonts 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
8a7411fb97 DIRECTOR: Lingo: Complete Rand() function implementation 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
2d08b87524 DIRECTOR: Added random source 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
50163b3c44 DIRECTOR: Lingo: Implement one-line version of 'if' statement 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
953c57944e DIRECTOR: Make built-in functions work (always) 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
610075cc15 DIRECTOR: Lingo: Make built-in functions work (sometimes) 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
8cc88b6fca DIRECTOR: Lingo: Initial code for built-in functions 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
061f868d79 DIRECTOR: Free memory, fix render text ID 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
2ad3d3a236 DIRECTOR: Simple text rendering 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
b460a7c036 DIRECTOR: Calculate values for text rendering 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
0f58203c02 DIRECTOR: Fix rendering resource, loading shared BMP 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
d70a76f1d6 DIRECTOR: Lingo: Make 'global' accept list of variables 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
c53e4b579a DIRECTOR: Lingo: Make global/local vars work 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
0b6d950729 DIRECTOR: Lingo: Store and restore local variables in scope. 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
a279faf251 DIRECTOR: Fix warning 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
0f65b9abb3 DIRECTOR: Lingo: Stub for context creation 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
bba7efff11 DIRECTOR: Lingo: C++-ify structs 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
256727964c DIRECTOR: Render bitmaps 2016-08-03 23:40:36 +02:00
Dmitry Iskrich
30db02c87e DIRECTOR: Handle some differences beetwen D1-3 and D4-6 2016-08-03 23:40:36 +02:00
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