Max Horn
1d4c82885d
DEBUGGER: Simplify how our console debugger works / is used
...
* Remove _isAttached member var and isAttached method
* Engines now always call the onFrame method; whether it does
something is decided by the debugger class resp. its subclasses
* Make detach() protected instead of private, so that subclasses
can invoke it
* Remove _detach_now member var (call detach() instead).
* Rename _frame_countdown to _frameCountdown and properly
document it.
* Add more doxygen comments
* Cleanup
svn-id: r50963
2010-07-17 18:38:42 +00:00
Johannes Schickel
d7432e18ea
Changed Screen::loadPalette to take a reference to a Palette object instead of an array.
...
svn-id: r41745
2009-06-22 02:37:41 +00:00
Johannes Schickel
73ea378dee
- Changed the following Screen functions to take a reference to a Palette object:
...
-> setScreenPalette
-> fadePalette
-> getFadeParams
-> fadePalStep
- Fixed initialization of 256 color palettes
svn-id: r41743
2009-06-22 02:36:54 +00:00
Johannes Schickel
5c233c447b
Remove LoLEngine::_gameFlags and convert all Lands of Lore code to use _flagsTable instead.
...
svn-id: r41351
2009-06-07 20:43:43 +00:00
Johannes Schickel
c1d01223aa
Fix bug #2799905 "WINCE: Compilation broken".
...
svn-id: r41124
2009-06-02 11:58:30 +00:00
Johannes Schickel
f57be08d6d
- Add some basic debugger for Lands of Lore.
...
- Allow the "flags" command in all Kyra games to be working properly with 320x200 GUI.
svn-id: r41113
2009-06-01 22:03:27 +00:00
Johannes Schickel
c59f9a9670
Cleanup.
...
svn-id: r40491
2009-05-12 14:55:45 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Johannes Schickel
ad6f12683f
Added 'enter' command to kyra1 debugger again.
...
svn-id: r32230
2008-05-23 13:05:53 +00:00
Johannes Schickel
bb03596744
- Renamed KyraEngine to KyraEngine_v1
...
- kyra.* -> kyra_v1.*
- scene.cpp -> scene_v1.cpp
svn-id: r32044
2008-05-11 23:16:50 +00:00
Johannes Schickel
6e0c569966
Consisteny fixes:
...
- Renamed classes *_v1 -> *_LoK
- Renamed files *_v1.* -> *_lok.*
- Renamed WSAMovieV1 -> WSAMovie_v1
- Renamed WSAMovieV2 -> WSAMovie_v2
svn-id: r32042
2008-05-11 22:32:37 +00:00
Johannes Schickel
5abc85bd0e
Fixed possible crash in Debugger_v2 when using 'give'.
...
svn-id: r31907
2008-05-06 20:55:33 +00:00
Johannes Schickel
e45a9d42e2
- Shared checkInput code between kyra2 and kyra3
...
- Debugger related cleanup
svn-id: r31868
2008-05-04 15:56:28 +00:00
Johannes Schickel
4b5f3266cf
Started to refactor kyra2/kyra3 code to a common base. (regressions possible, compiling currently broken)
...
svn-id: r31817
2008-05-02 14:46:30 +00:00
Johannes Schickel
66518b5be0
Oops... fixes compiling.
...
svn-id: r31724
2008-04-25 16:09:30 +00:00
Johannes Schickel
3150313377
- Committed slightly modified patch #1951735 "kyra3: debugger and "give" command"
...
- Added some more commands to new kyra3 debugger
- Cleaned up some debugger code
svn-id: r31723
2008-04-25 16:02:20 +00:00
Johannes Schickel
1f91dc0384
- some refactoring for Kyra3
...
- removed unneeded map code in KyraEngine_v3
svn-id: r31488
2008-04-12 23:17:21 +00:00
Johannes Schickel
b910d8d9bb
Refactored Kyrandia GUI code a bit.
...
svn-id: r31290
2008-03-28 09:00:30 +00:00
Johannes Schickel
70dfc2baf7
Made some more former kyra1 specific debug commands available for HoF.
...
svn-id: r31272
2008-03-27 22:05:13 +00:00
Johannes Schickel
165c937e20
Enabled gamespeed debug command also for Kyra1.
...
svn-id: r31267
2008-03-27 16:12:48 +00:00
Johannes Schickel
3e98286af9
Fixed palette loading debug command for amiga version.
...
svn-id: r31266
2008-03-27 15:32:20 +00:00
Johannes Schickel
4d4fbc9e97
Added debugger command to set screen palette.
...
svn-id: r31265
2008-03-27 15:27:31 +00:00
Johannes Schickel
5107404089
- improved timer information output in debugger
...
- fixed timer data loading
svn-id: r31215
2008-03-21 23:54:47 +00:00
Florian Kagerer
b9339221e4
- implement debugger commands: gamespeed and pass_codes
...
- implement opcode 151: meanWhileScene()
- fix dragon flight scene: this is still totally messed up, but at least the screen doesn't stay blank any more
svn-id: r31152
2008-03-17 01:34:24 +00:00
Johannes Schickel
05f68b17d4
- implemented cauldron handling for HoF (needs some more testing though)
...
- fixed bug in updateCharFacing
- added 'give' command to HoF debugger, which allows setting the hand item to a specified item
svn-id: r31087
2008-03-09 14:46:24 +00:00
Jordi Vilalta Prat
66e9d4f5e8
Removed trailing spaces.
...
svn-id: r30664
2008-01-27 19:47:41 +00:00
Paul Gilbert
6eb64102a4
Fix to remove a tab character from the GPL header
...
svn-id: r30238
2008-01-05 12:45:14 +00:00
Johannes Schickel
a03c829ace
- added a new generic debugger command 'facings'
...
- added a few new kyra2 specific debugger commands
svn-id: r29094
2007-09-24 21:58:11 +00:00
Johannes Schickel
287bf608d4
Added debugger support for kyra2.
...
svn-id: r29092
2007-09-24 20:02:08 +00:00
Johannes Schickel
41e4a7b156
Added command to enable screen debug functionallity. (instead of the old compile time enabling)
...
svn-id: r29078
2007-09-23 23:37:01 +00:00
Johannes Schickel
3c5d8c4031
Added debugger command to list the birthstone gems.
...
svn-id: r29077
2007-09-23 23:00:54 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
Johannes Schickel
1140fca82e
- Kyrandia 1 works again
...
- Added timer class for timer handling
- Little bit more resturcturing
- A little bit (almost nothing but a start!) Kyrandia 2 support
svn-id: r28297
2007-07-29 16:33:11 +00:00
Johannes Schickel
076d6b1bc1
Restructure Kyrandia sourcecode (part 2, compiling works again)
...
svn-id: r28296
2007-07-29 16:31:29 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Johannes Schickel
21b2c7bceb
Formatting/Cleanup.
...
svn-id: r26511
2007-04-15 16:41:20 +00:00
Max Horn
919092e5fc
Overhaul of the debugger code
...
* Moved Common::Debuggger to GUI::Debugger (mainly to satisfy linker
restrictions)
* Change the base Debugger class to *not* be a template class anymore;
instead, a thin (template based) wrapper class is used to hook up
debugger commands
* Removed duplicate Cmd_Exit and Cmd_Help methods in favor of a single
version of each in GUI::Debugger
* New Cmd_Help doesn't word wrap after 39/78 chars, but rather queries
the console to determine when to wrap
* Debugger::preEnter and postEnter aren't pure virtual anymore
svn-id: r23890
2006-09-16 16:58:27 +00:00
Oystein Eftevaag
3f31e1b27d
Added the proper death dialog, changed the sequence skipping code a bit to avoid
...
possible frame losses, and removed a (now) redundant call to showOverlay() in the
debugger.
svn-id: r21125
2006-03-07 14:16:52 +00:00
Johannes Schickel
0bea9cf47b
Made the kyra debug extensions more generic, i.e. scumm engine could replace
...
their debugC calls now with the new introduced debugC calls.
(A mail how to use it will follow shortly on -devel)
Also now these special engine debug flags can be specified from the commandline.
Also made the -c & --config parameter check more secure.
svn-id: r20695
2006-02-14 23:31:25 +00:00
Johannes Schickel
93e9639989
Reworked kyra debug output system. Now he have special kyra intern debug levels + the global debug levels, for now I enable all kyra debug levels if the global debug level is not -1. see 'toggle_debug' in the kyra debugger and kyra.h for the different levels. (This is just the beginning of it anyway, for example the sound debug level isn't used for now)
...
svn-id: r20678
2006-02-14 01:19:30 +00:00
Max Horn
26ee630756
Moved engines to the new engines/ directory
...
svn-id: r20582
2006-02-11 22:45:04 +00:00