aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-11-04Moved most of the code for playing sound effects and speech into a separate ↵Filippos Karapetis
class svn-id: r45653
2009-11-04CleanupFilippos Karapetis
svn-id: r45652
2009-11-04Added support for loading the game's object listPaul Gilbert
svn-id: r45651
2009-11-04Provide compatibility with 2000/XP, where the "choice" command is not ↵Filippos Karapetis
available, and made the prompt more verbose svn-id: r45650
2009-11-04Properly animate the last phase of the walk before running callbacksRobert Špalek
svn-id: r45649
2009-11-04Implemented 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-03Added batch files to create default project files using the create_msvc toolFilippos Karapetis
svn-id: r45647
2009-11-03Enable FLAC by default for MSVC, since our new prebuilt library package ↵Johannes Schickel
supports FLAC as well. svn-id: r45646
2009-11-03Deleted all the MSVC project files, since they can be built quickly and ↵Filippos Karapetis
reliably from the gcc files using the create_msvc tool. Added some brief instructions on how to use the tool. svn-id: r45645
2009-11-03Created walking-callback infrastructure and converted the code to use itRobert Špalek
svn-id: r45644
2009-11-03Capitalize the word Sequel in The 11th Hour's title.Matthew Hoops
svn-id: r45643
2009-11-03Removed an old FIXMERobert Špalek
svn-id: r45642
2009-11-03Implement properly stayOn instead of using walkOnRobert Špalek
svn-id: r45641
2009-11-03Let setPath() store path with pixel precision, and update the map sprite ↵Robert Špalek
when reloaded svn-id: r45640
2009-11-03Fix for bug #2890038 (FT: Crashes when entering inventory)Max Horn
svn-id: r45638
2009-11-03SCI: Fix warning (declaration of 'FOO' shadows a member of 'this')Max Horn
svn-id: r45637
2009-11-03Turn off warning 4267 ("conversion from 'size_t' to xxx, possible loss of ↵Filippos Karapetis
data"), thrown in 64bit builds svn-id: r45636
2009-11-03SCI/newgui: fixes for statusbar and transitions, so menubar shows up in ↵Martin Kiewitz
intro of qfg1ega svn-id: r45635
2009-11-03SCI/newgui: SciGuiMenu partially implementedMartin Kiewitz
svn-id: r45634
2009-11-03Removed some more hacks for accessing the segment managerFilippos Karapetis
svn-id: r45631
2009-11-03Fixed the deletion of cursorBitmapFilippos Karapetis
svn-id: r45630
2009-11-03Use the new built in ScummVM.svg icon. Its now compatible with S60vx ↵Lars Persson
(previous version rendered very strangely) svn-id: r45629
2009-11-03Fixed a crash when loading in the old GUIFilippos Karapetis
svn-id: r45628
2009-11-03Remove the SegManager-related hacks for the selector defines, as the segMan ↵Filippos Karapetis
parameter is explicit now svn-id: r45626
2009-11-03Plugged a memory leakFilippos Karapetis
svn-id: r45625
2009-11-03Don't keep a reference to SegManager, as it gets deleted when loading. Fixes ↵Filippos Karapetis
a crash when loading games svn-id: r45624
2009-11-03Run the path obliqueing process repeatedly until it converges.Robert Špalek
svn-id: r45623
2009-11-03Greatly 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-02TINSEL: Small correction to the previous hotfix for _vm->_config crashMax Horn
svn-id: r45621
2009-11-02TINSEL: 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-02SCI: Fix hoyle hackWalter van Niftrik
svn-id: r45619
2009-11-02TINSEL: Add isValidObject(OBJECT *obj) function; make objectList & currentCD ↵Max Horn
static vars; merge two logic blocks ('ifs') in DoRestoreSceneFrame svn-id: r45618
2009-11-02TINSEL: Turn config code into a simple C++ classMax Horn
svn-id: r45617
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-11-02Enhance VOC debug outputMax Horn
svn-id: r45615
2009-11-02SCI: Fix warning about unused variableMax Horn
svn-id: r45614
2009-11-02SCI/newgui: Removed GuiCast structureMartin Kiewitz
svn-id: r45613
2009-11-02SCI: SciGuiMenu created, kMenu-related stuff now using SciGuiMartin Kiewitz
svn-id: r45612
2009-11-02Little clean-up after the refactoring.Robert Špalek
svn-id: r45609
2009-11-02Split loop() into several cleaned helper methodsRobert Špalek
svn-id: r45608
2009-11-02Refactored 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-01Commented the rest of the loop() logicRobert Špalek
svn-id: r45606
2009-11-01Fix SIGSEGV when quitting the game during playing soundsRobert Špalek
svn-id: r45605
2009-11-01Commented on loop() before refactoring.Robert Špalek
svn-id: r45604
2009-11-01Add command line parameter to automatically create a search table entry from ↵Johannes Schickel
a given file + offset/size pair. svn-id: r45603
2009-11-01Small bugfix in path-findingRobert Špalek
svn-id: r45602
2009-11-01SCI/newgui: kBaseSetter ported from gregs engine, kq5 pathfinding works now ↵Martin Kiewitz
correctly svn-id: r45601
2009-11-01One more clean-up of the path-finding codeRobert Špalek
svn-id: r45599
2009-11-01Cleaned 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-01Debugged computation and displaying of optimal walking pathsRobert Špalek
svn-id: r45597