Commit graph

342 commits

Author SHA1 Message Date
Johannes Schickel
d046175f1f Typos.
svn-id: r32171
2008-05-18 14:50:41 +00:00
Johannes Schickel
e99c9048a8 Formatting.
svn-id: r32078
2008-05-12 22:37:21 +00:00
Florian Kagerer
6b5709be14 remove useless double check on sound list entries
svn-id: r32076
2008-05-12 22:13:33 +00:00
Florian Kagerer
c630fbde6a fix valgrind warning and some cleanup
svn-id: r32075
2008-05-12 21:52:44 +00:00
Johannes Schickel
289f96d37c More naming consistency fixes (fixes old TODO).
svn-id: r32062
2008-05-12 14:52:18 +00:00
Florian Kagerer
bde4fa1e9b fix for kyra 3 sfx (broken by last commit)
svn-id: r32061
2008-05-12 14:22:27 +00:00
Florian Kagerer
771854bdd9 move some kyra 3 static resources to kyra.dat
svn-id: r32058
2008-05-12 13:35:58 +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
4b21c2958d Implemented helium mode support for Kyra3.
svn-id: r32028
2008-05-11 17:50:13 +00:00
Johannes Schickel
4932660f13 - Implemented kyra3 album (page switch animation not yet implemented)
- Implemented opcode 25: o3_showAlbum

svn-id: r32022
2008-05-11 15:24:25 +00:00
Florian Kagerer
8bbf257525 implement item animations for MR
svn-id: r31973
2008-05-10 14:12:48 +00:00
Florian Kagerer
37c04c28a8 Fix invalid memory access bug in the library sequence (original static data seems to be bugged here)
svn-id: r31933
2008-05-07 21:04:06 +00:00
Johannes Schickel
3d9ea59616 Changed kyra to use delete[] instead of delete [].
svn-id: r31925
2008-05-07 14:20:37 +00:00
Johannes Schickel
2ee01bf757 - Fixed valgrind warnings in HoF
- Fixed memory leaks in HoF

svn-id: r31903
2008-05-06 17:30:31 +00:00
Johannes Schickel
c26e62e288 - Implemented Kyra3 audio options menu, Helium mode still missing.
- Fixed unitialized variable

svn-id: r31881
2008-05-05 17:56:39 +00:00
Johannes Schickel
81cfd2a716 Implemented support for Kyra3 game options menu (including studio audience and skip flag options).
svn-id: r31879
2008-05-05 17:12:48 +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
d5545bd8c5 - Moved newShape/temporaryScript code to KyraEngine_v2.
- Renamed newShape/temporaryScript code to animationScript.

svn-id: r31841
2008-05-03 19:23:45 +00:00
Johannes Schickel
5e4fceec2e Moved some character code from kyra2/kyra3 to KyraEngine_v2.
svn-id: r31822
2008-05-02 15:39:51 +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
43c10a8cc8 - Fixed some delay times
- Implemented opcodes:
 -> 99: o3_showGoodConscience
 -> 100: o3_goodConscienceChat
 -> 101: o3_hideGoodConscience

svn-id: r31766
2008-04-28 20:45:22 +00:00
Johannes Schickel
fa208a4386 - Implemented support for jesters staff, mood change and score displaying
- Fixed bug in KyraEngine_v3::loadMalcolmShapes

svn-id: r31736
2008-04-26 21:52:15 +00:00
Johannes Schickel
7eef295729 Added support for kyra3 inventory. (jesters staff not supported yet)
svn-id: r31735
2008-04-26 21:08:47 +00:00
Johannes Schickel
1c660c4524 Implemented opcode 56: o3_updateScore.
svn-id: r31704
2008-04-24 21:11:55 +00:00
Johannes Schickel
103e944fa4 Output error message when kyra.dat initialization fails because of old version or missing entries.
svn-id: r31695
2008-04-24 15:49:41 +00:00
Johannes Schickel
37d21cab59 Implemented special item string selection for french version of Kyra3.
svn-id: r31689
2008-04-24 13:27:05 +00:00
Johannes Schickel
ffc1e56cbd More kyra3 item drop down code.
svn-id: r31685
2008-04-24 13:05:14 +00:00
Johannes Schickel
6562a7cd8a Implemented parts of item drop down code for Kyra3.
svn-id: r31681
2008-04-23 22:53:19 +00:00
Johannes Schickel
c3cec1926f Implmenented inventory show/hide.
svn-id: r31676
2008-04-23 20:50:31 +00:00
Johannes Schickel
18ed600abe Implemented some kyra3 dialog support.
- Room enter talks by malcolm should be working now
 - Zanthia should say now some lines after landing

svn-id: r31660
2008-04-22 22:36:09 +00:00
Johannes Schickel
6692c4613d Implemented opcodes:
- 21: o3_showBadConscience
 - 23: o3_hideBadConscience

svn-id: r31584
2008-04-20 00:11:42 +00:00
Florian Kagerer
1d086550a7 - complete support for the playable HOF demo
svn-id: r31560
2008-04-18 19:11:58 +00:00
Johannes Schickel
ba90659705 Some kyra1 menu tweaking, now all languages should use the same clean layout instead of variable width button system (widths even changed at runtime, which looked rather strange).
svn-id: r31559
2008-04-18 15:58:49 +00:00
Johannes Schickel
87256747b1 Implemented sfx support for Kyra3.
svn-id: r31546
2008-04-17 17:46:39 +00:00
Johannes Schickel
d3fe051274 Some more kyra3 code. This should show the first scene for a brief second. (and it initializes a bit more internal stuff)
svn-id: r31518
2008-04-16 20:28:27 +00:00
Johannes Schickel
853b6e28e9 Implemented some kyra3 code.
svn-id: r31503
2008-04-14 20:20:51 +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
829823c9a2 towns music file name fix
svn-id: r31481
2008-04-10 23:31:21 +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
Florian Kagerer
22efb801d4 svn-id: r31431 2008-04-06 14:57:01 +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
7020627572 - Implemented delete savegame menu
- Reverted hack introduced with last commit

svn-id: r31395
2008-04-05 02:22:11 +00:00
Johannes Schickel
24439e7056 Made sliders working.
svn-id: r31387
2008-04-04 18:14:10 +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
0aecc4fb03 Implemented game options menu.
svn-id: r31378
2008-04-04 08:13:35 +00:00