Commit Graph

855 Commits

Author SHA1 Message Date
Johannes Schickel
bf5840f587 Fixed crash on startup when running japanese versions of Kyrandia.
svn-id: r31428
2008-04-06 14:41:25 +00:00
Johannes Schickel
1c8aa0c807 Set opcode 31 (o2_limitMouseRrange) to o2_dummy for now.
Also added a comment about that.

svn-id: r31427
2008-04-06 14:16:27 +00:00
Johannes Schickel
2755727249 Cleanup.
svn-id: r31426
2008-04-06 14:13:14 +00:00
Johannes Schickel
22992f4aa5 Implemented opcode 33 o2_loadSoundfile.
svn-id: r31425
2008-04-06 14:11:43 +00:00
Johannes Schickel
a2e355d671 Implemented fadeout waiting in KyraEngine_v2::enterNewScene for AdLib.
svn-id: r31424
2008-04-06 13:57:28 +00:00
Johannes Schickel
21a66f12ba - Fixed HACKs in o2_getMusicDriver and o2_getSfxDriver
- Implemented missing bits in KyraEngine_v2::enterNewScene for MIDI (AdLib code still missing)
- Added music/sfx type to Sound class

svn-id: r31423
2008-04-06 13:32:41 +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
Max Horn
29f1e6de38 Advanced detector: replaced kADFlagAugmentPreferredTarget by its inverse, kADFlagDontAugmentPreferredTarget (since all AdvDetector engines except Kyra used kADFlagAugmentPreferredTarget, it seems reasonable to assume that as default)
svn-id: r31413
2008-04-05 22:29:08 +00:00
Johannes Schickel
bfdca912bc Fixed regression causing a crash when the user had less than 5 savefiles.
svn-id: r31412
2008-04-05 17:33:54 +00:00
Johannes Schickel
c676cf560f Fixed crash when supplying illegal savefile names.
svn-id: r31402
2008-04-05 05:23:46 +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
25364dc618 Added simple hack to work around drawing of scroll button after loading game in HoF.
svn-id: r31394
2008-04-05 01:55:44 +00:00
Johannes Schickel
be27c94247 Fixed crash when opening menu after starting kyra1 with -x/--save-slot.
svn-id: r31393
2008-04-05 01:53:45 +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
24439e7056 Made sliders working.
svn-id: r31387
2008-04-04 18:14:10 +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
82c2f1203e Cleaned up volume settings managment.
svn-id: r31385
2008-04-04 18:09:19 +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
214d6b5eb7 Little less waste of memory.
svn-id: r31383
2008-04-04 15:55:18 +00:00
Filippos Karapetis
f83e93e6d8 Also hooked the death menu quit button to the game quit code implemented in rev #31376
svn-id: r31382
2008-04-04 13:28:53 +00:00
Johannes Schickel
05e2b66967 Fixed nameclash.
svn-id: r31379
2008-04-04 09:16:25 +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
10233af59f Cleanup.
-This line, and those below, will be ignored--

M    kyra/resource.cpp

svn-id: r31370
2008-04-03 21:42:04 +00:00
Johannes Schickel
057fb0e9ab Replaced unloadAllPakFiles with a simple _map.clear on resource class destruction. (Should save a little file i/o need on shutdown)
svn-id: r31369
2008-04-03 21:25:05 +00:00
Johannes Schickel
acb4bda9df - Added support for filename length > 64 in static resource code.
- Updated warning when 'INDEX' is not found
- Added filesize check for 'INDEX' file

svn-id: r31368
2008-04-03 19:56:45 +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
887f7dfb28 Fixed warnings with gcc 3.3.
svn-id: r31359
2008-04-02 02:46:50 +00:00
Johannes Schickel
3b81a73e52 Fixed bug in GUI code, should hopefully fix white boxes appearing around inventory.
svn-id: r31355
2008-04-01 18:35:14 +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
bd85909ff9 Don't enter run loop when quit flag is set.
svn-id: r31337
2008-03-30 18:41:55 +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
4a9891c006 Fixed bug which caused sometimes garbage text to be displayed.
svn-id: r31335
2008-03-30 18:37:27 +00:00
Johannes Schickel
a9d256108d Cleanup.
svn-id: r31332
2008-03-30 18:31:30 +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
dc813c1c20 Cleanup.
svn-id: r31319
2008-03-30 03:21:01 +00:00
Johannes Schickel
b7a3dfd9df Always clip rect to copy in Screen::copyRegion now, like the original does.
This fixes bug #1537373 "KYRA1: Crash when meeting Zanthia".

svn-id: r31318
2008-03-30 03:18:16 +00:00
Florian Kagerer
91e30d8e50 - get rid of const_cast
svn-id: r31317
2008-03-30 02:43:22 +00:00
Johannes Schickel
a957b45d5c Cleanup.
svn-id: r31313
2008-03-30 01:35:12 +00:00
Johannes Schickel
b3f858af2b Renamed some functions according to our coding guidelines.
svn-id: r31310
2008-03-30 01:01:12 +00:00