Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-11-20 | TOLTECS: Fix compilation. | Benjamin Haisch | |
2011-11-20 | TOLTECS: Oops, forgot to disable the debug path drawing. | Benjamin Haisch | |
2011-11-20 | TOLTECS: - Fixed clipping bugs (in 256-color sprites and scaled sprites) | Benjamin Haisch | |
- Minor cleanup | |||
2011-11-20 | TOLTECS: - Implemented playSoundAtPos and fixed sound panning (0 is center, ↵ | Benjamin Haisch | |
not 64 like in the original) - Minor cleanup | |||
2011-11-20 | TOLTECS: Reworked the ArchiveReader and ResourceCache classes. | Benjamin Haisch | |
ResourceCache needs more work since resources are never freed (which is bad). | |||
2011-11-20 | TOLTECS: - Fixed sound playing | Benjamin Haisch | |
- Renaming | |||
2011-11-20 | TOLTECS: - Moved script functions out of the switch statement and into an array | Benjamin Haisch | |
2011-11-20 | TOLTECS: - Added enum for sound channel type | Benjamin Haisch | |
- Added isPointInside | |||
2011-11-20 | TOLTECS: Updated TODO (nothing new, just syncing local copy with the repo) | Benjamin Haisch | |
2011-11-20 | TOLTECS: - Removed TODO, external resources aren't explicitly used (the ↵ | Benjamin Haisch | |
original game extracts resources from WESTERN to HD to increase access speed) | |||
2011-11-20 | TOLTECS: Fixed compilation | Filippos Karapetis | |
2011-11-20 | TOLTECS: Fixed compilation | Filippos Karapetis | |
2011-11-20 | TOLTECS: Added German version | Benjamin Haisch | |
2011-11-20 | TOLTECS: - Fixed compilation after Fingolfin's latest series of commits | Benjamin Haisch | |
- 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 | TOLTECS: Silenced MSVC warnings | Filippos Karapetis | |
2011-11-20 | TOLTECS: - Implemented RTL | Benjamin Haisch | |
- Fixed return values in savegame/loadgame - Some minor cleanup | |||
2011-11-20 | TOLTECS: Very very minor cleanup. | Benjamin Haisch | |
2011-11-20 | TOLTECS: - Listing savestates via command line or Launcher | Benjamin Haisch | |
- 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 | TOLTECS: - Fixed Screen::updateTalkText (text x position was read ↵ | Benjamin Haisch | |
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 | TOLTECS: Implemented preliminary sound playback; some stuff is still missing ↵ | Benjamin Haisch | |
(correct volumes etc.) | |||
2011-11-20 | TOLTECS: Removed unused functions. | Benjamin Haisch | |
2011-11-20 | TOLTECS: Correct initialization for graphics. Since the game is 640x480, it ↵ | Eugene Sandulenko | |
should be default to 1x scaler. | |||
2011-11-20 | TOLTECS: Added sound to the movie player (finally). Still TODO: Ability to ↵ | Benjamin Haisch | |
abort movies. | |||
2011-11-20 | TOLTECS: Updated TODO.txt | Benjamin Haisch | |
2011-11-20 | TOLTECS: A lot of changes in the graphics code: | Benjamin Haisch | |
- 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 | TOLTECS: Switched quicksave key from F6 to F5. | Benjamin Haisch | |
2011-11-20 | TOLTECS: Cleanup. | Benjamin Haisch | |
2011-11-20 | TOLTECS: Changed how screen masks are handled. | Benjamin Haisch | |
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 | TOLTECS: Renamed ybottom to priority | Benjamin Haisch | |
2011-11-20 | TOLTECS: Moved sprite drawing code to sprite.cpp | Benjamin Haisch | |
2011-11-20 | TOLTECS: More changes to wrapGuiText | Benjamin Haisch | |
2011-11-20 | TOLTECS: Removed _tempString etc. and replaced it with GuiTextWrapState | Benjamin Haisch | |
2011-11-20 | TOLTECS: Forgot script.cpp. | Benjamin Haisch | |
And some tests for menu & movie player in toltecs.cpp. | |||
2011-11-20 | TOLTECS: - Added menu system prototype (may change later) | Benjamin Haisch | |
- 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 | TOLTECS: Renamed some functions. | Benjamin Haisch | |
2011-11-20 | TOLTECS: Adjust y position of talk text lines. | Benjamin Haisch | |
2011-11-20 | TOLTECS: Added Screen::getTextWidth | Benjamin Haisch | |
2011-11-20 | TOLTECS: Add Russian version detection which works great. | Eugene Sandulenko | |
2011-11-20 | TOLTECS: Added TODO/NOTES/BUGS text | Benjamin Haisch | |
Also: The game is completable with this revision! (yay!:) | |||
2011-11-20 | TOLTECS: - Fixed setDeltaPalette (sprites at night now look correct) | Benjamin Haisch | |
- Renamed TalkTextItem.rects/rectCount to lines/lineCount - Workaround for font glitch in updateTalkText (text sets invalid font number) | |||
2011-11-20 | TOLTECS: Cancel all talkText items when camera position is changed (fixes ↵ | Benjamin Haisch | |
some crashes and odd behaviour) | |||
2011-11-20 | TOLTECS: Merged text drawing routines into drawString | Benjamin Haisch | |
2011-11-20 | TOLTECS: Fixed bug in anim frame displaying. | Benjamin Haisch | |
2011-11-20 | TOLTECS: Fixed text command parsing in updateVerbLine | Benjamin Haisch | |
2011-11-20 | TOLTECS: Clear the text duration first in updateTalkText before adding text ↵ | Benjamin Haisch | |
lines (else the durations add up and the text stays on screen a really long time) | |||
2011-11-20 | TOLTECS: Fixed a script bug (compare opcodes work on unsigned values). So ↵ | Benjamin Haisch | |
far this caused one error I noticed when climbing up the ladder in the barn where the camera didn't scroll up properly, but now it's all fine. | |||
2011-11-20 | TOLTECS: Corrected debug output. | Benjamin Haisch | |
2011-11-20 | TOLTECS: Fixed clipping (the clipping of the right border with flipped ↵ | Benjamin Haisch | |
sprites was buggy) | |||
2011-11-20 | TOLTECS: Finished sprite clipping. | Benjamin Haisch | |
2011-11-20 | TOLTECS: Deleted obsolete files. | Benjamin Haisch | |