Commit Graph

49817 Commits

Author SHA1 Message Date
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
Filippos Karapetis
4cc5934d84 TOLTECS: Reduced header dependencies 2011-11-20 22:43:10 +01:00
Filippos Karapetis
e1f795fb6d TOLTECS: Added ScummVM headers 2011-11-20 22:43:10 +01:00
Filippos Karapetis
26a7bf4eb5 TOLTECS: Reduced header dependencies 2011-11-20 22:43:10 +01:00
Filippos Karapetis
7746fbc543 TOLTECS: Reduced header dependencies 2011-11-20 22:43:10 +01:00
Filippos Karapetis
a9f7094a68 TOLTECS: Reduced header dependencies 2011-11-20 22:43:10 +01:00
Filippos Karapetis
e9dc055089 TOLTECS: Reduced header dependencies 2011-11-20 22:43:10 +01:00
Filippos Karapetis
febda31f50 TOLTECS: Reduced header dependencies 2011-11-20 22:43:10 +01:00
Filippos Karapetis
c52aa31a18 TOLTECS: Added some FIXME comments 2011-11-20 22:43:10 +01:00
Filippos Karapetis
d3811422f8 TOLTECS: Fixed compilation and reduced header dependencies a bit 2011-11-20 22:43:10 +01:00
Benjamin Haisch
dde75d709e TOLTECS: Fix compilation 2011-11-20 22:43:10 +01:00
Benjamin Haisch
8203563c69 TOLTECS: - New constant kMaxChannels instead of number for clarity 2011-11-20 22:43:10 +01:00
Benjamin Haisch
661ce95478 TOLTECS: - Fix regression in movie player (use drawScreen instead of updateScreen) 2011-11-20 22:43:10 +01:00
Benjamin Haisch
1cb95f36e7 TOLTECS: - More work on the menu system, saving and loading from there is now possible
- Add blastSprite method which draws a sprite directly to the frontScreen without the renderQueue
- Add F10 scancode in sfHandleInput to open the menu
2011-11-20 22:43:10 +01:00
Benjamin Haisch
9698127c5d TOLTECS: - Undef menu test code (oops)
- Rename updateScreen to drawScreen
- Move code from sfUpdateScreen to engine updateScreen
- Use better screen sync code to get closer to the original game's speed
2011-11-20 22:43:10 +01:00
Benjamin Haisch
ce7f9a088c TOLTECS: - Work on the menu system (use strings from resources instead of hardcoded ones)
- ...and load the system strings from the resource on startup
- Only redraw menu screen when required
- Change parameters for some text functions from byte* to const byte*
- Rename some mouse vars
2011-11-20 22:43:10 +01:00
Filippos Karapetis
5e154f634a TOLTECS: Fixed compilation 2011-11-20 22:43:10 +01:00
Benjamin Haisch
9c3a4bc055 TOLTECS: - Implement kSupportsLoadingDuringStartup 2011-11-20 22:43:10 +01:00
Benjamin Haisch
8f3b287db1 TOLTECS: Update todo (no real fixes, though) 2011-11-20 22:43:09 +01:00
Benjamin Haisch
6034e4ffb4 TOLTECS: - Don't add test entries to the save/loadgame menu 2011-11-20 22:43:09 +01:00