Eugene Sandulenko
13e18e4801
Fix parens. Spotted by Quietust.
...
svn-id: r17403
2005-04-05 23:30:35 +00:00
Eugene Sandulenko
97a84cb18c
Separate game initialization and game running little more. Though probably it needs more work.
...
svn-id: r17402
2005-04-05 18:49:58 +00:00
Max Horn
0ddbcc7845
Changed remaining file headers
...
svn-id: r17401
2005-04-05 18:08:02 +00:00
Max Horn
ebdb705ffd
Remove useless casts
...
svn-id: r17400
2005-04-05 17:50:33 +00:00
Max Horn
1d14278fde
Fixing lots of warnings
...
svn-id: r17399
2005-04-05 17:41:37 +00:00
Joost Peters
72f3868c1f
fix warnings
...
svn-id: r17398
2005-04-05 17:05:12 +00:00
Torbjörn Andersson
da2dea39f5
Removed unused variable.
...
svn-id: r17397
2005-04-05 16:38:58 +00:00
Torbjörn Andersson
6ff4dff306
Fixed some of the warnings.
...
svn-id: r17396
2005-04-05 16:37:35 +00:00
Torbjörn Andersson
ed131fdad1
This change does not make sense to me, but GCC was screaming bloody murder
...
about not being able to find a matching call for `MAX(int16&, int)'.
svn-id: r17395
2005-04-05 16:33:38 +00:00
Torbjörn Andersson
3eddcd5da5
Added .cvsignore
...
svn-id: r17394
2005-04-05 16:30:44 +00:00
Torbjörn Andersson
91e889dc94
Fixed one warning. (Several to go.)
...
svn-id: r17393
2005-04-05 16:29:59 +00:00
Torbjörn Andersson
39ff74b40d
Removed unused variables.
...
svn-id: r17392
2005-04-05 16:28:18 +00:00
Torbjörn Andersson
f8c0d3ebf4
This looks like a mistake to me...
...
svn-id: r17391
2005-04-05 16:25:51 +00:00
Eugene Sandulenko
862e03da66
Updated part of headers.
...
svn-id: r17390
2005-04-05 15:53:16 +00:00
Travis Howell
90b475f53f
Use correct buffer when capturing wizImage.
...
Puzzle in 1grademo and jokes/photo booth in pajama work now.
svn-id: r17389
2005-04-05 15:21:18 +00:00
Eugene Sandulenko
1758c5b211
Initial checking of Gob engine
...
svn-id: r17388
2005-04-05 15:07:40 +00:00
Travis Howell
b399a052f1
Fixed long ago...
...
svn-id: r17387
2005-04-05 14:45:02 +00:00
Travis Howell
eeb70bdfd2
Writing into wizImage no longer crashes.
...
svn-id: r17386
2005-04-05 14:42:36 +00:00
Travis Howell
0c49146b41
Cleanup
...
svn-id: r17385
2005-04-05 12:52:43 +00:00
Travis Howell
101917d03f
Update HE issues
...
svn-id: r17384
2005-04-05 12:06:20 +00:00
Travis Howell
aeec229615
getScriptSlot() must start from slot 1, required for nukeArrays() in HE games.
...
svn-id: r17383
2005-04-05 11:06:03 +00:00
Torbjörn Andersson
23e4199699
Clear the text surface when loading a saved game, otherwise any text that
...
was displayed before loading the game will remain.
I hope this is the correct fix.
svn-id: r17382
2005-04-05 07:53:46 +00:00
Robert Göffringmann
5de9e36ff8
fix smush intialization
...
svn-id: r17381
2005-04-05 06:27:34 +00:00
Max Horn
581ab2ed63
Got rid of isSoundHandleActive usage; made the SmushMixer thread safe
...
svn-id: r17380
2005-04-04 18:42:35 +00:00
Max Horn
adf9bcf5d1
Fix for bug #1166231 (GUI: Caret not removed when switching tabs)
...
svn-id: r17379
2005-04-04 17:57:40 +00:00
Max Horn
d2cdbefc5c
Cleanup
...
svn-id: r17378
2005-04-04 17:57:15 +00:00
Max Horn
9e2e00881f
Renamed getActiveChannelSoundID to getSoundID and fixed its semantics to avoid race conditions
...
svn-id: r17377
2005-04-04 17:43:00 +00:00
Travis Howell
e46a677c0e
Nevermind, only o_getObjectImageX/Y needed adjustment.
...
svn-id: r17376
2005-04-04 14:57:28 +00:00
Travis Howell
f077f357d0
Object width/height should be divded by 8 too.
...
svn-id: r17375
2005-04-04 14:51:42 +00:00
Travis Howell
172e558050
Missed a function.
...
svn-id: r17374
2005-04-04 11:58:42 +00:00
Travis Howell
74c124628a
Muddled ifs
...
svn-id: r17373
2005-04-04 11:47:38 +00:00
Travis Howell
f230fe65e8
Add 8 sound channel support for HE games
...
-Allows sound looping to work
Added support for WAVE format musuc used in later HE100 games.
svn-id: r17372
2005-04-04 11:43:25 +00:00
Torbjörn Andersson
d08068dff1
Fixed warnings on little-endian systems.
...
svn-id: r17371
2005-04-04 07:25:21 +00:00
Paweł Kołodziejski
c7ddbf7cad
fixed compilation
...
svn-id: r17370
2005-04-04 06:09:04 +00:00
Travis Howell
cab1ac3016
Add extra charset code used in lost/smaller.
...
svn-id: r17369
2005-04-04 03:29:58 +00:00
Max Horn
0c1f2aa161
Removed GF_SMALL_NAMES
...
svn-id: r17368
2005-04-04 00:16:58 +00:00
Max Horn
5b53b4a463
Cleaning up the charset loading code some more
...
svn-id: r17367
2005-04-04 00:12:41 +00:00
Max Horn
789cad236c
Splitting more methods into multiple overloaded versions
...
svn-id: r17366
2005-04-03 23:53:34 +00:00
Max Horn
398aa1a8b1
loadCharset gets overloaded for small header games, so no need to check for those in here
...
svn-id: r17365
2005-04-03 23:10:17 +00:00
Max Horn
5f880737c5
Use proper constant rtCharset instead of hardcoding '6'
...
svn-id: r17364
2005-04-03 23:00:15 +00:00
Max Horn
3feadcac28
Turned readRoomsOffsets into a virtual method
...
svn-id: r17363
2005-04-03 22:56:02 +00:00
Max Horn
1419f0d5ef
Split readResTypeList into a normal and a GF_OLD_BUNDLE version; added comments to many of the GF_ feature flags; removed GF_DRAWOBJ_OTHER_ORDER (it was only use by Sam&Max, I switched that to a direct check for Sam&Max)
...
svn-id: r17362
2005-04-03 22:10:10 +00:00
Jerome Fisher
eda317924e
Committed patch #1168149 (Shared GM/MT-32 mapping) by eriktorbjorn as-is. This does the following:
...
- Replaces multiple identical MT-32-to-General MIDI mapping tables with a common one in MidiDriver.
- Changes Sky's GmChannel class to allow NULL instrument and velocity mapping tables, giving a 1-to-1 mapping without creating a dummy table.
svn-id: r17361
2005-04-03 22:01:38 +00:00
Marcus Comstedt
e62d6773ef
Added mouse wheel support.
...
svn-id: r17360
2005-04-03 21:41:39 +00:00
Max Horn
359c39722b
Added some comments on how the graphics in OSystem are meant to work, based partially on a nice mail by Marcus, and adding in some information of my own. Certainly could be improved in style, language, content and everything, but once again it should be better than nothing...
...
svn-id: r17359
2005-04-03 21:38:39 +00:00
Max Horn
eb6301e562
Added some overlay method comments. They could be better and explain more, but it's at least a start
...
svn-id: r17358
2005-04-03 21:07:49 +00:00
Marcus Comstedt
c31f685e44
Added ARGB4444 case to table generation.
...
Maybe this should really be a single case using RGBToColor instead...
svn-id: r17357
2005-04-03 20:48:23 +00:00
Marcus Comstedt
4187ed3e11
Oops, cleared too large memory region...
...
svn-id: r17356
2005-04-03 20:45:26 +00:00
Marcus Comstedt
167badf727
Switch overlay mode to ARGB4444.
...
svn-id: r17355
2005-04-03 19:42:02 +00:00
Marcus Comstedt
d2214dca99
Use alpha channel if available.
...
svn-id: r17354
2005-04-03 19:41:20 +00:00