28 Commits

Author SHA1 Message Date
Johannes Schickel
72f1fb0bed TOLTECS: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:39:00 +02:00
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
09349c2bca TOLTECS: Don't call c_str() on the return value of Common::String::format() 2011-11-26 22:37:44 +02:00
Filippos Karapetis
31cf9b7610 TOLTECS: Reduce code duplication 2011-11-26 22:28:39 +02:00
Filippos Karapetis
579c47b717 TOLTECS: Removed duplicate assignment 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
4a03bb3e43 TOLTECS: Disabled some leftover unnecessary debug output 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
9f3cc261c2 TOLTECS: Fix Compilation After Graphics::Surface PixelFormat changes. 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
26a7bf4eb5 TOLTECS: Reduced header dependencies 2011-11-20 22:43:10 +01:00
Benjamin Haisch
dde75d709e TOLTECS: Fix compilation 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
Benjamin Haisch
6034e4ffb4 TOLTECS: - Don't add test entries to the save/loadgame menu 2011-11-20 22:43:09 +01:00
Benjamin Haisch
34eb899b25 TOLTECS: Fixed compilation 2011-11-20 22:43:09 +01:00
Filippos Karapetis
ac97b441ec TOLTECS: Silenced warning 2011-11-20 22:43:08 +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