Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-08-03 | TOLTECS: Take advantage of Surface::getPixels. | Johannes Schickel | |
2013-08-03 | TOLTECS: Prefer getBasePtr over direct Surface::pixels access. | Johannes Schickel | |
2013-05-14 | TOLTECS: Fix operator order (pre-decrement instead of post-decrement) | Filippos Karapetis | |
A typo in commit 98fa064. Thanks to LordHoto for pointing that out | |||
2013-05-14 | TOLTECS: Fix bug #3613032 - "TOLTECS: Crash during peace pipe coughing scene" | Filippos Karapetis | |
Check for the end of the movie resource before buffering more audio chunks. This avoids reading past the end of the movie resource. Also, clean up some movie related checks | |||
2013-05-02 | COMMON: Change kPlatformPC to kPlatformDOS | Matthew Hoops | |
"PC" was very ambiguous and now it matches what we show in the GUI. This also corrects sword2's platform to Windows. | |||
2013-04-26 | TOLTECS: Ignore invalid script opcodes (script bugs) - bug #3604025 | Filippos Karapetis | |
The original ignores invalid opcodes as well, according to johndoe | |||
2013-04-26 | TOLTECS: Remove dead code | Filippos Karapetis | |
The clearSprites() method is a leftover from the older sprite drawing code | |||
2013-03-15 | TOLTECS: Work around undefined subtitle behaviour at script loading | Torbjörn Andersson | |
It may be because of an underlying bug, but there is at least one case where a script is unloaded and replaced by another script while that script slot still has an active subtitle. This causes it to print random garbage for me, and may be causing crashes for others. I've discussed this patch with johndoe, and he was ok with it, so let's see how it works out. | |||
2013-01-26 | JANITORIAL: Enforce "} // End of namespace" with a single space after }. | Johannes Schickel | |
2013-01-22 | TOLTECS: Don't change the archive position when loading a resource (bug ↵ | Filippos Karapetis | |
#3601567) | |||
2013-01-22 | TOLTECS: Whitespace fixes and explanation of some magic values | Filippos Karapetis | |
2013-01-13 | TOLTECS: Fix bug #3600166 - "TOLTECS: Parrot speech cuts off Fenimore's in ↵ | Filippos Karapetis | |
Cemetery" | |||
2013-01-13 | TOLTECS: Replace a magic value with its appropriate enum | Filippos Karapetis | |
2013-01-13 | TOLTECS: Whitespace fixes | Filippos Karapetis | |
2013-01-13 | TOLTECS: Fix bug #3599370 - "TOLTECS: Text on intro video not shown as per ↵ | Filippos Karapetis | |
original" | |||
2013-01-13 | TOLTECS: Whitespace fixes | Filippos Karapetis | |
2013-01-08 | TOLTECS: Fix script bug #3599964 - "TOLTECS: Crash when entering cave" | Filippos Karapetis | |
2013-01-06 | TOLTECS: Add detection for the English demo and correct the German one | Filippos Karapetis | |
2013-01-04 | TOLTECS: When a new dialog opens, highlight active item (if any) | Torbjörn Andersson | |
We do this by acting as if the mouse just moved to its current position. I first noticed this on the original save/load dialogs. | |||
2013-01-04 | TOLTECS: Scroll original save/load dialog to bottom on opening | Torbjörn Andersson | |
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 | TOLTECS: Hide/show arrows in original save/load dialogs | Torbjörn Andersson | |
The arrows are only visible when there are savegames to scroll to in that direction. | |||
2013-01-04 | TOLTECS: Make aborting movies more reliable | Torbjörn Andersson | |
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 | TOLTECS: Remove unnecessary calls to quitGame() | Torbjörn Andersson | |
Calling quitGame() simply creates a new quit event. There's no need to do that when catching a quit event. | |||
2013-01-04 | TOLTECS: Adjust verb drawing to look more like original | Torbjörn Andersson | |
Both the "wobble" and the positions were slightly off. I didn't want to change _verbLineY because for one thing it doesn't seem to affect the drawing of the verbs, and for another it seems to be stored in savegames because... squirrel! | |||
2013-01-04 | TOLTECS: Small adjustments to the dialogs to better match original | Torbjörn Andersson | |
There are still lots of things that don't look or act quite like the original, but it's getting late here. | |||
2013-01-02 | TOLTECS: Don't allow dialog skipping while movies are playing | Torbjörn Andersson | |
2013-01-02 | TOLTECS: Silence Valgrind warnings | Torbjörn Andersson | |
At the very least, _mainPalette[] was being used (partly?) uninitialised in buildColorTransTable(), causing lots of warnings. | |||
2013-01-02 | TOLTECS: Cleanup of the script debug messages | Filippos Karapetis | |
2013-01-02 | TOLTECS: Add a debug console | Filippos Karapetis | |
2013-01-02 | TOLTECS: Fix the colors of the arrows in the sound volume screen | Filippos Karapetis | |
2013-01-02 | TOLTECS: Add an option to use the ScummVM save/load screens | Filippos Karapetis | |
2013-01-02 | TOLTECS: Some more menu color fixes | Filippos Karapetis | |
2013-01-02 | TOLTECS: Fix more menu colors | Filippos Karapetis | |
2013-01-02 | TOLTECS: Fix menu colors | Filippos Karapetis | |
2013-01-02 | TOLTECS: Cleanup | Filippos Karapetis | |
2012-11-19 | TOLTECS: Remove unused, but set, variable, start. | D G Turner | |
2012-10-06 | TOLTECS: Improve the shake screen effects during movies | Torbjörn Andersson | |
I don't know how often the original shook the screen (perhaps as often as it could?), but at least we now have the opportunity to shake the screen more than once per movie frame. | |||
2012-10-06 | TOLTECS: Hide the mouse cursor while a movie is playing, like the original | Filippos Karapetis | |
Thanks to eriktorbjorn for noticing this | |||
2012-10-06 | TOLTECS: Wait a bit after drawing each frame | Filippos Karapetis | |
This reduces the CPU load considerably (it's around 10% now, down from 50%) | |||
2012-10-06 | TOLTECS: Remove redundant screen updates | Filippos Karapetis | |
2012-10-03 | TOLTECS: Fix menu positining in the simplest way I can think of | Torbjörn Andersson | |
All this does is to offset the image when copying it to the screen, and offset the position when checking for clickable items at specific coordinates. It looks and works right to me. I guess that just leaves the buildColorTransTable2() function, but I'm useless for that so someone else will have to look into it. | |||
2012-10-03 | TOLTECS: Improve audio/video sync in the movie player | Torbjörn Andersson | |
At least on my computer, the sound would stall frequently after a while because the delay between frame was calculated from frame to frame. Now it's calculated from the start of the sound instead. | |||
2012-10-03 | TOLTECS: Added TODO comment about main menu position | Torbjörn Andersson | |
I'm guessing that the unused _top variable is what causes the main menu to be drawn at the wrong position at the very start of the game. At that point, it's 30 which seems to be by how much the Y coordinate is off. | |||
2012-10-02 | TOLTECS: Draw shaded rects to "front screen", not "background" | Torbjörn Andersson | |
The shadeRect() function is called just once (at the time of writing) and immediately afterwards the "front screen" is copied to the "background". Therefore, drawing to the background doesn't seem to make any sense. The colors are wrong, but I assume that's for the same reason that the text colors are wrong as well. | |||
2012-09-26 | JANITORIAL: Remove trailing whitespaces. | Johannes Schickel | |
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//' | |||
2012-09-21 | TOLTECS: Replace ceil with integer maths. | Johannes Schickel | |
This removes an unnecessary use of floating point maths. | |||
2012-09-14 | TOLTECS: Adapt the movie chunk buffer allocation code | Filippos Karapetis | |
Thanks to wjp and LordHoto for their feedback | |||
2012-09-11 | TOLTECS: Don't show movie subtitles when subtitles are disabled | Filippos Karapetis | |
2012-09-11 | TOLTECS: Stop reallocating the chunk buffer on each movie frame | Filippos Karapetis | |
This somewhat reduces the stuttering in the intro movie (but it's still there) | |||
2012-09-11 | TOLTECS: Remove a superfluous seek | Filippos Karapetis | |