Commit Graph
86814 Commits
Author SHA1 Message Date
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
Thierry Crozat bc4397bf3e I18N: Update Czech translation from patch #3440467 2011-11-20 22:39:18 +00:00
Willem Jan Palenstijn 2613e7f587 TOLTECS: Merge toltecs engine
This is an engine for the game "3 Skulls of the Toltecs".

It is a renamed, tweaked and manual merge of the pull request at
https://github.com/scummvm/scummvm/pull/119
2011-11-20 22:49:18 +01:00
Alex Bevilacqua b592d73e62 TOLTECS: silence a couple gcc warnings 2011-11-20 22:43:12 +01:00
Alex Bevilacqua 4c60382604 TOLTECS: integrate engine 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
David Turner 3967da03ef TOLTECS: Fix Compilation With Latest Git Master. 2011-11-20 22:43:11 +01:00
David Turner 8a34de2c45 TOLTECS: Replace snprintf() usage with Common::String::format()
Safer and less portability issues.
2011-11-20 22:43:11 +01:00
David Turner ddaf38bdcd TOLTECS: Fix Compilation After Common::RandomSource Changes in Latest master. 2011-11-20 22:43:11 +01:00
Benjamin Haisch ae4437aea4 TOLTECS: Fix compilation 2011-11-20 22:43:10 +01:00
David Turner 9f3cc261c2 TOLTECS: Fix Compilation After Graphics::Surface PixelFormat changes. 2011-11-20 22:43:10 +01:00
David Turner a3007d6e2a TOLTECS: Fix Compilation After Base Code Header Changes. 2011-11-20 22:43:10 +01:00
Benjamin Haisch acd4d4098f TOLTECS: Fix bugs
- Save scene parameters before playing a movie and restore them afterwards (fixes crash)
- Fix text disappearing too fast
- Implement script function sfGetCameraChanged
- Replace nop script functions with stubs which print debug info when called
- Some cleanup, remove obsolete TODOs
2011-11-20 22:43:10 +01:00
David Turner e1fefefff2 TOLTECS: Updated For OSystem Palette RGBA->RGB Change. 2011-11-20 22:43:10 +01:00
David Turner e4005ae927 TOLTECS: Fix compilation after sound->audio directory rename. 2011-11-20 22:43:10 +01:00
Filippos Karapetis 02514db64f TOLTECS: Sync with the latest changes in trunk 2011-11-20 22:43:10 +01:00
Benjamin Haisch 581f0ba8b5 TOLTECS: Use CursorMan instead of OSystem for showMouse 2011-11-20 22:43:10 +01:00
Filippos Karapetis 3f78e1c8d9 TOLTECS: Rewrote ArchiveReader::dump() to use Common::DumpFile() 2011-11-20 22:43:10 +01:00
Filippos Karapetis 75842b031f TOLTECS: Added comments on main game loop, and added a FIXME 2011-11-20 22:43:10 +01:00
Filippos Karapetis e1abe47fbe TOLTECS: Reduced header dependencies and removed a TODO 2011-11-20 22:43:10 +01:00