Commit Graph

140 Commits

Author SHA1 Message Date
Florian Kagerer
7ea5cefef4 LOL: implemented some monster related code (monsters now get placed in the maze, but they still don't do anything)
svn-id: r39039
2009-03-01 14:45:30 +00:00
Johannes Schickel
33934251cb Fix for long delay while fading palette in Zanthia's home, when mixing potions.
svn-id: r38425
2009-02-17 17:17:47 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Johannes Schickel
dfc08c823d Clean up cursor stack on engine quit properly.
svn-id: r35427
2008-12-18 20:22:49 +00:00
Max Horn
b085afc451 Removed obsolete refs to OSystem::kFeatureAutoComputeDirtyRects
svn-id: r35240
2008-12-04 19:09:10 +00:00
Johannes Schickel
5a0556f09c Committed my patch #2123680 "SDL: Backend transaction / rollback support".
svn-id: r35062
2008-11-14 22:08:10 +00:00
Max Horn
3248906156 Engine class changed:
- Moved initCommonGFX() && GUIErrorMessage() out of class Engine
- got rid of the _autosavePeriod member (this prevented users from
  changing the autosave period during runtime)
- Got rid of an evil 'using GUI::Dialog' statement
- Clarified some Doxygen comments

svn-id: r34720
2008-10-02 17:48:01 +00:00
Max Horn
9b160804ab Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
svn-id: r34700
2008-09-30 12:27:38 +00:00
Johannes Schickel
20a7a9112f Fix potentional bug in Screen::setResolution.
svn-id: r34533
2008-09-14 19:05:05 +00:00
Johannes Schickel
38097172e2 Typo.
svn-id: r34528
2008-09-14 16:48:20 +00:00
Johannes Schickel
eddae0e105 Fixed thumbnail creation / loading in kyra.
svn-id: r34527
2008-09-14 16:29:14 +00:00
Johannes Schickel
25d79f8918 Cleanup.
svn-id: r34484
2008-09-10 20:47:58 +00:00
Johannes Schickel
08b4cf127b Cleanup.
svn-id: r33948
2008-08-16 21:51:56 +00:00
Johannes Schickel
a023dba941 Fixed regressions in kyra1 amiga.
svn-id: r33522
2008-08-02 14:32:05 +00:00
Johannes Schickel
7e7468b322 - Fixed fadePalette for HoF and Kyra3
- Fixed bug in wsaFrameAnimationStep

svn-id: r33334
2008-07-27 12:12:40 +00:00
Florian Kagerer
7b30081be2 - improved hof music support for fm-towns (driver for *.twn tracks) (still needs quite some work)
- some PC-98 music support since it uses a very similar driver, but this can't be considered working yet)
- Kyra 1 PC-98 music doen't work at all since I haven't figured out yet how to turn track numbers into the corresponding music file names (might require a hard coded track map)

svn-id: r32807
2008-06-26 19:42:59 +00:00
Johannes Schickel
6f14d88138 More descriptive error message when encountering invalid font data.
svn-id: r32092
2008-05-13 21:17:46 +00:00
Johannes Schickel
de6e6408b6 Fixed some valgrind warnings.
svn-id: r32065
2008-05-12 17:23:28 +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
1d018f6046 Formatting.
svn-id: r32037
2008-05-11 21:09:16 +00:00
Johannes Schickel
b53fe83695 Silenced some g++ 4.3 warnings.
svn-id: r31956
2008-05-08 21:23:14 +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
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
3bde19a137 Fixed unitialized variable in Screen.
svn-id: r31732
2008-04-26 10:28:23 +00:00
Johannes Schickel
61101b6dce Fixed kyra screen initialization.
svn-id: r31730
2008-04-26 10:15:54 +00:00
Florian Kagerer
13ef28215d minor drawShape() bug fix for Malcolm's shadow
svn-id: r31728
2008-04-25 22:38:40 +00:00
Johannes Schickel
347eb2dc07 - cleanup
- some valgrind warning fixes

svn-id: r31669
2008-04-23 18:18:11 +00:00
Johannes Schickel
9616ec94c9 Fixed yet another two long standing bugs in Screen::encodeShape.
svn-id: r31633
2008-04-20 23:13:38 +00:00
Johannes Schickel
01bbe8cb6c Fixed long standing bug in encodeShape.
svn-id: r31593
2008-04-20 11:52:08 +00:00
Johannes Schickel
4b7e5aeaf7 Little fix in drawShape.
svn-id: r31555
2008-04-17 22:50:15 +00:00
Torbjörn Andersson
7ec2b87fb6 Commented out unused variables.
svn-id: r31539
2008-04-17 16:35:16 +00:00
Florian Kagerer
607039db01 some more drawShape plot functions now (after Lord Hoto's additions) required for Kyra 1
svn-id: r31528
2008-04-17 06:33:48 +00:00
Johannes Schickel
b2331a01ec Fixed mask page handling in ScreenEx::copyWsaRect, this time it should be correct...
svn-id: r31524
2008-04-16 23:11:46 +00:00
Johannes Schickel
2b87cd1fa9 - Some more mask page handling fixes for Kyra3.
- Implemented a few scene animation opcodes
- basic run loop (all the user can do is quit though)
- music related fix
Wee you can see the squirrel animation and listen to the music now!

svn-id: r31523
2008-04-16 23:09:07 +00:00
Torbjörn Andersson
ac25887670 Fixed warning.
svn-id: r31522
2008-04-16 22:30:13 +00:00
Johannes Schickel
b2a586acb2 Fixed shape drawing in HoF (regression) and Kyra3.
svn-id: r31521
2008-04-16 22:23:09 +00:00
Johannes Schickel
57e91a6add Some more kyra3 code.
svn-id: r31519
2008-04-16 21:13:52 +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
Florian Kagerer
00dde660e3 fix sjis text color (ship scene)
svn-id: r31517
2008-04-16 19:43:56 +00:00
Johannes Schickel
bebb4cefd1 Initialize all screen buffers properly.
svn-id: r31492
2008-04-12 23:40:14 +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
3d407b81f8 fix drawShape glitch (Brandon's feet got mutilated and one vertical line was not drawn when leaving the screen to the left or to the right )
svn-id: r31461
2008-04-09 23:38:11 +00:00
Florian Kagerer
831ab12268 implement missing Screen::drawShapePlotType11_15()
svn-id: r31441
2008-04-06 22:17:02 +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
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
Johannes Schickel
30c513eb2d - fixed formatting
- fixed const correctness (needed a const_cast though :-/)

svn-id: r31309
2008-03-30 00:55:16 +00:00