Commit Graph
86814 Commits
Author SHA1 Message Date
Norbert Lange 4c4eb1394c added warning should the sound files not be available (intro will hang if there is no musictimer)
svn-id: r43049
2009-08-04 17:43:56 +00:00
Filippos Karapetis d14f0ccfb5 Removed the superfluous VGA buffer, replacing it with direct writes to the video buffer
svn-id: r43048
2009-08-04 17:22:18 +00:00
Norbert Lange c304c633ce moved helper functions from the header file into the cpp file
svn-id: r43047
2009-08-04 17:12:19 +00:00
Norbert Lange dbe50abae4 added doxygeb comments
added checks to public functions if resources already got loaded

svn-id: r43046
2009-08-04 17:03:35 +00:00
Norbert Lange e6f8bfafc7 moved code for initialising patterns into own function
added initialisation of return-addresses for patterns and macros

svn-id: r43045
2009-08-04 15:43:40 +00:00
Denis Kasak 41d7590835 * Reverted change that subtracts 1 from font colour indexes for various speaking characters; they are 0-based after all.
* Fixed font blitting algorithm to allow for both white fonts and transparency.

svn-id: r43044
2009-08-04 15:41:27 +00:00
Kostas Nakos 7b4d3c1289 got rid of superfluous semicolons
svn-id: r43043
2009-08-04 14:53:43 +00:00
Filippos Karapetis 6b11923bc8 Cleaned up the MSVC project files of the gob engine
svn-id: r43042
2009-08-04 14:20:38 +00:00
Kostas Nakos 73572158a8 commit slightly modified patch #2828646: WINCE: Integrate Windows CE with the master build system
svn-id: r43041
2009-08-04 13:17:33 +00:00
Kostas Nakos 342cce1b19 update readme (draft)
svn-id: r43039
2009-08-04 12:51:17 +00:00
Kostas Nakos f9efd8b995 update Makefile
svn-id: r43037
2009-08-04 12:39:33 +00:00
Kostas Nakos c4001cb762 support made engine
svn-id: r43035
2009-08-04 12:19:30 +00:00
Kostas Nakos bcb0f07bce add bindings for cruise engine
svn-id: r43033
2009-08-04 12:02:07 +00:00
Norbert Lange 0306695459 Some formatting changes and added comments
fixed parameters for "Play macro" command
fixed copypaste-mistake for pattern-fade

svn-id: r43032
2009-08-04 10:42:42 +00:00
John Willis 6dbdad02e5 GP2XWiz: Fix bug with downscaled cursors.
svn-id: r43029
2009-08-03 18:38:46 +00:00
Kari Salminen c2dc86df08 Fix for #2824798 (FW: crash when clicking "load" in the GUI):
- Fixed CineMetaEngine::listSaves(const char *target) which was broken.
- Also added explicit initialization of savegame descriptions to
  empty strings for safety reasons (e.g. arrays on stack aren't
  initialized to zero).
- Added explicit trailing zero setting to savegame descriptions
  (Previously using GMM you could write a description of length >= 20
  that had no trailing zero when written to description file (e.g. fw.dir)).

svn-id: r43027
2009-08-03 17:52:07 +00:00
Kari Salminen 9931fb6a44 Fix for bug #2828333 (AGI: KQ1: Greensleeves always plays):
- Made all savegame loading in AGI do the same pre-load and post-load stuff.
- Moved load/saveGameState from AgiBase to AgiEngine
- Added rudimentary error handling to load/saveGameState
- Incidentally also fixes the hanging note from bug #2798797.

svn-id: r43025
2009-08-03 17:18:18 +00:00
Paul Gilbert 1cf0eb1727 Bugfix to correctly reset the music tempo when loading a savegame
svn-id: r43023
2009-08-03 09:28:06 +00:00
Denis Kasak 5e2eefd4fe * Fixed bug which made characters talk with the wrong colour; the colour indexes are indexed from 1 in the data files so we need to subtract 1.
* Turned on font transparency again. 

svn-id: r43022
2009-08-03 01:48:15 +00:00
Scott Thomas 8edc0d0943 T7G: Fix bug #2831046 where save names not shown after loading a save from launcher
svn-id: r43020
2009-08-03 01:19:36 +00:00
Denis Kasak 96744e42c7 Fixed bug in the math expression evaluator; when evaluating operators, operands were being popped from the stack in the wrong order.
svn-id: r43019
2009-08-03 01:06:13 +00:00
Joost Peters 0ef0365db5 Make MemoryReAlloc() 64-bit alignment safe
svn-id: r43013
2009-08-02 21:44:21 +00:00
Joost Peters 7cf43b9dda Fix AGI crashes on 64-bit systems that require alignment
svn-id: r43011
2009-08-02 21:22:46 +00:00
John Willis 9d360d946b GP2XWiz/SDL: Fix 2 small typos.
svn-id: r43010
2009-08-02 21:18:25 +00:00
Kostas Nakos acec9026a1 clean up and fix vga aspect scaler routines
svn-id: r43008
2009-08-02 19:50:24 +00:00
John Willis 07de4b50e3 GP2XWiz: More cleanup of render code and fix silly screen update bug when reverting to a 320*2xx game from a 640*4xx game. Dirty rect code for downscaled images still needs work.
svn-id: r43007
2009-08-02 19:46:18 +00:00
Joost Peters 7d3f68154f align memory handles to sizeof(void*) instead of 4 (which is just good enough for 32-bit) - this fixes DW2 on 64-bit systems that require alignment
svn-id: r43005
2009-08-02 17:58:48 +00:00
Kostas Nakos 5591bf368c rework mixer (re)init. fixes bug #2694722
svn-id: r43003
2009-08-02 17:34:57 +00:00
Sven Hesse b9263e172f Show a message if saving or loading a game fails.
svn-id: r43001
2009-08-02 13:54:06 +00:00
Torbjörn Andersson 836c9a37f3 Show a message if saving or loading a game fails.
svn-id: r42999
2009-08-02 12:49:57 +00:00
Sven Hesse 87124b1d38 Removing _frameWaitLag. It broke normal animation speed in pre-v4 games and didn't even do what it was supposed to in v4+ games anyway. (bug #2830985)
svn-id: r42996
2009-08-02 10:40:48 +00:00
Sven Hesse 1471f0e3dd When ESCing videos, seek to the last frame that was meant to be played. Fixes graphical glitches (bug #2830985) and crashes (bug #2830988)
svn-id: r42995
2009-08-02 10:40:27 +00:00
Denis Kasak f9bdd09659 * Fixed bug when reading in persons data. I was reading in coordinates as bytes and font colour as int16; it should be the other way around.
* Handled the kStatusTalk loop substatus properly inside Game::loop().
* Made Game::walkHero() set the person coordinates for the dragon after it warps him to a new location
* Added Game::getPerson() method (used by Script::talk())
* Added Game::setSpeechTick() method (set by Script::talk() and used inside the loop to determine when to switch to new text).

svn-id: r42994
2009-08-02 05:21:21 +00:00
Denis Kasak 77033ca9a1 * Fixed bug in Font::getStringWidth() which made it miscalculate string widths (a temporary variable used for storing the width of the current line was not being reset).
* Temporarily disabled font transparency because the dragon's text is rendered hollow (transparency inside glyph bodies). 

svn-id: r42993
2009-08-02 05:16:36 +00:00
Denis Kasak 6bd1cfa1bd Implemented the Talk GPL command.
svn-id: r42992
2009-08-02 05:12:42 +00:00
Denis Kasak e6df651c08 Changed some uint16s to uints (to blend more naturally with the rest of the engine).
svn-id: r42991
2009-08-02 05:11:15 +00:00
Denis Kasak 854c27ffac Calculate the character length of Text objects (without the '|' separators) when setting a new string. Implemented Text::getLength().
svn-id: r42990
2009-08-02 05:09:55 +00:00
Denis Kasak 2d1df86f69 Added the strings archive to DraciEngine.
svn-id: r42989
2009-08-02 03:16:44 +00:00
Denis Kasak 014c33718f Added a dedicated animation for speech text.
svn-id: r42988
2009-08-02 03:02:22 +00:00
Norbert Lange ed8f02af96 synced the branch with the palette patch (#2819787)
svn-id: r42987
2009-08-02 01:00:56 +00:00
Norbert Lange 2a4c60244b made some unused methods private
svn-id: r42986
2009-08-02 00:39:06 +00:00
Norbert Lange bb9f1d6a25 fix some more harmless warnings to make gcc shutup
svn-id: r42985
2009-08-02 00:27:15 +00:00
Norbert Lange 2dd5516954 fixed some constness warnings
svn-id: r42984
2009-08-02 00:15:38 +00:00
Norbert Lange 92d292a3f6 made MdatResource struct private and changed the signatures of functions which load the resources.
svn-id: r42982
2009-08-02 00:03:42 +00:00
Norbert Lange 59395eb6b6 stole formatting for constructors from existing code
svn-id: r42981
2009-08-01 23:14:28 +00:00
Norbert Lange a28281072d engines/scumm/scumm.cpp: terminate method is pretty redundant - removed
tfmx, player_v4a: refactored Tfmx to allow sharing of resources between 2 instances. Needed changes in player_v4a aswell

svn-id: r42980
2009-08-01 23:02:45 +00:00
Sven Hesse ebe4090580 Removing the tfmx test module to make the branch compile again
svn-id: r42978
2009-08-01 19:37:50 +00:00
Denis Kasak e0e06fc9e0 * Made the engine set the appropriate loop status before running a gate program or entering the main loop
* Removed hack which ran programs for all gates when the room was changed

svn-id: r42977
2009-08-01 17:52:16 +00:00
Norbert Lange 27ee1eb331 refactored and commented player_va4 a bit
fix waitcommand in Tfmx
try making tfmxplayer compile again

svn-id: r42976
2009-08-01 16:10:00 +00:00
Torbjörn Andersson 01886d3e52 Added some more information to the "Compressed sound ... invalid" error. Maybe
this will help in determining what's causing bug #2830364. (It sounds like a
bad data file, but who knows...)

svn-id: r42974
2009-08-01 15:42:42 +00:00