12802 Commits

Author SHA1 Message Date
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
Travis Howell
04fdd5bc52 Add WIP sprite struct for HE games, ready for functions.
svn-id: r16821
2005-02-20 10:56:59 +00:00
Eugene Sandulenko
f420dd3b78 Implement OSystem method disableCursorPalette(bool disable) as mentioned
in patch #1013937 (OSystem layer with bigger resolution).

svn-id: r16820
2005-02-20 02:04:45 +00:00
Eugene Sandulenko
47400c1932 Restrict CGA/EGA/Hercules dithering to PC only.
svn-id: r16819
2005-02-20 01:50:18 +00:00
Eugene Sandulenko
b4780deac6 (more) correct v2 ditherers. Still suffers from some differences and
text colors are not always match.

svn-id: r16818
2005-02-20 01:37:47 +00:00
Max Horn
45f59cc610 Spelling
svn-id: r16817
2005-02-20 01:12:20 +00:00
Eugene Sandulenko
27469a1896 Patch #1121337 (CGA rendering in early LEC titles).
Differences against patch:
  o Updated documentation
  o Fixed text colors
  o Implemented Hercules dithering

Ditherers are based on loom ega and monkey ega, so for zak and mm they're
wrong, i.e. these games look better than with original ditherers.

TODO:
  Proper ditherers for zak & MM
  EGA ditherers for VGA SCUMM v5 games

svn-id: r16816
2005-02-20 00:17:22 +00:00
Paweł Kołodziejski
3184c2de34 compatibility for emsvc
svn-id: r16815
2005-02-19 16:04:03 +00:00
Paweł Kołodziejski
e2753574ac compatibility fixes for wince
svn-id: r16814
2005-02-19 16:00:22 +00:00
Paweł Kołodziejski
373b33b22a compatible version for wince
svn-id: r16813
2005-02-19 15:35:05 +00:00
Torbjörn Andersson
43cfe01f3d This is the second part of the BS2 restructuring. There are two new
classes: Screen and Mouse. Screen handles most of the drawing, except the
mouse cursor and in-game menus.

The old Graphics class is no more.

I've also fixed some "reverse stereo" regressions from the first part of
the restructuring.

I'm not sure what the next step will be, but hopefully it will be smaller
than this one was.

svn-id: r16812
2005-02-19 14:02:16 +00:00
Paweł Kołodziejski
0de5fa2f33 mp3 support is allready done, flac will never be
svn-id: r16811
2005-02-19 12:05:50 +00:00
Travis Howell
d3b74919e2 Update
svn-id: r16810
2005-02-19 01:02:31 +00:00