Commit Graph

57 Commits

Author SHA1 Message Date
athrxx
26a692ff5c KYRA: (EOB) - change behavior of safe game file importing code
- The initial import of original save files will now use the next free available slots instead of moving the original files to the top of the save file list
- add error check to loading routine for original saves
- also limit debug console command to main menu, since it causes issues when used during the game or during character generation
2012-01-16 16:52:13 +01:00
athrxx
d355c536c4 KYRA: (EOB) - add support for original save game files
The engine will try to import original save game files once per target (especially the "Quick Start Party").
Afterwards the user can manually import save files with the debug console.
2012-01-15 13:36:50 +01:00
Johannes Schickel
c805e5f5dc KYRA: Fix missing debug commands.
This is a regression from cfac223cee.
2012-01-14 17:04:35 +01:00
Johannes Schickel
9b51b138db KYRA: Some formatting fixes. 2011-12-26 21:34:22 +01:00
athrxx
0aa3238523 KYRA: (EOB/LOL) - rename some vars
(all cases of Eob to EoB, all cases of Lol to LoL, all cases of LolEobCommon to RpgCommon)
2011-12-26 16:18:16 +01:00
athrxx
816b40ebf8 KYRA: (EOB) - add debugger, etc.
- add basic debugger support
- fix several minor bugs
2011-12-26 16:18:15 +01:00
Johannes Schickel
cfac223cee KYRA: "Fix" bug #3166235 "KYRA: Crash on startup on OS X due to invalid PAK file".
Now we can show such errors in the debugger, since we initialize and the
screen resolution and the debugger before initializing the resource manager.
This allows our error function to open up the debugger and show the error at
least.

A better feedback to the user might be desirable, but it is not really
feasible with our current possibilites for error reporting.
2011-11-18 03:47:51 +01:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
athrxx
90fa4cf15f KYRA: formatting 2011-07-03 14:40:55 +02:00
Julien
69c7673e53 KYRA: Allocate screen region buffer on the heap 2011-06-23 15:11:38 +08:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Johannes Schickel
7d03da14cb KYRA: Clean up of header includes. 2011-04-28 15:39:57 +02:00
Max Horn
6edc86a19b DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engine
svn-id: r54815
2010-12-07 18:54:21 +00:00
Johannes Schickel
8252fc30ce KYRA: Pause engine when the debugger is open.
svn-id: r54032
2010-11-01 22:19:16 +00:00
Max Horn
a984fb17c2 GUI: Add GCC_PRINTF to GUI::Debugger::DebugPrintf & fix resulting warnings
svn-id: r54007
2010-11-01 16:03:35 +00:00
Johannes Schickel
feff6fecdf KYRA: Cleanup.
svn-id: r52340
2010-08-24 13:41:24 +00:00
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