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
Eugene Sandulenko
6a2e05edb8
More tweaks
...
svn-id: r14413
2004-08-01 07:50:28 +00:00
Eugene Sandulenko
890d667087
oops
...
svn-id: r14412
2004-08-01 07:41:15 +00:00
Eugene Sandulenko
2ed2770eed
Yet more proper memory free'ing
...
svn-id: r14411
2004-08-01 07:37:42 +00:00
Eugene Sandulenko
e20d53a869
More correct Anim destructor
...
svn-id: r14410
2004-08-01 07:32:27 +00:00
Eugene Sandulenko
d4c84fefde
Initialize Anim object properly.
...
svn-id: r14409
2004-08-01 07:23:36 +00:00
Jonathan Gray
182dd48bd4
merge reinherit.h into saga.h and gfx_mod.h, note the error loading animations wasn't caused by this commit :)
...
svn-id: r14405
2004-08-01 01:56:22 +00:00
Eugene Sandulenko
f1cfbe9065
Forgot to implement destructor for ActionMap
...
svn-id: r14400
2004-08-01 00:07:17 +00:00
Eugene Sandulenko
d530fc7696
Objectize actionmap.cpp
...
svn-id: r14399
2004-08-01 00:03:45 +00:00
Eugene Sandulenko
46a1c45d70
Extended CVAR_RegisterFunc with callback object parameter.
...
Got rid of static structure in animation.cpp
svn-id: r14397
2004-07-31 23:33:14 +00:00
Eugene Sandulenko
c5836541fe
Objectize render.cpp
...
svn-id: r14395
2004-07-31 23:00:48 +00:00
Eugene Sandulenko
2060a9475d
Rename some more functions to fit our naming rules
...
svn-id: r14394
2004-07-31 20:50:34 +00:00
Max Horn
62bcb7975f
Fix warning (static functions are source/object file local; declaring them in a header makes no sense anyway :-)
...
svn-id: r14393
2004-07-31 19:10:47 +00:00
Eugene Sandulenko
6e6edb8c0d
Objectize image.cpp
...
svn-id: r14391
2004-07-31 13:49:26 +00:00
Eugene Sandulenko
6038cf68ad
Add xref.txt to saga module, though it's empty.
...
svn-id: r14390
2004-07-31 13:44:23 +00:00
Jonathan Gray
52918b9197
no longer needed
...
svn-id: r14389
2004-07-31 13:36:06 +00:00
Jonathan Gray
59c88e428b
merge animation.h and animation_mod.h into a class
...
svn-id: r14388
2004-07-31 13:34:43 +00:00
Jonathan Gray
387c8abeda
update comment to relfect reality
...
svn-id: r14386
2004-07-31 12:39:26 +00:00
Jonathan Gray
c7d6425a38
remove YS_IGNORE_PARAM macro and some uneeded yslib.h includes
...
svn-id: r14385
2004-07-31 12:37:36 +00:00
Max Horn
a1b82d8e13
Cleanup for MemoryReadStream; made it match the File-class interface
...
svn-id: r14086
2004-06-27 21:30:33 +00:00
Max Horn
ca9448fe40
clearnup
...
svn-id: r14054
2004-06-25 21:47:37 +00:00
Max Horn
fb188716d5
cleanup
...
svn-id: r14053
2004-06-25 20:11:46 +00:00
Max Horn
bb3ef09efa
Removed unused stuff; cleanup
...
svn-id: r14052
2004-06-25 20:01:31 +00:00
Jonathan Gray
fc2044f743
Set graphics cursor before using it, fixes segfault when launching ihnm from the launcher. Fixes bug #966614
...
svn-id: r13934
2004-06-05 11:12:51 +00:00
Torbjörn Andersson
28e63617e1
Set _parser to NULL after deleting it. I don't know if it's necessary, but
...
it'll make me sleep easier at night, and I should have remembered to do it
before anyway.
svn-id: r13912
2004-05-31 08:59:11 +00:00
Torbjörn Andersson
cddf02fc32
Make sure music is unloaded and the parser object deleted before starting a
...
new piece of music.
svn-id: r13909
2004-05-31 08:46:36 +00:00
Eugene Sandulenko
4ceb84c643
Extend midi music table.
...
Implement music looping.
svn-id: r13899
2004-05-29 21:04:44 +00:00
Eugene Sandulenko
b3feb1107e
Remove slipped in underscores.
...
svn-id: r13898
2004-05-29 21:03:56 +00:00
Eugene Sandulenko
5464e0951b
Some more actor struct renames to match disassembly
...
svn-id: r13843
2004-05-21 01:23:50 +00:00
Torbjörn Andersson
9ec42ab9a7
Added support for using the separate VOC file (P2_A.VOC) from the Wyrmkeep
...
release of ITE. The code is a bit rough, and there's a nasty 'pop' at the
beginning of the sound (and a smaller one at the end), but it's a start.
It's a shame that the sound is of such low quality: lower sample rate, and
8 bits instead of 16. Perhaps it was extracted from the floppy version?
svn-id: r13840
2004-05-17 16:11:04 +00:00
Torbjörn Andersson
c51d9fba08
Cleaned up the handling of external MIDI files, and added the missing ones.
...
This is based on experimentation and guesswork, so it might be wrong, but
it will have to do for now.
svn-id: r13839
2004-05-16 12:57:49 +00:00
Eugene Sandulenko
cd229dc57a
Revamp static actor data. Add missed fields and reformat table.
...
svn-id: r13837
2004-05-14 02:25:36 +00:00