Commit Graph
66 Commits
Author SHA1 Message Date
Strangerke 30441cc7c1 TOLTECS: Fix spacing errors 2013-11-24 18:52:45 +01:00
Filippos Karapetis dfea40cc11 TOLTECS: Remove dead code
The clearSprites() method is a leftover from the older sprite drawing code
2013-04-26 18:21:23 +03:00
Filippos Karapetis bbec4acff5 TOLTECS: Fix bug #3600166 - "TOLTECS: Parrot speech cuts off Fenimore's in Cemetery" 2013-01-13 16:29:25 +02:00
Filippos Karapetis e45950b966 TOLTECS: Whitespace fixes 2013-01-13 15:51:52 +02:00
Filippos Karapetis b7bfff1bfa TOLTECS: Fix bug #3599370 - "TOLTECS: Text on intro video not shown as per original" 2013-01-13 15:39:00 +02:00
Torbjörn Andersson f93facaf45 TOLTECS: Make aborting movies more reliable
Before, the main updateInput() might swallow attempts at aborting
movies. Now all events are handled by the movie player's own
handleInput(). As a side effect, it's no longer necessary to check
if a movie is playing before removing subtitles when pressing space.
2013-01-04 02:27:56 +01:00
Torbjörn Andersson e0b75c59ea TOLTECS: Remove unnecessary calls to quitGame()
Calling quitGame() simply creates a new quit event. There's no
need to do that when catching a quit event.
2013-01-04 02:12:21 +01:00
Torbjörn Andersson ad36fb3366 TOLTECS: Don't allow dialog skipping while movies are playing 2013-01-02 22:18:09 +01:00
Filippos Karapetis 69da727c55 TOLTECS: Add a debug console 2013-01-02 20:02:29 +02:00
Filippos Karapetis ef6003c29f TOLTECS: Add an option to use the ScummVM save/load screens 2013-01-02 16:48:52 +02:00
Filippos Karapetis e47425aaf5 TOLTECS: Wait a bit after drawing each frame
This reduces the CPU load considerably (it's around 10% now, down from 50%)
2012-10-06 00:13:50 +03:00
Johannes Schickel 89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Filippos Karapetis a9a579891e TOLTECS: Open the save menu with F5 and the load menu with F9
Also, this changes the dialog skip key to space instead of escape
2012-09-11 00:34:27 +03:00
Filippos Karapetis 72cdd019fc TOLTECS: Implement volume handling and toggling of speech/text 2012-09-11 00:34:23 +03:00
Johannes Schickel 72f1fb0bed TOLTECS: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:39:00 +02: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 1eeb852902 TOLTECS: Remove empty implementation of syncSoundSettings() 2011-11-21 23:04:48 +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
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 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 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 360bd6edd3 TOLTECS: Initial implementation for music 2011-11-20 22:43:12 +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 84e6ceafbf TOLTECS: Initialize mouse cursor when loading a saved game from the launcher 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 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 e4005ae927 TOLTECS: Fix compilation after sound->audio directory rename. 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 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 d3811422f8 TOLTECS: Fixed compilation and reduced header dependencies a bit 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
Benjamin Haisch 9c3a4bc055 TOLTECS: - Implement kSupportsLoadingDuringStartup 2011-11-20 22:43:10 +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 d885aedd48 TOLTECS: Fix compilation with trunk 2011-11-20 22:43:09 +01:00
Benjamin Haisch a0432fd546 TOLTECS: Fixed compilation 2011-11-20 22:43:08 +01:00
Benjamin Haisch b038d2e4f2 TOLTECS: Added GUI options to detection entries 2011-11-20 22:43:08 +01:00
Benjamin Haisch 3c49d36d5f TOLTECS: Fix compilation. 2011-11-20 22:43:08 +01:00
Benjamin Haisch 22db6b1558 TOLTECS: - Fixed clipping bugs (in 256-color sprites and scaled sprites)
- Minor cleanup
2011-11-20 22:43:08 +01:00
Benjamin Haisch 9a84c13bef TOLTECS: - Implemented playSoundAtPos and fixed sound panning (0 is center, not 64 like in the original)
- Minor cleanup
2011-11-20 22:43:08 +01:00
Benjamin Haisch ce7febcd70 TOLTECS: Reworked the ArchiveReader and ResourceCache classes.
ResourceCache needs more work since resources are never freed (which is bad).
2011-11-20 22:43:07 +01:00
Filippos Karapetis edefa37a45 TOLTECS: Fixed compilation 2011-11-20 22:43:07 +01:00