Commit Graph

120 Commits

Author SHA1 Message Date
Eugene Sandulenko
cd8a5f3a98 First phase of detection-related plugins interface improvements. Now plugins
return StringMap instead of fixed list of parameters. This adds great
flexibility.

Current patch should not alter any functionality, i.e. if there are regressions,
submit a report. Phase 2 will benefit from these changes and will come later.

svn-id: r25134
2007-01-20 21:27:57 +00:00
Eugene Sandulenko
24c9735588 Rename special debug levels to conform our suggested naming scheme.
svn-id: r25073
2007-01-13 15:35:02 +00:00
Sven Hesse
6e0835da11 - Fixed cut off and missing sounds
- Fixed a crash/static reported in the forums (sending Winkle to the vulture)
- (Hopefully) fixed the immediately-closing notepad heisenbug (#1621089)
- Fixed using unitialised values after allocating the variables

svn-id: r25025
2007-01-06 11:17:20 +00:00
Sven Hesse
b30c615165 Fixed the loading delay bug I introduced with the playing from CD fix (#1626308)
svn-id: r25006
2007-01-05 18:16:05 +00:00
Travis Howell
250760ba80 Make sure warning is shown for CD versions of Gobliins 2, when playing from CD under Windows
svn-id: r24986
2007-01-04 02:26:46 +00:00
Travis Howell
c653a2cba5 Add the Amiga version of Gobiins 2 demo
svn-id: r24985
2007-01-04 02:15:20 +00:00
Eugene Sandulenko
d1f0ca423c Add md5 for interactive gob2 demo.
svn-id: r24921
2006-12-24 19:56:13 +00:00
Sven Hesse
97ad57e9bb Changed CD playing a bit, now playing directly from the CD should be possible again. Playing without an audio track at all works now, too
svn-id: r24903
2006-12-20 15:50:13 +00:00
Sven Hesse
a6cb2df4c2 Stomped the well/diving-bug
svn-id: r24884
2006-12-19 09:12:52 +00:00
Sven Hesse
4446f2c851 Fixed backspace and delete in the note-pad
svn-id: r24883
2006-12-19 07:38:33 +00:00
Sven Hesse
2e6ad11d6d Fixed the note-pad, font changing and date/time-display
svn-id: r24875
2006-12-18 20:38:31 +00:00
Sven Hesse
fc6f8a47f1 Added a waitRetrace in Game_v2::CheckCollisions() and rearranged the delay in o1_keyFunc(), so that the save name dialog is shown and the "Empty Inventory" message is displayed properly as well.
svn-id: r24874
2006-12-18 14:33:37 +00:00
Sven Hesse
17700e2b52 Fixed a walking animations related mistake
svn-id: r24867
2006-12-17 21:21:26 +00:00
Sven Hesse
a2e9bc706c Added a range check in Draw_v2::printText(), fixing invalid reads. It *shouldn't* pose any problem
s

svn-id: r24866
2006-12-17 21:20:51 +00:00
Sven Hesse
eb012d8110 Smashed the wizard's house bug
svn-id: r24850
2006-12-14 19:07:43 +00:00
Sven Hesse
3f627e73e4 The music in the Mac version of Gob1 seems to be selected randomly for each scene
svn-id: r24797
2006-11-30 13:13:35 +00:00
Sven Hesse
c18f01d609 Adding new Gob2 MD5 (closing bug #1605235)
svn-id: r24796
2006-11-30 13:09:01 +00:00
Sven Hesse
1e27dd5694 Removed the "#ifdef SCUMM_BIG_ENDIAN"s
svn-id: r24795
2006-11-27 20:56:41 +00:00
Sven Hesse
9afb08341c - Properly implemented o2_getCDTrackPos()
- Each save has now its own file (.s??). They also should be endian-safe now
  (Can be disabled for testing by uncommenting #define GOB_ORIGSAVES in gob.cpp)
- General endianness-fixes

svn-id: r24794
2006-11-27 14:19:30 +00:00
Eugene Sandulenko
cfb29dcb51 Fix MSVC2005 warnings. Please, review the changes.
svn-id: r24760
2006-11-22 15:50:30 +00:00
Sven Hesse
2768fa24fc - Fixed the crashes in Gob1 EGA and Gob2 Demo
- Fixed the compile error in GobEngine::saveGame on some systems

svn-id: r24756
2006-11-21 13:28:45 +00:00
Sven Hesse
c22920484a Changed the way sprites-freeing is handled, now the menu sprites and window decorations are drawn
svn-id: r24752
2006-11-20 13:03:30 +00:00
Sven Hesse
2454f78589 Implemented (currently still endian-unsafe) save/load
svn-id: r24745
2006-11-19 17:52:52 +00:00
Johannes Schickel
7b0e6f1489 formatting.
svn-id: r24720
2006-11-14 15:39:11 +00:00
Sven Hesse
3f0ebaaa18 Fixed the lock when leaving the menu
svn-id: r24719
2006-11-14 14:58:41 +00:00
Sven Hesse
195a46477f Closing bug #1593768 (Logical and should probably be bitwise and)
svn-id: r24667
2006-11-09 22:05:57 +00:00
Max Horn
4c14cf6d1a Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle the linker dependency graph). Porters will have to update project files
svn-id: r23974
2006-09-23 00:42:35 +00:00
Max Horn
a2dc897fe5 Reduce code duplication
svn-id: r23888
2006-09-16 15:01:14 +00:00
Chris Apers
e78a81fe45 Fixed unaligned read on PalmOS
svn-id: r23846
2006-09-09 14:19:33 +00:00
Sven Hesse
0f6d8ab269 Fixed pathfinding
svn-id: r23718
2006-08-16 20:52:43 +00:00
Eugene Sandulenko
7f3ac3f025 Limit md5 computations to first 5000 bytes in gob engine.
svn-id: r23713
2006-08-15 21:19:09 +00:00
Sven Hesse
8d72b8e415 Ooops again, use the correct delete...
svn-id: r23703
2006-08-12 13:40:16 +00:00
Sven Hesse
a8c64ffb4a Ooops, free the allocated _startTot/_startTot0, too...
svn-id: r23702
2006-08-12 13:38:33 +00:00
Sven Hesse
6ee511e68b Added another field to the GameSettings for the intro.tot, because the Gobliins 2 demo uses usa.tot
instead

svn-id: r23701
2006-08-12 12:35:18 +00:00
Sven Hesse
1c4715b71f - Some more goblins-handling functions
- Fixed some mistakes I made in the Parse_v2 functions. Now the goblins
  (finally) move. Also, the correct music is played in the first screen.
- Found the hook for the menu
- On freeing a sound slot, only stop the playing music if it's in the
  slot to free

svn-id: r23700
2006-08-12 09:16:08 +00:00
Max Horn
4a80db4c7b * Added copyright string to all engine plugins
* Modified about dialog to list all available plugins with their resp. copyright
* Modified about dialog credits to show the GPL last (like movie end credits do with their legal text, too)

svn-id: r23645
2006-07-31 13:41:21 +00:00
Torbjörn Andersson
c32076e5d0 Use #include "..." instead of #include <...> for pack-start.h and pack-end.h
for consistency with other #includes.

svn-id: r23585
2006-07-23 16:13:26 +00:00
Max Horn
4fcdbb9349 String class usage cleanup
svn-id: r23582
2006-07-23 15:08:48 +00:00
Max Horn
2859b64702 Fix struct packing issues (macros are not resolve in #pragma params, at least for GCC)
svn-id: r23569
2006-07-22 17:28:48 +00:00
Johannes Schickel
4ae5cef491 - let md5_file accept a FilesystemNode too
- changes some engine detectors to use it

svn-id: r23559
2006-07-22 14:59:44 +00:00
Johannes Schickel
ca366849eb Using FilesystemNode::name instead of FilesystemNode::displayName in the Gobliiins detector code too.
svn-id: r23555
2006-07-22 14:36:09 +00:00
Max Horn
f59cf1fcdc Removing GCC_PACK, we fully rely on START_PACK_STRUCTS / END_PACK_STRUCTS now (hiya eriktorbjorn, this one is for you *ggg*)
svn-id: r23547
2006-07-21 21:25:17 +00:00
Johannes Schickel
d7dafdd8db Fix building with msvc8.
svn-id: r23517
2006-07-15 21:22:42 +00:00
Sven Hesse
dcbbfa01c0 Instead of drawing the mouse cursor as a sprite, let the backend handle it
svn-id: r23464
2006-07-09 18:54:12 +00:00
Max Horn
f35f4a4d1c Use START_PACK_STRUCTS / END_PACK_STRUCTS when available, instead of checking for GCC / not GCC
svn-id: r23458
2006-07-09 13:01:15 +00:00
Sven Hesse
b7997a7231 - Fixed a few mistakes that added up to look correct, fixing bargon's cursor
- Updated cursor drawing in general

svn-id: r23429
2006-07-08 16:37:23 +00:00
Sven Hesse
27a8b8a255 - Renamed a few mult-variables to something more fitting
- Fixed a small mistake, making the entering animation work
- Correcting Game_v2::playTot() so that the loading screen is shown
- Updated most of the collisions stuff, the objects names hint stuff works now

svn-id: r23346
2006-06-29 12:55:57 +00:00
Max Horn
9a955180a4 * Renamed config.mak to config.mk
* Renamed common.rules to rules.mk
* Removed explicit declaration of MODULE_DIRS in various spots (instead we let rules.mk compute it)

svn-id: r23275
2006-06-24 08:48:11 +00:00
Max Horn
d210b19aec Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cpp
Rationale: backend implementations belong to backends/, but portable APIs meant to be used by high level code is for common / sound / graphics / ... (compare also with backends/midi vs. sound/mididrv.h)

svn-id: r23274
2006-06-24 08:07:48 +00:00
Torbjörn Andersson
ecfedb1e81 Cleanup. It seems unnecessary to have a "break" right after an unconditional
return in a switch case.

svn-id: r23198
2006-06-20 18:55:25 +00:00