Commit Graph

46 Commits

Author SHA1 Message Date
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
Johannes Schickel
6c41dbdef2 Fixed crash when clicking on empty inventory slot.
svn-id: r31039
2008-03-03 22:51:16 +00:00
Johannes Schickel
b651a74b45 Started to implement GUI code for HoF.
Currently working:
 - _basic_ inventory, this doesn't include scrolling through the inventory

svn-id: r31038
2008-03-03 22:38:31 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Johannes Schickel
2dd6db4ca5 Commit slighty modified patch #1865509 "KYRA: kyradat support for hof".
svn-id: r30394
2008-01-10 23:25:19 +00:00
Oystein Eftevaag
41d67964b1 Committing [ 1816080 ] KYRA: Intro Patch for HoF, from Florian, with some cleanup and a minor fix
svn-id: r29233
2007-10-19 22:16:00 +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