Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-11-05 | Added helper functions for dragon animations | Robert Špalek | |
svn-id: r45677 | |||
2009-11-04 | Brought back one old line, just to be sure. | Robert Špalek | |
svn-id: r45675 | |||
2009-11-04 | Properly animate the last phase of the walk before running callbacks | Robert Špalek | |
svn-id: r45649 | |||
2009-11-04 | Implemented and debugged the walking framework. | Robert Špalek | |
The hero does not walk yet (it still teleports to the target immediately), but that is just because the actual walking algorithm is left trivial first. However, the main game loop, callbacks, and waiting all already work with the general framework. svn-id: r45648 | |||
2009-11-03 | Created walking-callback infrastructure and converted the code to use it | Robert Špalek | |
svn-id: r45644 | |||
2009-11-03 | Removed an old FIXME | Robert Špalek | |
svn-id: r45642 | |||
2009-11-03 | Implement properly stayOn instead of using walkOn | Robert Špalek | |
svn-id: r45641 | |||
2009-11-03 | Let setPath() store path with pixel precision, and update the map sprite ↵ | Robert Špalek | |
when reloaded svn-id: r45640 | |||
2009-11-03 | Run the path obliqueing process repeatedly until it converges. | Robert Špalek | |
svn-id: r45623 | |||
2009-11-03 | Greatly improved the quality of obliqueing the shortest path. | Robert Špalek | |
The current algorithm is much better than the original player'ss one and it find really nice curved paths. Also, started preparing interface for actually walking along this path. svn-id: r45622 | |||
2009-11-02 | Changed foo(void) to foo() in almost all non-backend source files | Max Horn | |
svn-id: r45616 | |||
2009-11-02 | Little clean-up after the refactoring. | Robert Špalek | |
svn-id: r45609 | |||
2009-11-02 | Split loop() into several cleaned helper methods | Robert Špalek | |
svn-id: r45608 | |||
2009-11-02 | Refactored running loop(). | Robert Špalek | |
- shouldExitLoop() is a bool again and introduced new flag isReloaded() instead of adding special hacky value 2 - loop() accepts 2 parameters: loop substatus and shouldExit flag, because each caller previously had to set and restore these manually. loop() now also tests whether the substatuses are properly nested. reordered the loop-exitting code. - renamed loop substatuses to logical names - enterNewRoom() returns bool whether loop() should continue so that start() doesn't have to test and clear shouldEndProgram(). it doesn't need force_reload as a parameter anymore. - dialog selections use new inner substatus instead of outer substatus, for consistency svn-id: r45607 | |||
2009-11-01 | Commented the rest of the loop() logic | Robert Špalek | |
svn-id: r45606 | |||
2009-11-01 | Fix SIGSEGV when quitting the game during playing sounds | Robert Špalek | |
svn-id: r45605 | |||
2009-11-01 | Commented on loop() before refactoring. | Robert Špalek | |
svn-id: r45604 | |||
2009-11-01 | Small bugfix in path-finding | Robert Špalek | |
svn-id: r45602 | |||
2009-11-01 | One more clean-up of the path-finding code | Robert Špalek | |
svn-id: r45599 | |||
2009-11-01 | Cleaned up the walking code. | Robert Špalek | |
PathVertex replaced by Common::Point. Do not update the path sprites if not in the debugging mode. svn-id: r45598 | |||
2009-11-01 | Debugged computation and displaying of optimal walking paths | Robert Špalek | |
svn-id: r45597 | |||
2009-11-01 | Add methods to draw computed walking paths. | Robert Špalek | |
svn-id: r45596 | |||
2009-11-01 | Fix mistakenly ordered flushing revealed by the last commit | Robert Špalek | |
svn-id: r45595 | |||
2009-11-01 | Get rid of doubling memory allocation and a lot of copying. | Robert Špalek | |
The Sprite class points to the original buffer (which is cached in the memory thanks to BArchive machinery) instead of allocating its own buffer and copying the source there. svn-id: r45594 | |||
2009-11-01 | Implemented some utility functions for path-finding. | Robert Špalek | |
In particular, breadth-first search algorithm for getting the shortest path in the walkable area and an algorithm making the path oblique when possible. svn-id: r45591 | |||
2009-10-30 | Move drawing of walking map to walking.cpp | Robert Špalek | |
svn-id: r45525 | |||
2009-10-30 | Moved all one-line getters/setters to the header files | Robert Špalek | |
svn-id: r45524 | |||
2009-10-30 | Fixed svn:keywords | Robert Špalek | |
svn-id: r45523 | |||
2009-10-30 | Move WalkingMap instance to Game, and clean up parameters | Robert Špalek | |
svn-id: r45516 | |||
2009-10-30 | Remove the last 2 default parameter values. | Robert Špalek | |
They usually just add unnecessary confusion and this is definitely such an example. Removal will clarify the code. svn-id: r45512 | |||
2009-10-30 | Remove most of default parameter values. | Robert Špalek | |
Also, add comments to the last commit. svn-id: r45511 | |||
2009-10-30 | Move WalkingMap into new module. | Robert Špalek | |
Also, fix a bug when loading the default walking map (wasn't implemented) and setting font size. The reason I move this code into a new module is because I will augment it with other walking-related algorithms soon. svn-id: r45510 | |||
2009-10-29 | Silenced GCC warning. | Torbjörn Andersson | |
svn-id: r45505 | |||
2009-10-29 | Implement flipping the QuickHero and SpeedText flags in GPL2. | Robert Špalek | |
All GPL2 callbacks are now fully implemented. It remains to implement proper walking. svn-id: r45501 | |||
2009-10-29 | Fix several palette fading bugs. | Robert Špalek | |
svn-id: r45497 | |||
2009-10-28 | Implement palette fading | Robert Špalek | |
svn-id: r45455 | |||
2009-10-28 | Fix initialization of the mouse cursor. | Robert Špalek | |
svn-id: r45453 | |||
2009-10-28 | Fix entering the same room when re-loading the game. | Robert Špalek | |
(Most objects were not loaded due to incorrect cleaning of a flag). Also, clean up accessing some boolean attributes. svn-id: r45452 | |||
2009-10-27 | Don't change mouse cursors so ridiculously often. | Robert Špalek | |
svn-id: r45451 | |||
2009-10-26 | fix free/delete | Robert Špalek | |
svn-id: r45422 | |||
2009-10-26 | Fix 2 MIDI bugs | Robert Špalek | |
svn-id: r45392 | |||
2009-10-26 | Fix Escape in the intro, and switching map and the inventory | Robert Špalek | |
svn-id: r45389 | |||
2009-10-22 | Implemented GPL2 commands for music. | Robert Špalek | |
Debugged everything. svn-id: r45330 | |||
2009-10-22 | Fix uninitialized channel volumes. | Robert Špalek | |
This fixed stopped music after calling the configuration dialog. svn-id: r45327 | |||
2009-10-22 | Improved music handling: | Robert Špalek | |
- reading the volume from the configuration - error handling of non-existent MIDI files - pausing/resuming music unfortunately, sometimes music stops playing or slows down, and my log messages have so far not helped me to identify why svn-id: r45326 | |||
2009-10-22 | Avoid opening and closing BArchive files all the time | Robert Špalek | |
svn-id: r45325 | |||
2009-10-21 | Enabled music. | Robert Špalek | |
Several TODO's added. svn-id: r45298 | |||
2009-10-16 | Fix memory leaks when reading thumbnails | Robert Špalek | |
svn-id: r45142 | |||
2009-10-15 | Don't crash without sound support. | Robert Špalek | |
svn-id: r45137 | |||
2009-10-13 | Set all sound/subtitle-related parameters from ConfMan. | Robert Špalek | |
Made it intelligent so that when, for example, the dubbing file doesn't exist, we don't fail, but instead always show subtitles even if the GUI settings says dubbing only, etc. svn-id: r45002 |