Filippos Karapetis
cb5c0e6986
TOLTECS: Sync with ScummVM rev. 46379
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
4c7cef996a
TOLTECS: Misc fixes in the menu system
2011-11-20 22:43:08 +01:00
Benjamin Haisch
54cb86950c
TOLTECS: Fixed odd bug in drawChar (I subtracted 2 from the font height before, though I don't recall why exactly I did that; now I use the font height as-is)
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
eb04f85673
TOLTECS: - Added detection entry for the German demo version
2011-11-20 22:43:08 +01:00
Benjamin Haisch
3c49d36d5f
TOLTECS: Fix compilation.
2011-11-20 22:43:08 +01:00
Benjamin Haisch
d6edbe97c9
TOLTECS: Oops, forgot to disable the debug path drawing.
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
Benjamin Haisch
af7e1c1683
TOLTECS: - Fixed sound playing
...
- Renaming
2011-11-20 22:43:07 +01:00
Benjamin Haisch
eab360f3e7
TOLTECS: - Moved script functions out of the switch statement and into an array
2011-11-20 22:43:07 +01:00
Benjamin Haisch
041fe21417
TOLTECS: - Added enum for sound channel type
...
- Added isPointInside
2011-11-20 22:43:07 +01:00
Benjamin Haisch
170b66b2cb
TOLTECS: Updated TODO (nothing new, just syncing local copy with the repo)
2011-11-20 22:43:07 +01:00
Benjamin Haisch
5c481dd116
TOLTECS: - Removed TODO, external resources aren't explicitly used (the original game extracts resources from WESTERN to HD to increase access speed)
2011-11-20 22:43:07 +01:00
Filippos Karapetis
b9de8beb6e
TOLTECS: Fixed compilation
2011-11-20 22:43:07 +01:00
Filippos Karapetis
edefa37a45
TOLTECS: Fixed compilation
2011-11-20 22:43:07 +01:00
Benjamin Haisch
2156fecf53
TOLTECS: Added German version
2011-11-20 22:43:07 +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
Filippos Karapetis
46257f7bb4
TOLTECS: Silenced MSVC warnings
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
ec6f0d23a7
TOLTECS: Very very 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
f77960e81b
TOLTECS: Removed unused functions.
2011-11-20 22:43:07 +01:00
Eugene Sandulenko
beab4e3ca5
TOLTECS: Correct initialization for graphics. Since the game is 640x480, it should be
...
default to 1x scaler.
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
3acd787145
TOLTECS: Updated TODO.txt
2011-11-20 22:43:06 +01:00
Benjamin Haisch
7b97e8cd93
TOLTECS: A lot of changes in the graphics code:
...
- Optimized drawing code; now only items (sprites, text, screen masks) which have changed from the previous frame are redrawn, this speeds up things a lot
- Implemented dirty rectangles using a microtile array
- The previously committed Microtile Array implementation from SEL seemed buggy so I wrote my own version which works nicely so far (and is less code and GPL), only MicroTileArray::getRectangles uses parts from the old version, this will be changed later
- One known bug related to dirty rectangles remains: Sometimes the background isn't restored correctly and gfx artifacts are visible
2011-11-20 22:43:06 +01:00
Benjamin Haisch
37a5f9e9ef
TOLTECS: Switched quicksave key from F6 to F5.
2011-11-20 22:43:06 +01:00
Benjamin Haisch
8f3e598f85
TOLTECS: Cleanup.
2011-11-20 22:43:06 +01:00
Benjamin Haisch
d299bbba01
TOLTECS: Changed how screen masks are handled.
...
At load time, a Surface is created for each screen mask, in which the gfx data from the background is copied.
This is the first step towards more optimized gfx rendering (more to come later).
2011-11-20 22:43:06 +01:00
Benjamin Haisch
150e555953
TOLTECS: Renamed ybottom to priority
2011-11-20 22:43:06 +01:00
Benjamin Haisch
ade8eec8cf
TOLTECS: Moved sprite drawing code to sprite.cpp
2011-11-20 22:43:06 +01:00
Benjamin Haisch
ca49ded9b3
TOLTECS: More changes to wrapGuiText
2011-11-20 22:43:06 +01:00
Benjamin Haisch
3c47914648
TOLTECS: Removed _tempString etc. and replaced it with GuiTextWrapState
2011-11-20 22:43:06 +01:00
Benjamin Haisch
3b89304dd9
TOLTECS: Forgot script.cpp.
...
And some tests for menu & movie player in toltecs.cpp.
2011-11-20 22:43:06 +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
Benjamin Haisch
20d60e6286
TOLTECS: Renamed some functions.
2011-11-20 22:43:06 +01:00
Benjamin Haisch
398d0daac0
TOLTECS: Adjust y position of talk text lines.
2011-11-20 22:43:06 +01:00
Benjamin Haisch
aaded0f546
TOLTECS: Added Screen::getTextWidth
2011-11-20 22:43:06 +01:00
Eugene Sandulenko
3eb449f236
TOLTECS: Add Russian version detection which works great.
2011-11-20 22:43:06 +01:00
Benjamin Haisch
be69bb986f
TOLTECS: Added TODO/NOTES/BUGS text
...
Also: The game is completable with this revision! (yay!:)
2011-11-20 22:43:06 +01:00