Commit Graph

19 Commits

Author SHA1 Message Date
Torbjörn Andersson
c9a175a877 TOLTECS: Scroll original save/load dialog to bottom on opening
This doesn't behave quite like the original - it seems the original
does not take the fake last entry into account when saving? - but I
think it's actually a bit more consistent this way.
2013-01-04 10:50:18 +01:00
Torbjörn Andersson
8afe7a2361 TOLTECS: Hide/show arrows in original save/load dialogs
The arrows are only visible when there are savegames to scroll to
in that direction.
2013-01-04 10:32:10 +01: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
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
Filippos Karapetis
26a7bf4eb5 TOLTECS: Reduced header dependencies 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
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
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
4c7cef996a TOLTECS: Misc fixes in the menu system 2011-11-20 22:43:08 +01:00
Benjamin Haisch
145a696fe0 TOLTECS: Implemented scrolling in the savegame list 2011-11-20 22:43:08 +01:00
Benjamin Haisch
d80cc85347 TOLTECS: More work on the menu; started the savegame page and implemented editing of the savegame description 2011-11-20 22:43:08 +01:00
Benjamin Haisch
28c74ff3b4 TOLTECS: More work on the menu; started with the saveload menu page and fixed some early bugs 2011-11-20 22:43:08 +01:00
Benjamin Haisch
3d0775bd89 TOLTECS: More work on the menu 2011-11-20 22:43:08 +01:00
Benjamin Haisch
284c358f7c TOLTECS: Started implementing the menu from scratch 2011-11-20 22:43:08 +01:00
Filippos Karapetis
d93bd3c01c TOLTECS: Silenced some warnings 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
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