174 Commits

Author SHA1 Message Date
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
Filippos Karapetis
99bd410cb3 TOLTECS: Sync with the latest ScummVM changes (renamed skipThumbnailHeader to skipThumbnail) 2011-11-20 22:43:09 +01:00
Benjamin Haisch
2acf1bf6f5 TOLTECS: - Hopefully fixed a bug in findRectAtPoint which causes the game to crash before the first scene
- sfHandleInput
2011-11-20 22:43:09 +01:00
Benjamin Haisch
8ea6831825 TOLTECS: Fix warning 2011-11-20 22:43:09 +01:00
Benjamin Haisch
39b8bda921 TOLTECS: Fix warning 2011-11-20 22:43:09 +01:00
Benjamin Haisch
2e06f4b088 TOLTECS: Added detection entries for French and Spanish versions 2011-11-20 22:43:09 +01:00
Benjamin Haisch
d885aedd48 TOLTECS: Fix compilation with trunk 2011-11-20 22:43:09 +01:00
Benjamin Haisch
fc324073d5 TOLTECS: Rename savegame version define 2011-11-20 22:43:09 +01:00
Benjamin Haisch
7f78f62467 TOLTECS: Fixed compilation with current SVN changes 2011-11-20 22:43:09 +01:00
Benjamin Haisch
34eb899b25 TOLTECS: Fixed compilation 2011-11-20 22:43:09 +01:00
Benjamin Haisch
0d1a9148f3 TOLTECS: Fix bug caused by most recent revision (don't free the audio data in makeRawStream) 2011-11-20 22:43:09 +01:00
Filippos Karapetis
e8ec5148a2 TOLTECS: Fixed compilation 2011-11-20 22:43:09 +01:00
Filippos Karapetis
89a5208a58 TOLTECS: Fixed compilation with the latest trunk changes.
This change also unveiled a serious problem: the same include files are used EVERYWHERE (e.g. code manipulating the screen is using sound includes). Added a FIXME concerning this
2011-11-20 22:43:09 +01:00
Filippos Karapetis
16baa44a2f TOLTECS: Fixed compilation with the latest trunk 2011-11-20 22:43:09 +01:00
Filippos Karapetis
baf4218b05 TOLTECS: Fixed compilation with the latest trunk changes 2011-11-20 22:43:08 +01:00
Benjamin Haisch
69f35c8709 TOLTECS: Fixed compilation 2011-11-20 22:43:08 +01:00
Filippos Karapetis
5948672be5 TOLTECS: Fixed compilation with the latest sound changes in the trunk 2011-11-20 22:43:08 +01:00
Filippos Karapetis
ac97b441ec TOLTECS: Silenced warning 2011-11-20 22:43:08 +01:00