Commit Graph

105 Commits

Author SHA1 Message Date
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
Sven Hesse
332e1d860e Some more READ_LE_* -> MemoryReadStream.* conversions
svn-id: r23099
2006-06-13 19:15:08 +00:00
Sven Hesse
a709eb05b7 More READ_LE_* -> MemoryReadStream conversion + minor cleanup
svn-id: r23089
2006-06-13 17:02:53 +00:00
Sven Hesse
243e6b2d27 Fixing Scenery::_statics, Game::_totTextData and Game::_totResourceTable
svn-id: r23078
2006-06-13 08:10:54 +00:00
Sven Hesse
f52921fb9b Using MemoryReadStream for Scenery::loadAnim()
svn-id: r23073
2006-06-12 22:21:07 +00:00
Sven Hesse
796b001b4f Fixing loading of Scenery::_animations[] + small gob2 cleanup
svn-id: r23066
2006-06-12 21:33:30 +00:00
Sven Hesse
5c630a4e63 Small corrections and cleanup for Gob2, fixing the graphical glitches in the intro
svn-id: r23060
2006-06-12 10:55:53 +00:00
Sven Hesse
897fa6a5a6 More stub-filling + small clean-up
svn-id: r23012
2006-06-10 14:37:48 +00:00
Johannes Schickel
276d754443 Fix some msvc8 warnings.
svn-id: r22988
2006-06-08 19:55:16 +00:00
Sven Hesse
34dae22c1a More goblin handling functions, now the deactivated goblin shows
his boredom. It's the wrong goblin that's deactivated, though.
Also, the entering animation is still missing (now nothing is drawn
instead).

svn-id: r22979
2006-06-07 18:49:20 +00:00
Sven Hesse
bf86b9b022 Two segfault and several coding style related fixes
svn-id: r22954
2006-06-06 15:43:44 +00:00
Sven Hesse
b5bc1c82fa - Fixed endianness/signess issues
- Added a memset in Video_v2::SpriteUncompressor(), that should have
  been there in the first place; this fixes the tree in GOB2's first room
- Fixed ADL delete[]ing

svn-id: r22917
2006-06-04 17:24:03 +00:00
Sven Hesse
4b706aca43 Fixing an endian-issue in setVoice()
svn-id: r22858
2006-06-03 08:53:10 +00:00
Sven Hesse
2aa31f4bf3 Matched the memset in imdFrameUncompressor() to the original asm, that
fixes a small glitch

svn-id: r22857
2006-06-03 08:50:41 +00:00
Sven Hesse
f3f7b670d0 - Fixed IMD transparency
- Fixed SegFault due to uninitialized _multData2
- Removed left-over debug comment

svn-id: r22830
2006-06-02 10:54:53 +00:00
Sven Hesse
96d77f16b7 - Fixed drawing of sprite-parts based texts
- Removed misplaced Music::stopPlay() call

svn-id: r22816
2006-06-01 12:18:12 +00:00