Commit Graph
107 Commits
Author SHA1 Message Date
Johannes Schickel f42d222069 Got rid of some code duplication.
svn-id: r31880
2008-05-05 17:18:11 +00:00
Johannes Schickel 2afff04468 - Added support for Kyra3 GUI (audio and game options not working yet)
- Added support for loading directly from command line for Kyra3

svn-id: r31876
2008-05-05 16:05:56 +00:00
Johannes Schickel c15ad0e373 Initial common base between kyra2 and kyra3 GUI code.
svn-id: r31867
2008-05-04 15:37:41 +00:00
Johannes Schickel f71b4afcfa Renamed kyra2 and kyra3 gui files.
svn-id: r31866
2008-05-04 15:18:46 +00:00
Johannes Schickel 7342629944 Cleanup.
svn-id: r31860
2008-05-04 13:11:17 +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
Florian Kagerer 00dde660e3 fix sjis text color (ship scene)
svn-id: r31517
2008-04-16 19:43:56 +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
Florian Kagerer 1fc3df7905 fix label for first save slot (towns/floppy)
svn-id: r31440
2008-04-06 19:48:47 +00:00
Johannes Schickel 4b58a431da Implemented support for Towns (and hopefully DOS floppy too) menus.
svn-id: r31438
2008-04-06 16:54:51 +00:00
Johannes Schickel 6552193ceb Fixed mouse input handling when entering savefile description.
svn-id: r31436
2008-04-06 15:31:57 +00:00
Johannes Schickel 4f71d3814c Fixed various bugs in GUI_v2::processButtonList.
This fixes bugs:
 - #1935827 "HoF: Buttons pressed state not available"
 - #1935219 "HoF: artefact after loading game"

svn-id: r31422
2008-04-06 13:06:05 +00:00
Johannes Schickel c826716a91 Don't rename quicksave filenames when deleting files.
svn-id: r31401
2008-04-05 03:13:26 +00:00
Johannes Schickel b99d5603cf - Changed quicksaves to use slots 990-998.
- Made slots 990-999 not writeable for savegames via menu.
- Temporary save in HoF now uses slot 999.

svn-id: r31400
2008-04-05 03:03:10 +00:00
Johannes Schickel 066a55ef33 Small fix in processButtonList.
svn-id: r31399
2008-04-05 02:50:38 +00:00
Johannes Schickel dd8676877e - cleanup
- sort savefiles in kyra from newest -> oldest

svn-id: r31397
2008-04-05 02:40:28 +00:00
Johannes Schickel c1319f8034 Cleanup.
svn-id: r31396
2008-04-05 02:24:43 +00:00
Johannes Schickel 7020627572 - Implemented delete savegame menu
- Reverted hack introduced with last commit

svn-id: r31395
2008-04-05 02:22:11 +00:00
Johannes Schickel eac671de99 Implemented proper savefile listing, this fixes bug #1479872 "KYRA1: a small menu issue".
svn-id: r31392
2008-04-05 01:49:28 +00:00
Johannes Schickel b890b33a31 Remove temporary savefile after it was loaded.
svn-id: r31390
2008-04-04 18:41:30 +00:00
Johannes Schickel 35a422f00e Disable buttons properly for non CD version.
svn-id: r31388
2008-04-04 18:26:37 +00:00
Johannes Schickel cd47709a2a Disabled some more options settings for non talkie versions.
svn-id: r31386
2008-04-04 18:11:44 +00:00
Johannes Schickel 272fa6d578 Implemented audio menu, slider bars not moveable via mouse yet though.
svn-id: r31384
2008-04-04 18:02:50 +00:00
Johannes Schickel 0aecc4fb03 Implemented game options menu.
svn-id: r31378
2008-04-04 08:13:35 +00:00
Johannes Schickel 84af9cae9d Added support for quit game button.
svn-id: r31376
2008-04-04 06:45:39 +00:00
Johannes Schickel 3dc6f9000d Added partial support for main menu. Only load, save and resume buttons are working currently
svn-id: r31375
2008-04-04 06:24:49 +00:00
Florian Kagerer 834badfc95 cleanup
svn-id: r31374
2008-04-04 01:43:20 +00:00
Florian Kagerer f3b42e3f90 This fixes the menus for fm-towns and floppy versions (only load and death menu atm).
svn-id: r31373
2008-04-04 01:12:35 +00:00
Johannes Schickel 4fa0740a27 Implemented death menu. This also fixes bug #1926892 "HoF: Odd behaviour when Zanthia gets killed(?)".
svn-id: r31360
2008-04-02 03:16:34 +00:00
Johannes Schickel 7744a3b053 Fixed spellbook graphics in German CD version.
svn-id: r31354
2008-04-01 18:23:54 +00:00
Johannes Schickel 54d2e7128e Implement quit flag handling in Kyra2 GUI code.
svn-id: r31336
2008-03-30 18:41:11 +00:00
Johannes Schickel f4e6109b33 - fixed savegame description loading in kyra1
- added Kyra2 load menu, currently just accessable from startup menu though

svn-id: r31331
2008-03-30 18:27:46 +00:00
Johannes Schickel 7605a9a517 Changed HoF GUI code to use common GUI code now.
svn-id: r31295
2008-03-28 16:15:00 +00:00
Johannes Schickel c5929561ba - Clear input queue after loading game via hotkeys.
- Fixed bug which caused the need for clicking twice to change pages in spellbook.

svn-id: r31282
2008-03-28 01:03:54 +00:00
Johannes Schickel cb22a83034 - made Screen_v2::applyOverlay support dirty rect handling
- fixed copyRegion flags in KyraEngine_v2::scrollInventoryWheel

svn-id: r31206
2008-03-20 12:29:35 +00:00
Johannes Schickel 558625ff45 Fixed bug #1920869 "HoF: palette artifacts in inventory".
svn-id: r31204
2008-03-20 12:07:06 +00:00
Johannes Schickel 01a24e5a6f Supply correct flags to copyRegion when displaying spellbook pages.
svn-id: r31200
2008-03-20 11:37:10 +00:00
Johannes Schickel 2af4fc1034 - Implemented opcodes:
-> 21: o2_backUpScreen
  -> 22: o2_restoreScreen
  -> 28: o2_addItemToInventory
  -> 50: o2_wipeDownMouseItem
  -> 67: o2_loadPalette384
  -> 68: o2_setPalette384
  -> 165: o2_disableTimer
  -> 166: o2_enableTimer
  -> 167: o2_setTimerCountdown
- renamed some timer functions

svn-id: r31182
2008-03-18 15:50:43 +00:00
Johannes Schickel d4daa244d8 Fixed bug, which caused displaying wrong string to be shown then combining items in HoF.
svn-id: r31180
2008-03-18 13:51:16 +00:00
Johannes Schickel 136040b869 Cleanup.
svn-id: r31162
2008-03-17 20:36:58 +00:00
Johannes Schickel fc47cbe629 Probably fixing string issues in menu.
svn-id: r31161
2008-03-17 20:34:46 +00:00
Johannes Schickel f88a2923cd Implemented opcodes:
- 36: o2_removeItemFromInventory
 - 64: o2_disableAnimObject
 - 65: o2_enableAnimObject
 - 101: o2_showLetter
 - 115: o2_setSceneAnimPosAndUpdate

svn-id: r31131
2008-03-15 19:55:05 +00:00
Florian Kagerer 9ebc676241 sjis bug fix
svn-id: r31091
2008-03-09 15:52:44 +00:00
Florian Kagerer 4712089f18 floppy/fm-towns implementation for spell book
svn-id: r31089
2008-03-09 15:26:06 +00:00
Johannes Schickel d2bbfbcc35 - fixed little glitch when putting items in cauldron
- implemented listing of items in cauldron

svn-id: r31088
2008-03-09 15:24:47 +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
Torbjörn Andersson 95c5a48853 Fixed warning.
svn-id: r31086
2008-03-09 12:25:48 +00:00
Johannes Schickel 9b6be10181 Implemented spellbook in HoF.
svn-id: r31084
2008-03-09 11:28:51 +00:00
Johannes Schickel 3a83cf654e Fixed access of inventory in HoF while cursor is not visible.
svn-id: r31081
2008-03-09 09:58:05 +00:00
Johannes Schickel 130cfded75 Implement inventory scrolling for HoF.
svn-id: r31043
2008-03-05 17:38:12 +00:00