Torbjörn Andersson
a57e773a0e
Removed unnecessary tests. (It's ok to free a NULL pointer.)
...
svn-id: r38344
2009-02-16 06:11:37 +00:00
Torbjörn Andersson
de0c772a01
Blank the palette correctly. (Fixes Valgrind warning.)
...
svn-id: r38343
2009-02-16 06:02:21 +00:00
Travis Howell
7fc7234312
Fix startup of the Amiga versions of Manhunter NY/SF, which seem to require the older platform value of 20.
...
svn-id: r38341
2009-02-16 04:45:29 +00:00
Max Horn
6af056c89d
Reimplemented reg_t_hashmap using Common::HashMap
...
svn-id: r38340
2009-02-16 01:58:30 +00:00
Travis Howell
0a621d89ae
Fix win32 compile of SCI engine.
...
svn-id: r38337
2009-02-16 00:43:18 +00:00
Max Horn
74132ed71a
SCI: cleanup
...
svn-id: r38336
2009-02-16 00:35:22 +00:00
Max Horn
ddaa25cf29
SCI: cleanup
...
svn-id: r38335
2009-02-16 00:34:40 +00:00
Max Horn
ffa7f53377
SCI: Removed some unused files
...
svn-id: r38334
2009-02-16 00:17:27 +00:00
Max Horn
7ecb41027c
SCI: Moved old_objects.* to tools, as it is only used by tools/scriptdump.cpp, as far as I can tell
...
svn-id: r38333
2009-02-16 00:16:58 +00:00
Max Horn
87bfde321f
Fixed more warnings
...
svn-id: r38332
2009-02-15 23:59:29 +00:00
Max Horn
033ade4f5c
Fixed more warnings (and at least one case of uninited data)
...
svn-id: r38331
2009-02-15 23:49:42 +00:00
Max Horn
296686e812
SCI: Header cleanup (avoid #include <> where possible)
...
svn-id: r38330
2009-02-15 23:39:31 +00:00
Max Horn
c556589d74
Make failure reports in adv game detector a bit more verbose (show data path, useful if you mass add and then don't know which games are unknown)
...
svn-id: r38329
2009-02-15 23:24:00 +00:00
Travis Howell
08b62c7827
AtariST Elvira 1 demo specific code in restoreBackGround() is no longer required.
...
svn-id: r38328
2009-02-15 23:06:21 +00:00
Max Horn
f3ab80b4e8
SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: rest
...
svn-id: r38325
2009-02-15 22:43:13 +00:00
Matthew Hoops
43093c2d80
Mark kq1sci as "SCI Remake" instead of "VGA Remake". It's not in VGA ;)
...
svn-id: r38324
2009-02-15 22:42:09 +00:00
Max Horn
29611bc7ea
SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: sfx dir
...
svn-id: r38322
2009-02-15 22:34:41 +00:00
Max Horn
921e6ff5cf
SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: gfx dir
...
svn-id: r38321
2009-02-15 22:33:36 +00:00
Willem Jan Palenstijn
d2e8256439
defer BS1 palette update from newScreen to updateScreen, based on patch by eriktorbjorn for bug #2599963 . Maybe suitable for branch-0-13-0 after more testing.
...
svn-id: r38320
2009-02-15 22:33:18 +00:00
Max Horn
78e0d055ea
SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: include dir
...
svn-id: r38319
2009-02-15 22:32:57 +00:00
Max Horn
5ecfecd3bc
SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: scicore dir
...
svn-id: r38318
2009-02-15 22:28:50 +00:00
Max Horn
57434d955f
SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: engine dir
...
svn-id: r38317
2009-02-15 22:28:12 +00:00
Joost Peters
7adf721492
Proper endianness handling in MatchingLevels().
...
Fixes #2603000 "DW2: Long pause entering Shades (big endian)"
svn-id: r38316
2009-02-15 22:25:34 +00:00
Max Horn
4eff1002f9
SCI: Got rid of a nasty hack where class, delete, new were re#defined because FreeSCI used these C++ keywords for variable names
...
svn-id: r38312
2009-02-15 22:01:09 +00:00
Oystein Eftevaag
7a72318a12
Compile fix for OS X
...
svn-id: r38309
2009-02-15 21:57:51 +00:00
Filippos Karapetis
6ffc8e4aea
Silenced another warning (disabled an empty switch statement)
...
svn-id: r38308
2009-02-15 21:39:59 +00:00
Willem Jan Palenstijn
3e3f4e450f
close sound when exiting
...
svn-id: r38307
2009-02-15 21:39:17 +00:00
Max Horn
e90eed4ff3
SCI: Changed _WIN32 -> WIN32; _DREAMCAST -> __DC__; removed _DOS stuff
...
svn-id: r38305
2009-02-15 21:27:42 +00:00
Johannes Schickel
5417f6bacb
- Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.
...
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated).
- Update all client code which relied on OSystem::clearScreen so far.
svn-id: r38304
2009-02-15 21:20:21 +00:00
Max Horn
e29d90be3e
SCI: Fixed more warnings
...
svn-id: r38303
2009-02-15 21:12:21 +00:00
Max Horn
0641af5d1c
Better (?) fix for scicore/tools.cpp -- don't add Win32 specific code in a section of code which is supposed to only be used on Windows anyway... :)
...
svn-id: r38302
2009-02-15 21:11:25 +00:00
Max Horn
8e056b3092
Removed unused code
...
svn-id: r38301
2009-02-15 21:04:32 +00:00
Willem Jan Palenstijn
5c63409d3e
temporarily re-include fnmatch to fix compilation and case-insensitive matching
...
svn-id: r38300
2009-02-15 20:54:20 +00:00
Willem Jan Palenstijn
b484e82821
retreive->retrieve
...
svn-id: r38296
2009-02-15 20:40:49 +00:00
Johannes Schickel
da3516248c
Fixed compilation (along with it const correctness).
...
svn-id: r38287
2009-02-15 20:19:06 +00:00
Paweł Kołodziejski
78282ea586
remove defines from msvc project files
...
svn-id: r38286
2009-02-15 20:15:24 +00:00
Paweł Kołodziejski
7d0d96ecc1
fixed compilation with msvc
...
svn-id: r38285
2009-02-15 20:02:43 +00:00
Henry Bush
d7dea4ff17
T7G: Fix for #2511456 . Volume is now only reset to 100 on playing a new track, and the background track starts on beginning of input loop (not at end of main track).
...
svn-id: r38284
2009-02-15 19:52:44 +00:00
Henry Bush
c137d75784
T7G: print out the current script pos in decimal too (to match ST's decomp's ;-)
...
svn-id: r38283
2009-02-15 19:45:36 +00:00
Max Horn
a49d29cf6f
cleanup, fixed warnings
...
svn-id: r38282
2009-02-15 19:15:43 +00:00
Max Horn
e28ed6b4c9
SCI: Got rid of HAVE_FNMATCH_H
...
svn-id: r38279
2009-02-15 18:58:10 +00:00
Chris Apers
3ceb1482db
Quick dirty hack to make the engine run again on PalmOS
...
svn-id: r38278
2009-02-15 18:53:27 +00:00
Willem Jan Palenstijn
8392dd3aab
consts
...
svn-id: r38272
2009-02-15 17:26:59 +00:00
Paweł Kołodziejski
9920d40924
fix compilation
...
svn-id: r38271
2009-02-15 17:20:31 +00:00
Filippos Karapetis
b27053c71e
Silenced some more warnings
...
svn-id: r38270
2009-02-15 16:59:48 +00:00
Filippos Karapetis
06186502b2
Silenced more warnings
...
svn-id: r38267
2009-02-15 16:45:39 +00:00
Willem Jan Palenstijn
f046858d5d
fix race condition: sfx_exit could stop and delete the mixer while the mixing callback was being executed
...
svn-id: r38263
2009-02-15 16:09:55 +00:00
Willem Jan Palenstijn
faa156c9d5
fix string unmangling (which I broke earlier)
...
svn-id: r38262
2009-02-15 15:51:56 +00:00
Willem Jan Palenstijn
3a6da187ad
don't allocate state_t gamestate on stack as it will be freed
...
svn-id: r38259
2009-02-15 15:36:53 +00:00
Johannes Schickel
7d29bde4ed
Fixed unused variable warnings.
...
svn-id: r38257
2009-02-15 15:24:43 +00:00