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
Eugene Sandulenko
1b78dc468f
Added more stubs from script fucntions, some renames for consistency with
...
disassembly.
svn-id: r13835
2004-05-13 01:41:23 +00:00
Torbjörn Andersson
148872d1fd
Replaced R_printf() with debug() and warning(). There are still a couple of
...
standard printf()s left, though.
svn-id: r13791
2004-05-05 13:05:45 +00:00
Torbjörn Andersson
4102a3b13f
Removed data_dir, since it wasn't used.
...
svn-id: r13790
2004-05-05 12:05:00 +00:00
Paweł Kołodziejski
6c38484c1a
workaround warning - fixme
...
svn-id: r13779
2004-05-05 06:56:01 +00:00
Eugene Sandulenko
5a5e6ba868
Now cursor is really always shown.
...
svn-id: r13778
2004-05-05 02:35:33 +00:00
Eugene Sandulenko
8de181f4f0
Move from ys_binread.cpp and ys_binwrite.cpp to MemoryReadStream.
...
In fact there were no binary writes at all.
svn-id: r13773
2004-05-04 03:33:03 +00:00
Eugene Sandulenko
5de55d2dfa
indent
...
svn-id: r13771
2004-05-03 23:12:59 +00:00
Eugene Sandulenko
51801dc503
Started work on moving from ys_read/write to MemoryReadStream
...
svn-id: r13769
2004-05-03 23:06:57 +00:00
Eugene Sandulenko
86c055b796
Make sure cursor is always white
...
svn-id: r13750
2004-05-02 16:32:28 +00:00
Torbjörn Andersson
2617f36cb6
Made the cursor work a bit better in IHNM.
...
svn-id: r13749
2004-05-02 15:59:06 +00:00
Torbjörn Andersson
67d82f23d8
Got rid of r_softcursor by having the backend always draw the cursor
...
instead. This fixes graphics glitches in at least ITE.
Got rid of r_fullscreen, which wasn't even used anymore anyway.
svn-id: r13748
2004-05-02 15:44:19 +00:00
Jonathan Gray
88ac74992c
get rid of the last bits of SDL timer usage, SAGA should now be 100% OSystem
...
svn-id: r13729
2004-05-02 02:11:55 +00:00
Jonathan Gray
64485a9314
use features so ihnm doesn't default to 1280x960, change over some of the timer stuff to osystem not yet finished
...
svn-id: r13728
2004-05-02 01:39:14 +00:00