Commit Graph

174 Commits

Author SHA1 Message Date
Tarek Soliman
a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Tarek Soliman
921f602ab8 JANITORIAL: Fix whitespace in pointer template arg 2012-02-15 10:07:08 -06:00
Torbjörn Andersson
54041675e5 TOLTECS: Some formatting fixes. 2012-01-29 21:41:16 +01:00
Filippos Karapetis
9b12c8c25c TOLTECS: Removed two goto statements 2011-12-05 02:31:56 +02:00
Filippos Karapetis
09349c2bca TOLTECS: Don't call c_str() on the return value of Common::String::format() 2011-11-26 22:37:44 +02:00
Filippos Karapetis
31cf9b7610 TOLTECS: Reduce code duplication 2011-11-26 22:28:39 +02:00
D G Turner
d5c50fe0b3 TOLTECS: Add detection for Hungarian variant from bug #3440641. 2011-11-25 13:50:48 +00:00
Joost Peters
8b9b777397 TOLTECS: findPath() endian fixes. 2011-11-24 23:28:12 +01:00
Joost Peters
672e981b17 TOLTECS: Fix crash on Big Endian 2011-11-24 22:18:05 +01:00
Filippos Karapetis
0b4a022018 TOLTECS: Save music in saved games
Also, move all music resource related code into its own class
2011-11-24 00:03:01 +02:00
Filippos Karapetis
18fd59939f TOLTECS: Sync scene sounds when saving/loading 2011-11-21 23:47:47 +02:00
Filippos Karapetis
e2bc38ea91 TOLTECS: Change deltaValue to be an int8, as char isn't always signed 2011-11-21 23:08:10 +02:00
Filippos Karapetis
1eeb852902 TOLTECS: Remove empty implementation of syncSoundSettings() 2011-11-21 23:04:48 +02:00
Filippos Karapetis
41ba66b59c TOLTECS: Cleanup, removed an obsolete TODO 2011-11-21 22:46:33 +02:00
Filippos Karapetis
7c5f55912c TOLTECS: Add missing namespace comment 2011-11-21 22:32:03 +02:00
Filippos Karapetis
8880c7c94c TOLTECS: Savegame changes
- Add support for savegame removal
- Remove kyra-specific code
- Add save play time and creation date
2011-11-21 22:29:44 +02:00
D G Turner
5a868a4008 TOLTECS: Removed TODO.txt. Contents now on Wiki Toltecs Engine Page. 2011-11-21 04:03:32 +00:00
Torbjörn Andersson
9f5f240e90 TOLTECS: Change the updateScreen() logic a bit
Updating the screen when getMillis() % 10 is 0 seems sub-optimal
to me. It could be true several iterations in a row (shouldn't be
harmful, since updateScreen is assumed to be cheap if the screen
hasn't changed) or we could miss it every single time. Let's
measure the time between updates instead, just to be safer.
2011-11-20 23:45:29 +01:00
Alex Bevilacqua
b592d73e62 TOLTECS: silence a couple gcc warnings 2011-11-20 22:43:12 +01:00
Filippos Karapetis
579c47b717 TOLTECS: Removed duplicate assignment 2011-11-20 22:43:12 +01:00
Filippos Karapetis
e4d5320e7f TOLTECS: Fixed typo in logic 2011-11-20 22:43:12 +01:00
Filippos Karapetis
8b503f558e TOLTECS: Fixed compilation after the latest changes to GUI options 2011-11-20 22:43:12 +01:00
Filippos Karapetis
c119cbda90 TOLTECS: Slight cleanup of the audio code 2011-11-20 22:43:12 +01:00
Filippos Karapetis
94f5b8b190 TOLTECS: Always hide the game interface when showing a movie 2011-11-20 22:43:12 +01:00
Filippos Karapetis
8b4c082f6d TOLTECS: Stop all sounds when exiting 2011-11-20 22:43:12 +01:00
Filippos Karapetis
a8112121b2 TOLTECS: Cleanup 2011-11-20 22:43:12 +01:00
Filippos Karapetis
f3fdcad214 TOLTECS: Updated TODO 2011-11-20 22:43:12 +01:00
Filippos Karapetis
fee561c039 TOLTECS: Updated TODO 2011-11-20 22:43:12 +01:00
Filippos Karapetis
b6c3232ea3 TOLTECS: Updated TODO
- Updated locations where the animation hack is necessary
- Fixed crashes on scene changes (with a TODO)
- MIDI Music is always XMIDI
- sfClearScreen() doesn't seem to be necessary
2011-11-20 22:43:12 +01:00
Filippos Karapetis
1bddee1e73 TOLTECS: Fixed music looping 2011-11-20 22:43:12 +01:00
Filippos Karapetis
14cbfd4607 TOLTECS: Fixed typo 2011-11-20 22:43:12 +01:00
Filippos Karapetis
5c3c9f4e6c TOLTECS: Added a hack to fix a crash when smoking the peace pipe 2011-11-20 22:43:12 +01:00
Filippos Karapetis
9841ce6b9f TOLTECS: Code cleanup 2011-11-20 22:43:12 +01:00
Filippos Karapetis
360bd6edd3 TOLTECS: Initial implementation for music 2011-11-20 22:43:12 +01:00
Filippos Karapetis
8940d7348a TOLTECS: Add finalize() calls to file output code 2011-11-20 22:43:12 +01:00
Filippos Karapetis
9f8ceaace2 TOLTECS: Implemented Quit game functionality in the menu 2011-11-20 22:43:11 +01:00
Filippos Karapetis
5298859cba TOLTECS: The resource cache is now purged when changing rooms 2011-11-20 22:43:11 +01:00
Filippos Karapetis
2b29dfe0c7 TOLTECS: Added the ability to skip the current dialog line with the escape key 2011-11-20 22:43:11 +01:00
Filippos Karapetis
6fc40c7c24 TOLTECS: Updated TODO 2011-11-20 22:43:11 +01:00
Filippos Karapetis
48e0238ed0 TOLTECS: Updated the TODO, after talking with johndoe 2011-11-20 22:43:11 +01:00
Filippos Karapetis
4a03bb3e43 TOLTECS: Disabled some leftover unnecessary debug output 2011-11-20 22:43:11 +01:00
Filippos Karapetis
84e6ceafbf TOLTECS: Initialize mouse cursor when loading a saved game from the launcher 2011-11-20 22:43:11 +01:00
Filippos Karapetis
1eed5caff5 TOLTECS: Some cleanup of the menu code 2011-11-20 22:43:11 +01:00
Filippos Karapetis
522c1ca32b TOLTECS: Bugfixes for the game menu
- The game's background is now restored when the menu closes
- Fixed a memory leak
- Removed dead code
2011-11-20 22:43:11 +01:00
David Turner
9b487e917d TOLTECS: Switch to initGraphics() call, rather than separate calls. 2011-11-20 22:43:11 +01:00
David Turner
86e6ec89ef TOLTECS: Fix Compilation due to Graphics::loadThumbnail() API change. 2011-11-20 22:43:11 +01:00
David Turner
9b885d0c50 TOLTECS: Removed now uneeded c_str() call. 2011-11-20 22:43:11 +01:00
David Turner
c545a8b176 TOLTECS: Fix saveGameState signature to match Engine's virtual method. 2011-11-20 22:43:11 +01:00
David Turner
4ba1f78dc5 TOLTECS: Fix Detection For ADParams Removal From AdvancedMetaEngine. 2011-11-20 22:43:11 +01:00
David Turner
eb0b7c957f TOLTECS: Update AdvancedMetaEngine For Removal of ADParams. 2011-11-20 22:43:11 +01:00