Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | TINSEL: Small correction to the previous hotfix for _vm->_config crash | Max Horn | |
svn-id: r45621 | |||
2009-11-02 | TINSEL: Fix regression caused by the introduction of _vm->_config; proper ↵ | Max Horn | |
fix will be introduced later, when dialogs.cpp gets objectified svn-id: r45620 | |||
2009-11-02 | SCI: Fix hoyle hack | Walter van Niftrik | |
svn-id: r45619 | |||
2009-11-02 | TINSEL: Add isValidObject(OBJECT *obj) function; make objectList & currentCD ↵ | Max Horn | |
static vars; merge two logic blocks ('ifs') in DoRestoreSceneFrame svn-id: r45618 | |||
2009-11-02 | TINSEL: Turn config code into a simple C++ class | Max Horn | |
svn-id: r45617 | |||
2009-11-02 | Changed foo(void) to foo() in almost all non-backend source files | Max Horn | |
svn-id: r45616 | |||
2009-11-02 | SCI: Fix warning about unused variable | Max Horn | |
svn-id: r45614 | |||
2009-11-02 | SCI/newgui: Removed GuiCast structure | Martin Kiewitz | |
svn-id: r45613 | |||
2009-11-02 | SCI: SciGuiMenu created, kMenu-related stuff now using SciGui | Martin Kiewitz | |
svn-id: r45612 | |||
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 | SCI/newgui: kBaseSetter ported from gregs engine, kq5 pathfinding works now ↵ | Martin Kiewitz | |
correctly svn-id: r45601 | |||
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 | AGOS Simon1 Windows fix. Fixed careless use of setChar function. | Yotam Barnoy | |
svn-id: r45592 | |||
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-11-01 | SCI: AvoidPath: Add simpler visibility algorithm (still disabled). | Walter van Niftrik | |
svn-id: r45590 | |||
2009-11-01 | Kyra/FM-Towns: make sure that at least the synthesizer music plays when no ↵ | Florian Kagerer | |
cd audio tracks are found svn-id: r45589 | |||
2009-10-31 | SCI/newgui: fixing kDisposeWindow so that reanimate is correctly called ↵ | Martin Kiewitz | |
(fixes cels disappearing after removing windows) svn-id: r45588 | |||
2009-10-31 | SCI: AvoidPath: Switch to A* | Walter van Niftrik | |
svn-id: r45586 | |||
2009-10-31 | SCI/newgui: added portrait data layout as comment (not completely done) | Martin Kiewitz | |
svn-id: r45585 | |||
2009-10-31 | Clean up comment a bit. | Johannes Schickel | |
svn-id: r45583 | |||
2009-10-31 | Fix compilation. | Johannes Schickel | |
svn-id: r45582 | |||
2009-10-31 | Fix missing inventory in Kyrandia 1 PC98 16 color version, when loading a ↵ | Johannes Schickel | |
save via launcher or command line. svn-id: r45581 | |||
2009-10-31 | Fix certain scenes incorrectly appearing as fireberry bushes in ↵ | Johannes Schickel | |
floppy/FM-Towns/PC98 versions of Kyrandia 1. svn-id: r45580 | |||
2009-10-31 | SCI/newgui: SciGuiPortrait created | Martin Kiewitz | |
svn-id: r45579 | |||
2009-10-31 | better scene cleanup | Vladimir Menshakov | |
svn-id: r45578 | |||
2009-10-31 | fixed bird-assert from chapter 1 | Vladimir Menshakov | |
svn-id: r45577 | |||
2009-10-31 | added missing cutscene | Vladimir Menshakov | |
svn-id: r45576 | |||
2009-10-31 | added cutscenes where needed, fixed invalid skipping of fullscreen messages. | Vladimir Menshakov | |
svn-id: r45575 | |||
2009-10-31 | Comment out unused variables. | Johannes Schickel | |
svn-id: r45574 | |||
2009-10-31 | Fix some memory leaks in Kyrandia 1 (this hopefully fixes crashes on NDS ↵ | Johannes Schickel | |
after a long playtime). svn-id: r45572 | |||
2009-10-31 | Added a comment that the current implementation that we got on drawing ↵ | Filippos Karapetis | |
already scaled views is a temporary hack svn-id: r45571 | |||
2009-10-31 | Silenced GCC warning. | Torbjörn Andersson | |
svn-id: r45570 | |||
2009-10-31 | SCI/newgui: Changed code for graphSaveUpscaledHiresBox to not scale the ↵ | Martin Kiewitz | |
position, its not needed and would actually result in a crash cause of 2 times scaling. svn-id: r45569 | |||
2009-10-31 | Added some default directories | Filippos Karapetis | |
svn-id: r45568 | |||
2009-10-31 | - Added some TODOs | Filippos Karapetis | |
- Disabled the kGraph case used in KQ6 Windows for now, as it's problematic and crashes the game - Added extra param to kDrawCel(), used in KQ6 Windows The icon bar in KQ6 Windows is shown a bit better now svn-id: r45567 | |||
2009-10-31 | Slight optimization to the 2x scaler | Filippos Karapetis | |
svn-id: r45566 | |||
2009-10-31 | Upscale the mouse cursor when the screen is upscaled. Also, reapplied some ↵ | Filippos Karapetis | |
code which was accidentally reverted in commit #45562 svn-id: r45565 | |||
2009-10-31 | SCI/newgui: kGraph support for Save-UpscaledHires-Box (not sure if ↵ | Martin Kiewitz | |
coordinates are really hires, it seems that they are not) svn-id: r45564 |