Commit Graph

175 Commits

Author SHA1 Message Date
Jonathan Gray
d1d308ff74 R_GAMETYPE -> GID, remove unused supported flag and trim some unused bits of GAME
svn-id: r14793
2004-08-27 01:32:10 +00:00
Jonathan Gray
d71604c20c add some comments about unimplemented opcodes
svn-id: r14790
2004-08-26 23:28:10 +00:00
Eugene Sandulenko
bfd0b42700 o Eliminate all structure _tags.
o Fix RSCFile on MSVC8.
 o Started fixing script opcodes.

svn-id: r14686
2004-08-22 18:28:42 +00:00
Paweł Kołodziejski
d62ff5dca7 fixed warnings
svn-id: r14603
2004-08-14 09:10:14 +00:00
Eugene Sandulenko
3fe739efb2 Merge SDEBUG_*, SF_* and STHREAD_* into Script class.
svn-id: r14568
2004-08-12 23:57:45 +00:00
Eugene Sandulenko
ec5d498703 Drop SSTACK_ in favor of common/stack.h implementation.
svn-id: r14566
2004-08-12 21:39:11 +00:00
Eugene Sandulenko
f2c3731f7b Launch scene start script.
svn-id: r14561
2004-08-12 01:11:11 +00:00
Eugene Sandulenko
a8ea40756f Move ITE_* and IHNM_* to Scene class.
svn-id: r14560
2004-08-11 23:42:02 +00:00
Eugene Sandulenko
f9b1c3991c Start animations too.
svn-id: r14559
2004-08-11 22:47:45 +00:00
Eugene Sandulenko
94b377ce73 Handle fades in scene load routine.
Introduce immediate events.

svn-id: r14558
2004-08-11 22:27:39 +00:00
Eugene Sandulenko
39137da10d Fix scene description structure data types and rename it.
svn-id: r14556
2004-08-11 18:02:03 +00:00
Eugene Sandulenko
23d5d1fb82 Move SYSINPUT_* and TRANSITION_* to SagaEngine class
svn-id: r14555
2004-08-11 14:04:12 +00:00
Eugene Sandulenko
57b1582149 Move CF_ commands to class and call them from wrappers. This will let us
remove global _vm later.

svn-id: r14552
2004-08-11 00:27:43 +00:00
Eugene Sandulenko
aba3176b0e Correct ESC key behaviour.
svn-id: r14551
2004-08-11 00:16:23 +00:00
Eugene Sandulenko
6c060161e6 Correct scene transitions. Now intro seems to be complete.
svn-id: r14548
2004-08-10 23:52:19 +00:00
Eugene Sandulenko
6e87774d33 oops
svn-id: r14545
2004-08-10 23:07:05 +00:00
Eugene Sandulenko
b13fc9f366 Improved intro. Now it correctly shows game title.
svn-id: r14544
2004-08-10 23:04:52 +00:00
Eugene Sandulenko
720ea20bed Moved PALANIM_* to a class.
svn-id: r14540
2004-08-10 19:20:33 +00:00
Eugene Sandulenko
fe7ac87bc7 Move EVENT_* to a class.
svn-id: r14539
2004-08-10 19:00:30 +00:00
Eugene Sandulenko
632042dae4 Move CON_* to a class.
svn-id: r14538
2004-08-10 18:31:33 +00:00
Torbjörn Andersson
f8cc6c2241 Initialise variables to stop the ITE intro from crashing.
svn-id: r14520
2004-08-08 18:03:52 +00:00
Eugene Sandulenko
2c0c065fe4 No longer needed.
svn-id: r14479
2004-08-06 01:43:57 +00:00
Eugene Sandulenko
602cd289f3 Move INTERFACE_ to class.
svn-id: r14478
2004-08-06 01:39:17 +00:00
Eugene Sandulenko
51b5acfc9c Move SCENE_* to class.
svn-id: r14463
2004-08-04 20:28:57 +00:00
Eugene Sandulenko
11078570dc Move state static variable to appropriate class
svn-id: r14462
2004-08-04 18:07:57 +00:00
Eugene Sandulenko
ab326af54e Rename some class variables in Font class.
Fix compilation.

svn-id: r14452
2004-08-03 01:12:08 +00:00
Eugene Sandulenko
b197c3dac8 Move SPRITE_ to a class
svn-id: r14451
2004-08-03 01:07:34 +00:00
Eugene Sandulenko
415400f24e Move TEXT_* to SagaEngine class.
svn-id: r14450
2004-08-03 00:40:16 +00:00
Eugene Sandulenko
fe1ab79bee Move FONT_* to class.
svn-id: r14449
2004-08-03 00:06:18 +00:00
Eugene Sandulenko
166b05aed4 Fix #include paths.
svn-id: r14443
2004-08-02 16:20:35 +00:00
Jonathan Gray
79e2af8787 no longer needed
svn-id: r14442
2004-08-02 15:53:33 +00:00
Eugene Sandulenko
98816ad3ae Objectize actor.cpp
svn-id: r14441
2004-08-02 15:47:42 +00:00
Jonathan Gray
dcf5805440 create objectMap class
svn-id: r14440
2004-08-02 15:44:18 +00:00
Jonathan Gray
632612680b move isomap into a class
svn-id: r14439
2004-08-02 14:51:48 +00:00
Jonathan Gray
e4c813670f remove timer wrapper functions
svn-id: r14437
2004-08-02 12:41:40 +00:00
Jonathan Gray
7846a6ed61 move static vars to private members
svn-id: r14434
2004-08-02 11:27:50 +00:00
Joost Peters
2a7f885477 Clean up Script class a bit; add get/set functions
svn-id: r14428
2004-08-01 23:47:19 +00:00
Eugene Sandulenko
873c886910 Made all MemoryReadStream local variables. This plugged a giantic constant
leakage in the engine.

svn-id: r14427
2004-08-01 23:24:22 +00:00
Joost Peters
936142bf40 rename load() to loadMap()
svn-id: r14426
2004-08-01 22:52:45 +00:00
Joost Peters
4aaea2131e create Script class from SCRIPT_* and ScriptModule
svn-id: r14425
2004-08-01 22:48:40 +00:00
Joost Peters
48cddda4b9 move SDATA_* into seperate class
svn-id: r14424
2004-08-01 19:53:29 +00:00
Eugene Sandulenko
ea694ffd68 Pass SagaEngine object to Anim and ActionMap objects
svn-id: r14422
2004-08-01 13:34:20 +00:00
Eugene Sandulenko
f97621d6e4 Remove unneeded code
svn-id: r14421
2004-08-01 13:29:39 +00:00
Jonathan Gray
c8d9018909 init _gfx in a less hacky manner
svn-id: r14420
2004-08-01 12:06:12 +00:00
Jonathan Gray
0bbeb61f5e merge gfx_mod.h into gfx.h and stick functions into a class
svn-id: r14419
2004-08-01 11:48:53 +00:00
Jonathan Gray
12e1c4711b prune uneeded code
svn-id: r14418
2004-08-01 10:48:11 +00:00
Max Horn
4ef4583523 Oh the beauty of stack based objects: they free themselves automatically, so you don't leak them all the time (fixed 10e6 object leaks :-)
svn-id: r14417
2004-08-01 10:02:41 +00:00
Jonathan Gray
69cf6a070a move sceneproc.cpp/h into scene.cpp/h
svn-id: r14416
2004-08-01 09:15:12 +00:00
Jonathan Gray
5833e67076 try to stop the abuse of MemoryReadStream (ie actually delete the memory when we're done with it)
svn-id: r14415
2004-08-01 08:45:40 +00:00
Jonathan Gray
bc900fde60 init some member vars
svn-id: r14414
2004-08-01 07:56:08 +00:00