Commit Graph

640 Commits

Author SHA1 Message Date
Filippos Karapetis
ebfdd92727 Removed the "About FreeSCI" menu as discussed in -devel, now that the FreeSCI contributors have been moved to the AUTHORS file
svn-id: r39476
2009-03-17 07:57:02 +00:00
Filippos Karapetis
9ec640633d It seems that the SCI GUI code tries to show rectangles with negative height. Added some sanity checks for this, but the *real* problem lies elsewhere
svn-id: r39451
2009-03-16 19:19:59 +00:00
Filippos Karapetis
7cd1ac5231 Changed the temporary helper functions to defines
svn-id: r39450
2009-03-16 17:25:13 +00:00
Filippos Karapetis
0e8dfe09c9 Replaced some rect_t operations with our common ones. For now, two helper functions are used to easily change types between Common::Rect and rect_t, until rect_t is removed
svn-id: r39449
2009-03-16 15:36:09 +00:00
Max Horn
c5e8c48c5e SCI: Removed sbtree code by Common::Hashmap
svn-id: r39439
2009-03-16 05:44:20 +00:00
Filippos Karapetis
4bd84b7311 Replaced "xl" with "width" and "y1" with "height" in places where rectangles are used
svn-id: r39435
2009-03-16 00:07:12 +00:00
Max Horn
466ba4bbfe SCI: Rewrote the save/load code, see also patch #2687400.
The new format is incompatible with the old one, and is still subject to
some further changes. Also, regressions are quite possible, so watch out.
Finally, the new code still contains some TODOs and FIXMEs. Several of
these will be more or less automatically resolved once other code gets
C++ified.

svn-id: r39430
2009-03-15 20:31:29 +00:00
Max Horn
7df4e2a80f SCI: Indention changes, changed 'songlib_t' params to 'const songlib_t &'
svn-id: r39429
2009-03-15 20:31:15 +00:00
Max Horn
5433adc69b SCI: Fixed warning
svn-id: r39400
2009-03-14 17:11:31 +00:00
Eugene Sandulenko
ad58bca65a Add more detection entries from bugreport #2670691
svn-id: r39386
2009-03-14 08:44:14 +00:00
Greg Frieger
782c394dd7 - LZS Decompressor added
- Some code clean-up

svn-id: r39385
2009-03-14 08:43:28 +00:00
Greg Frieger
d00a9e9a7d Fixed SCI32 Map detection
svn-id: r39384
2009-03-14 08:41:11 +00:00
Greg Frieger
b5cc1eec7e Some rewrites and clean-ups in decompressing functions. View and Pic post-processing functions reverted back to FreeSCI ones.
svn-id: r39383
2009-03-14 04:17:03 +00:00
Max Horn
f64d223e07 cleaning up after myself again *sigh*
svn-id: r39382
2009-03-14 01:52:14 +00:00
Max Horn
f91eaf9f1a SCI: Fixed warning
svn-id: r39381
2009-03-14 01:45:11 +00:00
Max Horn
150b38ffb7 SCI: Removed more dead code
svn-id: r39379
2009-03-14 01:44:53 +00:00
Filippos Karapetis
31c66b5931 Removed two empty switch statements to silence an MSVC warning
svn-id: r39376
2009-03-14 00:12:23 +00:00
Filippos Karapetis
b78001f7ca Changed the "internal" variable inside gfxr_pic_t to priorityTable (cause that's what it is), and changed its type to int * to avoid unneeded casts
svn-id: r39375
2009-03-14 00:05:01 +00:00
Filippos Karapetis
f5129b7cb7 Removed the unused struct "internal" inside gfx_pixmap_t
svn-id: r39374
2009-03-14 00:02:01 +00:00
Max Horn
364ce5874d SCI: cleanup
svn-id: r39371
2009-03-13 16:31:38 +00:00
Filippos Karapetis
7854a01f14 Changed the parameter passed to isprint() to be unsigned, according to MSDN (thanks wjp)
svn-id: r39370
2009-03-13 10:36:57 +00:00
Filippos Karapetis
0916523763 Added an explanatory comment for commit #39368
svn-id: r39369
2009-03-13 07:56:06 +00:00
Filippos Karapetis
f4eb159eb8 LSL5 no longer throws an assertion after the intro
svn-id: r39368
2009-03-13 01:36:07 +00:00
Filippos Karapetis
6751eace05 Applied gregfrieger's fix on decodeRLE()
svn-id: r39367
2009-03-13 01:26:51 +00:00
Filippos Karapetis
90df1b4be1 Commited syke's patch as-is
svn-id: r39366
2009-03-12 23:23:46 +00:00
Filippos Karapetis
99d1a5d67c Added the correct SCI version for German LSL7 from bug report #2662260. Also, added "sier" to the list of executable names (matches sier.exe, sierw.exe and sierw5.exe)
svn-id: r39362
2009-03-12 18:15:51 +00:00
Filippos Karapetis
70673ad2d9 Added detector entries from bug reports #2644547 and #2670691
svn-id: r39361
2009-03-12 18:05:13 +00:00
Travis Howell
98af715fcd Add patch #2685000 - SCI : 8 checksums.
svn-id: r39357
2009-03-12 13:16:50 +00:00
Filippos Karapetis
36a801ad14 EngineState is a struct, not a class
svn-id: r39355
2009-03-12 08:14:55 +00:00
Max Horn
6a2efdd36d SCI: cleanup
svn-id: r39353
2009-03-12 03:26:58 +00:00
Max Horn
642bad22d8 SCI: Removed most uses of the 'inline' keyword. It is usually better to let the compiler figure out what to inline. As it is, most of these looked as if they were randomly placed ;)
svn-id: r39352
2009-03-12 03:26:47 +00:00
Max Horn
40b313c28e SCI: Moved savegame specific stuff from state.h to a new header savegame.h
svn-id: r39351
2009-03-12 03:26:21 +00:00
Max Horn
ca4bdb8572 SCI: Removed some dead code
svn-id: r39349
2009-03-12 02:40:04 +00:00
Filippos Karapetis
26135a175c Changed a case inside inline_lookup_node() to non-fatal, for now, to make it possible to walk around in SQ4 (check the FIXME comment)
svn-id: r39348
2009-03-11 23:47:00 +00:00
Filippos Karapetis
966972def6 Fixed another crash right at the beginning of SQ4
svn-id: r39347
2009-03-11 23:44:22 +00:00
Greg Frieger
35d0744f31 ResourceManager:
- RESOURCE.MSG and MESSAGE.MAP added to source List
- Small changes in patch processing code to avoid loading wrong files

svn-id: r39345
2009-03-11 22:52:54 +00:00
Filippos Karapetis
88b44cef24 Fix heap corruption when assigning the save game directory
svn-id: r39343
2009-03-11 22:50:06 +00:00
Greg Frieger
eca41c0d11 ResourceManager:
- Keep a list of opened volumes to avoid redundant file opens
- Internal functions moved from public to protected

svn-id: r39334
2009-03-11 20:15:42 +00:00
Filippos Karapetis
3e7fe64a22 Untangled the parameters in gfxr_interpreter_get_view() as well. Updated comments
svn-id: r39332
2009-03-11 17:09:30 +00:00
Filippos Karapetis
aacb916e5e Got rid of misc_payload and stopped passing the whole graphics state structure in places where it's not necessary
svn-id: r39331
2009-03-11 16:50:12 +00:00
Johannes Schickel
35c4aec93f Formatting.
svn-id: r39330
2009-03-11 16:13:28 +00:00
Greg Frieger
17664dce40 More clean-ups in decompression classes
svn-id: r39329
2009-03-11 04:38:54 +00:00
Max Horn
862c9547c6 SCI: Removed some dead code
svn-id: r39328
2009-03-11 02:32:20 +00:00
Max Horn
b52025ec82 ...
svn-id: r39327
2009-03-11 02:16:21 +00:00
Max Horn
e3b5e5a74c SCI: Restored code to triger debugger console by Ctrl-d (accidentally removed it in rev 39201)
svn-id: r39326
2009-03-11 02:05:49 +00:00
Max Horn
47cf6a0151 SCI: Formatting changes (using astyle)
svn-id: r39325
2009-03-11 01:40:08 +00:00
Max Horn
486900a8e5 SCI: Fix warning
svn-id: r39324
2009-03-11 00:41:31 +00:00
Greg Frieger
738160d17a Some clean-up of DecompressorComp3 class
svn-id: r39323
2009-03-11 00:23:18 +00:00
Johannes Schickel
e7d806188f Yet another few tiny formatting fixes.
svn-id: r39320
2009-03-10 22:30:38 +00:00
Johannes Schickel
91ce0ce123 Formatting.
svn-id: r39319
2009-03-10 22:18:16 +00:00