Commit Graph

6255 Commits

Author SHA1 Message Date
Filippos Karapetis
d39d83e525 Replaced sci_free() with free() - it's OK to free a NULL pointer, so the checking that sci_free() performed is not necessary
svn-id: r38406
2009-02-17 13:51:52 +00:00
Filippos Karapetis
d6b5855800 Removed more directories which are not part of the SCI engine - again, the code and documentation can be referenced from /vendor/freesci/glutton/src/sfx
svn-id: r38404
2009-02-17 10:33:16 +00:00
Filippos Karapetis
7f8f0e96f7 Removed directory which is not part of the SCI engine - the code can be referenced from /vendor/freesci/glutton/src/sfx/mt32_GM_mapping
svn-id: r38403
2009-02-17 10:25:26 +00:00
Filippos Karapetis
963af0ab02 Removed dead/unused code
svn-id: r38400
2009-02-17 09:53:27 +00:00
Willem Jan Palenstijn
0443c5fe9e current versions of BEOS no longer support snooze according to Begasus on IRC
svn-id: r38397
2009-02-17 09:15:29 +00:00
Filippos Karapetis
ffc07febeb Removed unused SFX code
svn-id: r38396
2009-02-17 09:15:17 +00:00
Filippos Karapetis
0e33a56478 Removed unused code
svn-id: r38394
2009-02-17 08:55:48 +00:00
Lars Persson
4f436e311d Remove functions not used, and thus the dependency on isblank.
svn-id: r38393
2009-02-17 07:41:40 +00:00
Filippos Karapetis
a3adca29f2 Removed a lot of unused and compiler-specific debug code. Note that for MSVC, the corresponding checks are enabled by default in the debug build, so there's no need to set them again programmatically. Also, removed the "codebugging" related code
svn-id: r38387
2009-02-16 23:28:24 +00:00
Filippos Karapetis
6ec40aa9f6 Removed unused code and defines
svn-id: r38385
2009-02-16 22:45:23 +00:00
Lars Persson
2a38e8fcde isblank is not available on all platforms. Needs to be handled in a different way.
svn-id: r38376
2009-02-16 18:40:36 +00:00
Lars Persson
6dbd7e21eb Use MIN with correct template <int>
svn-id: r38375
2009-02-16 18:37:28 +00:00
Jordi Vilalta Prat
c8a3a05a5d SCI: Changed pcm_device and timer "driver" functionality to use directly the ScummVM modules
svn-id: r38373
2009-02-16 16:23:48 +00:00
Matthew Hoops
39ea68173a Add detection for the Shivers demo and split the Torin's Passage entry into multiple as their main data files are the same.
svn-id: r38370
2009-02-16 15:35:35 +00:00
Travis Howell
74b654e9b5 Add German versions of several games.
svn-id: r38369
2009-02-16 14:15:14 +00:00
Filippos Karapetis
4fdd92c610 Fixed compilation
svn-id: r38364
2009-02-16 10:52:45 +00:00
Max Horn
a272626210 Replace strncasecmp by scumm_strnicmp
svn-id: r38362
2009-02-16 09:53:34 +00:00
Travis Howell
954aa46b8a SCUMMVM define no longer required.
svn-id: r38361
2009-02-16 09:44:00 +00:00
Max Horn
ee92dbbe41 SCI: Committed stuff I forgot in my last commit; changed int_hash_map_t to a C++ class
svn-id: r38360
2009-02-16 09:40:25 +00:00
Travis Howell
42cb3a55d9 Replace strcasecmp with scumm_stricmp.
svn-id: r38359
2009-02-16 09:29:07 +00:00
Max Horn
0e3692dbc7 SCI: Moved seg_manager.*, int_hashmap.* to sci/engine (they are only used there); merged hashmap and int_hashmap
svn-id: r38358
2009-02-16 09:23:58 +00:00
Willem Jan Palenstijn
56894d00ef replace one more instance of strcasecmp by scumm_stricmp
svn-id: r38357
2009-02-16 09:21:36 +00:00
Travis Howell
2d0a897d16 Replace strcasecmp with scumm_stricmp.
svn-id: r38356
2009-02-16 09:17:49 +00:00
Paweł Kołodziejski
2a7d22702c initialize palette buffers (compiler warning)
svn-id: r38351
2009-02-16 07:17:36 +00:00
Paweł Kołodziejski
36d7495577 fixed compilation
svn-id: r38350
2009-02-16 07:06:12 +00:00
Jordi Vilalta Prat
75a4540791 Revert r38254 as pointed by waltervn (SCI1 games work again)
svn-id: r38349
2009-02-16 07:02:11 +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
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
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
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
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
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
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
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
Willem Jan Palenstijn
60a913e9dd typo
svn-id: r38256
2009-02-15 15:21:54 +00:00
Filippos Karapetis
8228f3bcb2 Yet more warning fixes
svn-id: r38254
2009-02-15 15:15:26 +00:00
Johannes Schickel
bc7e76ec5d Yet more warning fixes.
svn-id: r38253
2009-02-15 15:10:47 +00:00
Willem Jan Palenstijn
8e7a05989b initialize variables
svn-id: r38252
2009-02-15 15:09:45 +00:00
Johannes Schickel
6c9e4d2004 Fixed more warnings.
svn-id: r38251
2009-02-15 15:06:14 +00:00
Willem Jan Palenstijn
a988ed0d0f moving towards const-correctness of files generating savegame.cpp.
svn-id: r38250
2009-02-15 15:00:31 +00:00
Johannes Schickel
e1b36cf2cd Fixed some warnings.
svn-id: r38249
2009-02-15 14:59:03 +00:00
Max Horn
3ea3141e90 Some more warning fixes
svn-id: r38248
2009-02-15 14:52:52 +00:00
Filippos Karapetis
aa3f10b2fd Fixed compilation under MSVC, and silenced some more warnings
svn-id: r38247
2009-02-15 14:52:51 +00:00
Max Horn
9daed50e01 Fixed lots of warnings and errors (on my system) by backporting a patch I had sent the FreeSCI folks some time ago (but apparently it never made it, or only made it to a branch not imported?)
svn-id: r38245
2009-02-15 14:46:42 +00:00
Filippos Karapetis
24dc986944 Silenced a ton of warnings, and disabled several unreferenced functions (dead code) - hopefully, compilation hasn't been broken...
svn-id: r38243
2009-02-15 14:26:33 +00:00
Travis Howell
47a1cd7545 Add Amiga English version of Space Quest 4.
svn-id: r38235
2009-02-15 13:17:25 +00:00
Paweł Kołodziejski
0724206156 fixed compilation and linking with msvc9
svn-id: r38232
2009-02-15 12:29:09 +00:00
Eugene Sandulenko
8b34730107 Make MSVC happy and rename timer/scummvm.cpp to timer/timer_scummvm.cpp
svn-id: r38231
2009-02-15 12:23:54 +00:00
Filippos Karapetis
25ddb00436 Silenced more warnings
svn-id: r38230
2009-02-15 12:23:16 +00:00
Eugene Sandulenko
38087c4f24 Fix compilation. How ugly without templates. Yuck!
svn-id: r38228
2009-02-15 11:44:14 +00:00
Eugene Sandulenko
e241843bec - Remove some unneeded files
- Mass rename .c to .cpp

svn-id: r38227
2009-02-15 11:39:07 +00:00
Eugene Sandulenko
e9f7428063 - Move sci/scummvm/ contents to sci/
- Rename scumm_engine.cpp to sci.cpp
- Remove unneeded gfx drivers
- Rename scummvm_driver.c to gfx_driver.cpp

svn-id: r38225
2009-02-15 11:03:21 +00:00
Eugene Sandulenko
7ec7c4399e Run SCI games :P
svn-id: r38224
2009-02-15 10:38:39 +00:00
Paweł Kołodziejski
61359f95bf remove DLLEXTERN
svn-id: r38223
2009-02-15 10:33:31 +00:00
Filippos Karapetis
1dcc6b79c9 Silenced some more warnings
svn-id: r38221
2009-02-15 10:29:34 +00:00
Travis Howell
eaf403d22d fmmatch() doesn't exist in any win32 builds.
svn-id: r38219
2009-02-15 10:25:58 +00:00
Filippos Karapetis
89cad681d7 Silenced some MSVC warnings
svn-id: r38218
2009-02-15 10:24:32 +00:00
Travis Howell
5e2def9ca5 Fix mingw compilation.
svn-id: r38217
2009-02-15 10:21:22 +00:00
Eugene Sandulenko
5958868503 Fix crash at startup
svn-id: r38216
2009-02-15 10:17:20 +00:00
Paweł Kołodziejski
986a8b0e77 fixed compilation
svn-id: r38215
2009-02-15 10:10:48 +00:00
Eugene Sandulenko
c399437479 - Remove unneeded files
- Make whole thing finally compilable

svn-id: r38214
2009-02-15 10:10:23 +00:00
Paweł Kołodziejski
3fb25cf100 revert, not needed
svn-id: r38213
2009-02-15 10:10:04 +00:00
Paweł Kołodziejski
25aaf97300 include win32 build too
svn-id: r38210
2009-02-15 10:04:29 +00:00
Paweł Kołodziejski
311344b445 fixed msvc9 compilation
svn-id: r38208
2009-02-15 09:56:04 +00:00
Eugene Sandulenko
06b5b22a8c Fix link problems
svn-id: r38207
2009-02-15 09:44:23 +00:00
Eugene Sandulenko
958c72cfe5 Portability fixes
svn-id: r38206
2009-02-15 09:35:14 +00:00
Paweł Kołodziejski
11b4bc25dc revert last define, will be defined in diffrent place
svn-id: r38205
2009-02-15 09:34:39 +00:00
Paweł Kołodziejski
c3af1a22d6 define missing strcasecmp for win32
svn-id: r38204
2009-02-15 09:23:46 +00:00
Paweł Kołodziejski
2cd61fad4c fixed include paths
svn-id: r38202
2009-02-15 09:13:17 +00:00
Jordi Vilalta Prat
003317e89d SCI: Get rid of the include directory hack (it compiles but it doesn't link yet)
svn-id: r38201
2009-02-15 08:34:13 +00:00
Max Horn
5262a87a44 Minor cleanup
svn-id: r38199
2009-02-15 08:22:24 +00:00
Max Horn
206eb0573e SCI: Updated some stuff to recent ScummVM changes (fixes compilation of files in engines/sci/scummvm/)
svn-id: r38198
2009-02-15 08:20:53 +00:00
Max Horn
75f4c44fd0 Removing various unused files (backups remain in vendor/sci/, of course)
svn-id: r38197
2009-02-15 08:11:58 +00:00
Max Horn
002d55bc93 SCI: Fix the worst compilation problems
svn-id: r38194
2009-02-15 08:09:42 +00:00
Jordi Vilalta Prat
fa6e10e9ce Import the SCI engine sources from the FreeSCI Glutton branch (it doesn't compile yet)
svn-id: r38192
2009-02-15 06:10:59 +00:00