Commit Graph

20 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
Torbjörn Andersson
54041675e5 TOLTECS: Some formatting fixes. 2012-01-29 21:41:16 +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
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
e4005ae927 TOLTECS: Fix compilation after sound->audio directory rename. 2011-11-20 22:43:10 +01:00
Filippos Karapetis
4cc5934d84 TOLTECS: Reduced header dependencies 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
7f78f62467 TOLTECS: Fixed compilation with current SVN changes 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
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
Benjamin Haisch
a0432fd546 TOLTECS: Fixed compilation 2011-11-20 22:43:08 +01:00
Benjamin Haisch
2eb6482b06 TOLTECS: - Fixed compilation after Fingolfin's latest series of commits
- Added a warning for the yet unimplemented palette transparency code
- Removed "debug" calls from script, they weren't that useful
- Removed unneccessary delete in the MoviePlayer
- Fixed the renderer (hopefully?)
2011-11-20 22:43:07 +01:00
Benjamin Haisch
1f4764ad1c TOLTECS: - Implemented RTL
- Fixed return values in savegame/loadgame
- Some minor cleanup
2011-11-20 22:43:07 +01:00
Benjamin Haisch
9e78b5d393 TOLTECS: - Listing savestates via command line or Launcher
- Loading/Saving during run time
Other savestate functions yet todo.
I'll probably remove the "original" in-game menu and move everything to the GMM.
2011-11-20 22:43:07 +01:00
Benjamin Haisch
47ae908589 TOLTECS: - Fixed Screen::updateTalkText (text x position was read incorrectly and font color wasn't nibble-swapped)
- Hooked up the movie player; movies can be aborted with Escape (not with mouse clicks at the moment because I was too lazy to implement it; funny, writing this explanation probably took longer :))
2011-11-20 22:43:07 +01:00
Benjamin Haisch
4b13982116 TOLTECS: Implemented preliminary sound playback; some stuff is still missing (correct volumes etc.) 2011-11-20 22:43:07 +01:00
Benjamin Haisch
02e2b78e5c TOLTECS: Added sound to the movie player (finally). Still TODO: Ability to abort movies. 2011-11-20 22:43:07 +01:00
Benjamin Haisch
d09fbbabe6 TOLTECS: - Added menu system prototype (may change later)
- Added movie player (still incomplete, sound is not yet implemented)
Both are not yet hooked to the engine.
- Added code for microtile arrays (from the SEL - Simple DirectMedia Layer Extension Library project), under the LGPL
This will be used as dirty rectangle "manager". This is experimental for now, it may be removed later.
2011-11-20 22:43:06 +01:00