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
Benjamin Haisch
78776638d3
Reworked the sound energy code
...
svn-id: r35845
2009-01-13 16:18:22 +00:00
Jordi Vilalta Prat
6801112956
Fix dithering of scaled videos
...
svn-id: r35844
2009-01-13 15:40:46 +00:00
Filippos Karapetis
c2db2b91a5
- Music now works in LGoP2
...
- Changed the default music volume to 127, down from 255
- Added an explanation/FIXME for the out of sync mouth animations in RTZ
- Added some TODOs and removed some obsolete ones
svn-id: r35843
2009-01-13 10:11:52 +00:00
Torbjörn Andersson
cfdb824535
Fixed bug #2500168 ("GUI: Cannot quit in the launcher's load dialog"). I thought
...
I would have to do more than this to fix it, but it seems to be enough.
svn-id: r35840
2009-01-12 19:56:08 +00:00
Filippos Karapetis
e1f8088328
Don't call _mixer->stopAll() when changing scenes, as this stops the enhanced audio tracks as well. Sounds are stopped by stopAllSamples()
...
svn-id: r35839
2009-01-12 15:51:11 +00:00
Filippos Karapetis
3f8ca778d0
Cleanup
...
svn-id: r35838
2009-01-12 15:41:37 +00:00
Filippos Karapetis
1a7aeec4d9
Imitate the way the original game is playing MIDI tracks when playing enhanced ones
...
svn-id: r35837
2009-01-12 15:31:50 +00:00
Filippos Karapetis
8911d34542
Added support for the Discworld 1 Music Enhancement project. Big thanks to James Woodcock for his work on both versions of the game (the *.GRA and *.SCN version)
...
svn-id: r35836
2009-01-12 14:56:29 +00:00
Nicola Mettifogo
e5d75d1f7b
Fixed regression from revision 35765. Mask and path patches were destroyed before getting a chance to be used.
...
svn-id: r35835
2009-01-12 13:14:09 +00:00
Paul Gilbert
5afb4ad165
Implemented screen vfx #19 and #20
...
svn-id: r35834
2009-01-12 07:21:34 +00:00
Travis Howell
f304ee8c19
Remove unused case, which isn't used by HE60-HE71 games.
...
svn-id: r35832
2009-01-12 03:58:11 +00:00
Matthew Hoops
9bef5d0e72
consistency fix and add a new line
...
svn-id: r35831
2009-01-12 01:29:29 +00:00
Willem Jan Palenstijn
eed76226d3
test re-adding elements to emptied hashmap
...
svn-id: r35829
2009-01-11 15:24:11 +00:00
Filippos Karapetis
e399865ee8
IHNM save games no longer contain ITE-related variables
...
svn-id: r35828
2009-01-11 14:44:29 +00:00
Eugene Sandulenko
a266feeb5a
Fix regression when gameids were los for some fanmade games
...
svn-id: r35827
2009-01-11 13:17:05 +00:00
Eugene Sandulenko
5cf930eeda
Simplify code.
...
svn-id: r35826
2009-01-11 12:22:29 +00:00
Eugene Sandulenko
3172187aff
Now _really_ restore transient domain handling which was before vkeybd merge.
...
svn-id: r35825
2009-01-11 12:15:51 +00:00