Commit Graph
86814 Commits
Author SHA1 Message Date
Travis Howell a33edcf009 Add some setSpriteGroupInfo code.
svn-id: r16871
2005-02-23 03:22:05 +00:00
Eugene Sandulenko dcd7d24717 Implementation of spriteInfoSet_addImageToList. It needs review,
especially inner loop with pointer arithmetix. Cyx, remember that
x * 0x31 that's it just somewhat complicated.

svn-id: r16870
2005-02-23 03:18:49 +00:00
Eugene Sandulenko b53b1963a9 spriteInfoSet_case183 -> spriteInfoSet_resetSprite and its implementation.
svn-id: r16869
2005-02-23 02:35:59 +00:00
Travis Howell d674eddefa Add setSpriteGroupInfo stubs
svn-id: r16868
2005-02-23 01:08:29 +00:00
Eugene Sandulenko ee8f4ca1cf Rename classFlags functions and fix one of them.
svn-id: r16867
2005-02-22 22:52:35 +00:00
Gregory Montoir 26b11cb444 o90_setSpriteInfo so 91
svn-id: r16866
2005-02-22 22:23:10 +00:00
Gregory Montoir 44c6bbe438 some WIP stuff for HE sprites
svn-id: r16865
2005-02-22 21:38:44 +00:00
Andrew Kurushin be2049a338 3 stage iso drawing implemented:
1)iso scene
  2)figure
  3)tiles above figure

svn-id: r16864
2005-02-22 20:18:55 +00:00
Max Horn e7b8a1eada Added consts (this usually helps the compiler a bit when optimizing code)
svn-id: r16863
2005-02-22 18:24:24 +00:00
Max Horn 039b2b3a20 Verify domain names as they are passed into the config manager (better to crash here, early, than to corrupt a user's config file)
svn-id: r16862
2005-02-22 18:11:36 +00:00
Max Horn 457ee7f582 Fix compilation on BE systems
svn-id: r16861
2005-02-22 18:09:38 +00:00
Travis Howell 99f54b437d Minor cleanup
svn-id: r16860
2005-02-22 13:54:38 +00:00
Torbjörn Andersson 9bb1414818 Moved some debugging stuff into the debugger class.
svn-id: r16859
2005-02-22 07:37:50 +00:00
Travis Howell a45a0de658 All languages
svn-id: r16858
2005-02-22 07:31:54 +00:00
Travis Howell 1dfc4c9881 Ooops
svn-id: r16857
2005-02-22 01:51:47 +00:00
Travis Howell f2dda718d3 More debugs, to catch error points.
svn-id: r16856
2005-02-22 01:37:57 +00:00
Eugene Sandulenko 0835583948 Implementation of GFX transactions. May cause some regressions in case I
missed some unusual mode switching. This implementation let us avoid two nasty
hacks in scumm.cpp.

*Now* we could return to OSystem layers.
patch.

svn-id: r16855
2005-02-22 01:29:27 +00:00
Travis Howell 4ff034d27c Add a few sprite stubs
svn-id: r16854
2005-02-22 01:25:53 +00:00
Eugene Sandulenko 03804ce33f Rename script flags as suggested.
svn-id: r16853
2005-02-22 01:23:15 +00:00
Eugene Sandulenko 6dd4854ba4 cyx's WIP for sprites. Implemented spritesBlitToScreen
svn-id: r16852
2005-02-22 01:16:41 +00:00
Eugene Sandulenko 6409a3c4e4 Fix _heversion for Russian updated pajama2. Today I played it with kids
and found that it is actually 99, not 98.

svn-id: r16851
2005-02-21 14:27:09 +00:00
Travis Howell 99bf57e7b8 Typos
svn-id: r16850
2005-02-21 12:43:18 +00:00
Robert Göffringmann c7dad332fa basically the same change as for bs1; don't keep the mutex locked while loading mp3, ogg or wave data. it blocks the playing thread for too long.
Also added index caching for the speech and music clusters to reduce seeks.

svn-id: r16849
2005-02-21 08:35:18 +00:00
Torbjörn Andersson 8edce85e04 Some cleanup and renaming. (It was confusing to see "load" sometimes and
"restore" other times.) The save/restore dialog now has two separate
classes, though they both inherit from the old combined class of course.

svn-id: r16848
2005-02-21 08:16:50 +00:00
Torbjörn Andersson 224e0b7aa4 Fixed warning.
svn-id: r16847
2005-02-21 08:15:15 +00:00
Travis Howell df5c97246b Update HE100
svn-id: r16846
2005-02-21 06:31:03 +00:00
Travis Howell 01a7042be6 Update HE100
svn-id: r16845
2005-02-21 04:53:34 +00:00
Travis Howell 6b41feac65 Rename vars
svn-id: r16844
2005-02-21 02:37:05 +00:00
Robert Göffringmann fd5a9be26e removed lots of unnecessary seek()s and read()s by keeping the datafiles' index tables in memory instead of accessing them over and over again, which caused major slowdowns with cd accesses.
Also, the caching of datafiles depends on the memory usage now, not on the number of screens that the player entered in the meantime.
The old behaviour made the engine run out of memory on the PS2.

svn-id: r16843
2005-02-21 02:29:18 +00:00
Eugene Sandulenko 6942100a94 WIP for o90_spriteInfoSet
svn-id: r16842
2005-02-21 02:02:32 +00:00
Travis Howell b1e67c4ce8 Add functions for o90_getSpriteGroupInfo
svn-id: r16841
2005-02-21 01:08:48 +00:00
Eugene Sandulenko 97688df92d WIP for o90_spriteInfoSet. Regression fix.
svn-id: r16840
2005-02-21 00:59:50 +00:00
Travis Howell 7a6b7c2a1c Ooops
svn-id: r16839
2005-02-21 00:38:13 +00:00
Travis Howell 291fe61a1e Ooops
svn-id: r16838
2005-02-21 00:36:25 +00:00
Travis Howell 7783d6596e A few var renames.
svn-id: r16837
2005-02-21 00:34:00 +00:00
Travis Howell 4f2cd36bd9 More getSpriteInfo functions
svn-id: r16836
2005-02-21 00:25:30 +00:00
Eugene Sandulenko 70982f556e o WIP for o90_spriteInfoSet.
o kSFx -> kSF0x
o kSGFx -> kSGF0x

svn-id: r16835
2005-02-21 00:02:44 +00:00
Travis Howell e62d949fb6 Add sprite function
svn-id: r16834
2005-02-20 23:55:11 +00:00
Travis Howell 8ae3fe1ffe Add more sprite functions
svn-id: r16833
2005-02-20 23:30:37 +00:00
Gregory Montoir f1f7e6ce7a some WIP HE sprites stuff
svn-id: r16832
2005-02-20 22:16:31 +00:00
Robert Göffringmann 78533d416f Changed mutex usage.
It now unlocks the mutex while it's loading mp3/ogg/wave data in order to have the sound thread play normally.
The ps2's cd/dvd drive is too slow to transfer the entire file within a few millisecs, so it made the sound skip.

svn-id: r16831
2005-02-20 19:06:09 +00:00
Robert Göffringmann b455a94e0f cache datafile handles instead of opening and closing all files hundreds of times per second. I noticed that behaviour on the PS2. The cd/dvd drive was waaaay too slow for it. ;)
svn-id: r16830
2005-02-20 18:53:30 +00:00
Robert Göffringmann 7c54b0af7d I guess someone forgot to put paranthesis here.
Forgive me if it was really meant to be like it was... but I can't believe it. :)

svn-id: r16829
2005-02-20 18:40:32 +00:00
Robert Göffringmann c81fa31a5c fix missing speech animations. I introduced that bug when I moved the compacts out of the scummvm executable.
svn-id: r16828
2005-02-20 18:33:36 +00:00
Torbjörn Andersson 807b33ec29 More BS2 restructuring.
The various game settings are no longer stored in the Gui class. They are
stored in the class that use them.

Code that doesn't belong in the Gui class, e.g. the "restart" code, has
been moved out of it.

Afterwards, the Gui class had been reduced to nothing more than a handful
of trivial methods for invoking the in-game dialogs. So the entire Gui
class has been removed.

svn-id: r16827
2005-02-20 15:38:48 +00:00
Torbjörn Andersson b1039bb59e Fixed warning, hopefully without breaking anything. (GCC doesn't like
casting from "const char *" to "char *".)

svn-id: r16826
2005-02-20 15:33:14 +00:00
Eugene Sandulenko 79a0434971 Sprite flags and one rename in SpriteInfo structure.
svn-id: r16825
2005-02-20 15:05:18 +00:00
Travis Howell 6abdb96981 Use sprite functions
svn-id: r16824
2005-02-20 13:26:30 +00:00
Travis Howell e4b51cbdf2 Add a few sprite functions.
svn-id: r16823
2005-02-20 13:07:57 +00:00
Travis Howell 6d4eec5ecd Rename opcodes, names should be correct.
svn-id: r16822
2005-02-20 11:14:50 +00:00