Commit Graph
86814 Commits
Author SHA1 Message Date
Johannes Schickel c4a4ffc51b Update scene number internally so it gets displayed correctly in the debugger.
svn-id: r35900
2009-01-18 16:21:30 +00:00
Max Horn 2c59a54432 cleanup
svn-id: r35899
2009-01-18 14:48:24 +00:00
Max Horn c9e97bf6f9 GUI: Some cleanup and renaming; moved some parsing code from ThemeEngine to ThemeParser
svn-id: r35898
2009-01-18 14:48:00 +00:00
Max Horn c69638d915 Added keymapper code to build system (still disabled unless ENABLE_KEYMAPPER is set); made some code fixes (still not working properly, but it is a start)
svn-id: r35897
2009-01-18 14:46:53 +00:00
Max Horn 2bbbfdbee2 GUI: Removed ThemeEngine::getTabSpacing() and getTabPadding(); removed some dead code
svn-id: r35896
2009-01-18 14:45:23 +00:00
Max Horn 5e1cf1e166 GUI: Renamed Globals.TabLabelWidth to Globals.PopUpWidget.labelWidth (that's what it really is); changed PopUpWidget to use that value directly
svn-id: r35895
2009-01-18 14:42:26 +00:00
Andre Heider 964a451e42 Removed slashes as last char from directories
svn-id: r35894
2009-01-18 12:58:06 +00:00
Paul Gilbert df6aa6361d Slight changes to fx method #9 to more correctly match the original game
svn-id: r35893
2009-01-18 09:29:22 +00:00
Gregory Montoir 1511099a7b merged Graphics::copyTo640/Graphics::copyFrom640
svn-id: r35892
2009-01-18 04:00:11 +00:00
Gregory Montoir 8ea8966c02 cleanup
svn-id: r35891
2009-01-18 03:22:33 +00:00
Gregory Montoir 710b7fe461 get rid of AnimationSequencePlayer::_currentSeqNum
svn-id: r35890
2009-01-18 03:07:20 +00:00
Gregory Montoir 5a809e51be simplified Graphics::decode*()
svn-id: r35889
2009-01-18 02:46:25 +00:00
Matthew Hoops bd3ff9c719 fix another regression from the RTL branch merge
svn-id: r35888
2009-01-18 02:22:57 +00:00
Gregory Montoir 8f85a81791 splitted play/load class methods in introduction animation player
svn-id: r35887
2009-01-18 00:55:51 +00:00
Filippos Karapetis c56faf3216 Since users need to rename the sound and index files in DW2, throw nice GUI error messages when these files are not found before dying with an error
svn-id: r35886
2009-01-17 22:29:55 +00:00
Filippos Karapetis 56f75b4c41 Fixed bug #2057987 - "IHNM: Music stops in Ellen's chapter"
svn-id: r35884
2009-01-17 21:45:53 +00:00
Filippos Karapetis ba4b872a20 Silenced MSVC warning
svn-id: r35883
2009-01-17 21:17:58 +00:00
Andre Heider 2e321f7a74 use pointers when passing struct stat
svn-id: r35882
2009-01-17 18:48:35 +00:00
Max Horn 20dad9e967 Merged gui/ThemeData.cpp into ThemeEngine.cpp
svn-id: r35881
2009-01-17 17:13:04 +00:00
Max Horn 42d4ddf934 Removed unused & incomplete widget caching code
svn-id: r35880
2009-01-17 16:57:50 +00:00
Torbjörn Andersson eb0ea6a297 Make sure that "quit" events are handled immediately. This fixes a warning - or
possibly worse - about an invalid opcode when quitting the game.

svn-id: r35879
2009-01-17 04:50:13 +00:00
Max Horn 736fea2c0e tiny cleanup
svn-id: r35878
2009-01-16 23:29:48 +00:00
Filippos Karapetis 68a20e2aba - Removed _gameVersion, engine versions are set in the game detection entries now
- Renamed ProjectReader -> ResourceReader
- Added some WIP code for the EGA version of the Manhole (still not working/disabled)
- The resource reader now closes the files it has opened correctly when it's deleted

svn-id: r35877
2009-01-16 23:20:17 +00:00
Max Horn d53a340a4d Some cleanup (one could replace some of those switch/case by jump tables...)
svn-id: r35876
2009-01-16 23:18:18 +00:00
Max Horn 0a169612ee TUCKER: Got rid of _fileToLoad
svn-id: r35875
2009-01-16 21:19:30 +00:00
Max Horn c0e1dbf1ac TUCKER: Changed loadFile and loadImage to take filename as parameter (trying to get rid of _fileToLoad)
svn-id: r35874
2009-01-16 21:08:55 +00:00
Max Horn 1082d82ba8 TUCKER: Simplify TuckerEngine::copyLocBitmap
svn-id: r35873
2009-01-16 20:53:43 +00:00
Andre Heider 9f1ac87466 Reuse given stat flags when possible to avoid fstat() calls
svn-id: r35872
2009-01-16 19:32:19 +00:00
Max Horn e9f0fc21e8 Fixed class indention
svn-id: r35871
2009-01-16 05:04:49 +00:00
Max Horn 4c5efaecf4 Code formatting fixes, automatically performed by astyle
svn-id: r35870
2009-01-16 02:43:41 +00:00
Max Horn 42c46aa5a1 Mark cruise save/load code as not endian safe
svn-id: r35869
2009-01-16 01:48:55 +00:00
Max Horn 7d3c94a9ca Added some comments to ThemeLayoutStacked::reflowLayoutH/V
svn-id: r35868
2009-01-14 21:16:21 +00:00
Max Horn d34a952e5b Renamed various ThemeLayout methods for clarity; removed unused setSpacing method, and moved _spacing to class ThemeLayoutStacked
svn-id: r35867
2009-01-14 20:58:41 +00:00
Max Horn ce39c26d14 -1 is not an uint8. Assuming ones-complement, though, I guess 255 was meant
svn-id: r35865
2009-01-14 18:52:25 +00:00
Jordi Vilalta Prat bb82b0be97 Handle the sound font clearing button in the game specific options
svn-id: r35864
2009-01-14 18:17:19 +00:00
Jordi Vilalta Prat 4db2899253 Hide the mouse cursor when loading a saved game
svn-id: r35863
2009-01-14 16:05:26 +00:00
Filippos Karapetis f79007d6cf Fix for non-looped tracks of the music enhancement project. Also, got rid of the dwMidiIndex variable
svn-id: r35862
2009-01-14 13:55:36 +00:00
Filippos Karapetis 405680af6d Game database headers are verified now
svn-id: r35861
2009-01-14 11:18:14 +00:00
Filippos Karapetis d5f9fdabc3 Updated the project files of the groovie engine for commit #35855
svn-id: r35860
2009-01-14 07:47:52 +00:00
Torbjörn Andersson b0fb307978 Fixed warnings.
svn-id: r35859
2009-01-14 05:49:18 +00:00
Jordi Vilalta Prat 59d41b30ff Show the cursor and update it properly when closing the GMM.
svn-id: r35858
2009-01-14 03:09:19 +00:00
Jordi Vilalta Prat ab82db8f86 Use the current palette size for the theme mouse cursor instead of using the maximum (fixes a valgrind warning)
svn-id: r35857
2009-01-14 02:44:09 +00:00
Jordi Vilalta Prat be346a6b5f - Initialize the current cursor to an invalid one (this removes a glitch when loading from the launcher)
- Removed the _syst attribute in Cursor_t7g

svn-id: r35856
2009-01-14 02:08:44 +00:00
Jordi Vilalta Prat 215af6f3b4 Reduced savegame code duplication and added savegame format versioning.
svn-id: r35855
2009-01-13 23:22:47 +00:00
Jordi Vilalta Prat cd7ab24dd6 Added const qualifier to (char *) parameter
svn-id: r35854
2009-01-13 23:00:14 +00:00
Filippos Karapetis fa755b3729 Some updates/observations on script functions
svn-id: r35850
2009-01-13 21:08:22 +00:00
Filippos Karapetis 0ecaa8c4fd - PMV video headers are evaluated correctly now
- PMV video is now stopped correctly if the end of the video has been reached. Removed a relevant hack, which was caused due to an invalid memory read

svn-id: r35849
2009-01-13 20:36:52 +00:00
Filippos Karapetis 305954d34a Save game headers are now verified
svn-id: r35848
2009-01-13 19:29:55 +00:00
Johannes Schickel 094fca2207 When reverting to text only mode update the config manager settings accordingly.
svn-id: r35847
2009-01-13 18:11:11 +00:00
Filippos Karapetis 470b07004a Added a possible FIXME
svn-id: r35846
2009-01-13 16:57:59 +00:00