aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/console.cpp
AgeCommit message (Collapse)Author
2010-01-03The backtrace command now outputs to the graphical consoleFilippos Karapetis
svn-id: r46934
2010-01-03The "room" command can now set the current room number, too (more ↵Filippos Karapetis
straightforward than changing global var 13) svn-id: r46925
2010-01-02SCI: listsaves is now "list_saves", also included entry in helpMartin Kiewitz
svn-id: r46884
2010-01-02SCI: implemented new console command "listsaves"Martin Kiewitz
svn-id: r46883
2010-01-02SCI: console behaviour changed for vmvars command, now allows entering ↵Martin Kiewitz
decimal values, also accepts hexadecimal values (use e.g. 12h). hexadecimal addresses are still accepted as well svn-id: r46878
2009-12-30The wrapper for the VMD decoder is only used in the SCI engine for SCI32 ↵Filippos Karapetis
games, so moved it inside the engine, instead of common code. Added support for VMD video playing from the "play_video" console command svn-id: r46737
2009-12-28SCI/new sound code:Filippos Karapetis
- Made the SciMusic class private, and added wrapper functions for invoking specific methods of SciMusic from outside the SoundCommandParser class - Many SCI games keep creating and destroying sound effects constantly (i.e. many times per second). Therefore, another scheme has been devised, which replaces the mutex that was in place. Whenever a sound command is run which operates on a specific object in the play list, we disallow onTimer() from kicking in. This isn't ideal, but it does stop random deadlocks because of locked mutexes without any noticeable side effects svn-id: r46681
2009-12-28SCI/new music code: Implemented the "songlib" debug commandFilippos Karapetis
svn-id: r46670
2009-12-26SCI/newgui: Added support for draw_pic commandMartin Kiewitz
svn-id: r46599
2009-12-22SCI: Fix some warningsMax Horn
svn-id: r46476
2009-12-20Moved all of the sound iterator code in its own directory, and added a ↵Filippos Karapetis
slight hack to the SoundCommandParser constructor svn-id: r46430
2009-12-19- Started wrapping the current sound code around appropriate definesFilippos Karapetis
- Introduced a new resource type, SoundResource, used in the new music code svn-id: r46421
2009-12-18Moved the interface class for the the custom SCI MIDI drivers together with ↵Filippos Karapetis
the actual driver implementation code svn-id: r46414
2009-12-04SCI: SciEvent created, kernel_sleep() createdMartin Kiewitz
svn-id: r46252
2009-11-04priority_first and priority_last are not used by the new drawing code, thus ↵Filippos Karapetis
the new code didn't handle priority changes by kGraph() svn-id: r45658
2009-10-30- Removed status_bar_foreground and status_bar_background variables from the ↵Filippos Karapetis
engine state - Implemented clearMenuBar() in the new graphics code - Removed the "status_bar" command, which was used to set custom colors for the status bar svn-id: r45538
2009-10-30Remove unused includes when INCLUDE_OLDGFX is not set. Implemented the full ↵Filippos Karapetis
screen updates that the current menu code is doing using new graphics functions (still unfinished). Some cleanup. svn-id: r45536
2009-10-28Rewrote kBaseSetter() to use new graphics functions and behave like the ↵Filippos Karapetis
original, and fixed a bug in the process (the previous code ignored z when calculating the height) svn-id: r45463
2009-10-28Enclose all of the old graphics code within the INCLUDE_OLDGFX safeguard ↵Filippos Karapetis
(defined in sci.h) svn-id: r45459
2009-10-25Moved the cel count calculation to the new graphics codeFilippos Karapetis
svn-id: r45379
2009-10-24SCI: Restore accumulator after executing send from debuggerWillem Jan Palenstijn
svn-id: r45360
2009-10-22Moved the view loop counting code in the new GUIFilippos Karapetis
svn-id: r45322
2009-10-18SCI: Make the implicit segMan param to GET_SEL32(V) and PUT_SEL32(V) explicitMax Horn
svn-id: r45234
2009-10-18Move the SeqDecoder to the Sci namespace, it makes more sense than Graphics ↵Matthew Hoops
because it's only used in Sci. svn-id: r45230
2009-10-17Added a new console command, "play_video", which can play a SEQ or AVI fileFilippos Karapetis
svn-id: r45178
2009-10-15SCI: Make send varselector reads more verbose. Add notes.Willem Jan Palenstijn
svn-id: r45131
2009-10-15SCI: Fix send debugger commandWillem Jan Palenstijn
svn-id: r45128
2009-10-14SCI: Improve cmdSend slightly. It's still broken, thoughWillem Jan Palenstijn
svn-id: r45097
2009-10-13Merged the rest of the cursor codeFilippos Karapetis
svn-id: r45029
2009-10-13Merged the cursor manipulation code - cursor views are still not doneFilippos Karapetis
svn-id: r45028
2009-10-11Implemented some advanced savegame functionality - loading and deleting ↵Filippos Karapetis
savegames from the GMM is now possible, and new saved games will also have thumbnails. Saving from the GMM creates corrupted saved games, so it has been disabled for now svn-id: r44930
2009-10-10Started rewriting the Object struct into a classFilippos Karapetis
svn-id: r44878
2009-10-07SCI: Turn lookup_node & lookup_list into SegManager::lookupNode & ↵Max Horn
SegManager::lookupList svn-id: r44769
2009-10-07SCI: Reduce header interdepencies once again. Rule of thumb: Never include a ↵Max Horn
header file from another header file unless you absolutely *must* do it; if possible, try to use class forwards instead, and include the headers from source files only svn-id: r44767
2009-10-07SCI: debug command undither implementedMartin Kiewitz
svn-id: r44761
2009-10-07- Cleaned up the cursor codeFilippos Karapetis
- Renamed gui -> _gui in EngineState, for consistency - Added a reference to SciGuiCursor in EngineState, to be used by current code - Renamed setCursorHide -> hideCursor, setCursorShow -> showCursor - Moved the cursor zone limiting code inside SciGuiCursor. This code is currently not functioning, as we need to call refreshPosition() before each updateScreen() call to limit the cursor position. svn-id: r44760
2009-10-07SCI/newgui: implemented debug command show_mapMartin Kiewitz
svn-id: r44735
2009-10-04SCI: Rename EngineState::segMan to _segManMax Horn
svn-id: r44629
2009-10-04SCI: Add SegManager::findObjectByName() method, make parse_reg_t() local to ↵Max Horn
console.cpp, and switch other code using it to use findObjectByName() instead. svn-id: r44628
2009-10-03SCI: Fix parse error in parse_reg_tWillem Jan Palenstijn
svn-id: r44578
2009-10-03SCI: Fix typoWillem Jan Palenstijn
svn-id: r44561
2009-10-02SCI: Fix parse_reg_t, it no longer modified the const string passed to itMax Horn
svn-id: r44545
2009-10-02SCI: Remove PRINT_STK macro; cleanupMax Horn
svn-id: r44533
2009-10-01SCI: Add some fixmes noted by salty-horse.Willem Jan Palenstijn
svn-id: r44513
2009-10-01- Removed the toggle for "weak" validations, as there are cases where they ↵Filippos Karapetis
fail (e.g. in Longbow), so there is no point in having strict validations - Removed the invalid toggle from kernel signatures - we now never error out on invalid object references, but throw a warning instead - Simplified determine_reg_type() svn-id: r44511
2009-10-01SCI: Remove outdated debugging hack.Willem Jan Palenstijn
In the past, a negative selector value was used to identify a callk stack frame. Currently a type of EXEC_STACK_TYPE_KERNEL already does that. svn-id: r44510
2009-09-30SCI: Replace magic '-42' by an enumMax Horn
svn-id: r44492
2009-09-30- Moved the list of synonyms and parser nodes inside the vocabulary classFilippos Karapetis
- Added a convenience member inside the EngineState struct to access the instance of the Vocabulary class svn-id: r44481
2009-09-25Create a define for the special "signal" offset used throughout the engine, ↵Filippos Karapetis
and fixed the arbitrary 0 values from commit #44294, set when some math functions do invalid calculations svn-id: r44359
2009-09-25SCI: Remove EngineState::game_version, it was only used for saving anyway. ↵Max Horn
Also remove syncCStr() svn-id: r44358