Commit Graph
86814 Commits
Author SHA1 Message Date
Johannes Schickel 4597178cf9 Fix palette regression in Lands of Lore.
svn-id: r41777
2009-06-22 19:46:08 +00:00
Denis Kasak 8c3e1b0e8d Documentation fix for the Font class.
svn-id: r41776
2009-06-22 19:32:47 +00:00
Denis Kasak a4693b8639 Replaced return values with Common::k*Error constants.
svn-id: r41775
2009-06-22 19:31:18 +00:00
Sven Hesse fae143f72d Renaming kDebugParser to kDebugExpression
svn-id: r41774
2009-06-22 16:30:51 +00:00
Sven Hesse c3aafec1fb Renaming parse.h and parse.cpp to expression.h and expression.cpp
svn-id: r41773
2009-06-22 16:30:35 +00:00
Sven Hesse 487a9bd14b Renaming "Parse" to "Expression"
svn-id: r41772
2009-06-22 16:30:06 +00:00
Sven Hesse 7ba9c46cb0 More signess consistency on the reading and seeking methods
svn-id: r41771
2009-06-22 16:29:45 +00:00
Sven Hesse 565a9f5b0d Don't assert on pop when no script is loaded
svn-id: r41770
2009-06-22 16:29:31 +00:00
Sven Hesse 49c46a46f7 Adding some comments
svn-id: r41769
2009-06-22 16:29:16 +00:00
Sven Hesse 58aeec17c0 Removing commented-out declarations
svn-id: r41768
2009-06-22 16:29:00 +00:00
Arnaud Boutonné ca10b516a3 Include recently added script.h and script.cpp
svn-id: r41766
2009-06-22 12:03:58 +00:00
Sven Hesse 59c32e72fb const correctness
svn-id: r41765
2009-06-22 11:53:46 +00:00
Travis Howell a937dfde96 Fix loading/saving in funshop titles.
svn-id: r41764
2009-06-22 11:00:53 +00:00
Paul Gilbert 4f631e9a89 Removed redundant variation of the routine to play sound effects
svn-id: r41763
2009-06-22 10:41:32 +00:00
Sven Hesse dc4e06dd6e Pushing script.o down
svn-id: r41762
2009-06-22 10:30:09 +00:00
Sven Hesse 65fc23f962 Removing the Parse object from GobEngine
svn-id: r41761
2009-06-22 10:29:48 +00:00
Sven Hesse 7d005f62c3 Putting evalBoolResult() and evalExpr() into Script
svn-id: r41760
2009-06-22 10:29:32 +00:00
Sven Hesse 850203fc73 Unwinding the call stack before unloading the script
svn-id: r41759
2009-06-22 10:16:45 +00:00
Sven Hesse 648139dda7 Removing the now useless cuckoo function and shrink the call stack entries accordingly
svn-id: r41758
2009-06-22 10:16:17 +00:00
Sven Hesse b6a26911a3 Giving CollisionArea a full-blown Script pointer instead the data pointer
svn-id: r41757
2009-06-22 10:15:52 +00:00
Sven Hesse 82568c66b1 Implemented loading TOTs from video file again
svn-id: r41756
2009-06-22 10:15:14 +00:00
Sven Hesse 28041433a5 Removing debug output
svn-id: r41755
2009-06-22 10:14:49 +00:00
Sven Hesse 7fbad08fd1 Implemented a call stack
svn-id: r41754
2009-06-22 10:14:18 +00:00
Sven Hesse 962fc19b57 Encapsulating script file access
svn-id: r41753
2009-06-22 10:13:37 +00:00
Sven Hesse dd9e62e31e Adding DataIO::existData()
svn-id: r41752
2009-06-22 10:12:33 +00:00
Sven Hesse 1dafcabb43 Encapsulated access to _resultStr
svn-id: r41751
2009-06-22 10:11:53 +00:00
Sven Hesse f6717373b5 Encapsulated access to Parse::_resultInt
svn-id: r41750
2009-06-22 10:11:25 +00:00
Paul Gilbert 640f322194 Added the dummy volume variable to the savegame format
svn-id: r41749
2009-06-22 06:35:08 +00:00
Paul Gilbert 8dfbd0f845 Implemented the Op_SetVolume method like the original, which simply set a dummy variable and never actually changed the volume
svn-id: r41748
2009-06-22 06:17:50 +00:00
Johannes Schickel 4c01d4a954 Fix memory leak.
svn-id: r41747
2009-06-22 02:41:56 +00:00
Johannes Schickel 5767277d8d - Fixed regression in Screen::fadeToBlack
- Fixed some palette regressions in Kyra1 Amiga (only the intro works currently)

svn-id: r41746
2009-06-22 02:37:57 +00:00
Johannes Schickel d7432e18ea Changed Screen::loadPalette to take a reference to a Palette object instead of an array.
svn-id: r41745
2009-06-22 02:37:41 +00:00
Johannes Schickel d2e5166dae Changed Screen::loadBitmap and Movie::open to take an optional Palette pointer instead of an optional array pointer.
svn-id: r41744
2009-06-22 02:37:20 +00:00
Johannes Schickel 73ea378dee - Changed the following Screen functions to take a reference to a Palette object:
-> setScreenPalette
	-> fadePalette
	-> getFadeParams
	-> fadePalStep
- Fixed initialization of 256 color palettes

svn-id: r41743
2009-06-22 02:36:54 +00:00
Johannes Schickel 4bb392b593 Add wrapper functionality for copying full palettes.
svn-id: r41742
2009-06-22 02:36:16 +00:00
Johannes Schickel 882662977f Changed Screen::getPalette to return a reference to a Palette object.
svn-id: r41741
2009-06-22 02:35:45 +00:00
Johannes Schickel 9da52cb282 Got rid of Screen::_currentPalette.
svn-id: r41740
2009-06-22 02:35:04 +00:00
Johannes Schickel b448d506b8 Start refactoring palette handling into new class "Palette".
svn-id: r41739
2009-06-22 02:34:35 +00:00
Travis Howell 2a1a1576f2 Cleanup.
svn-id: r41737
2009-06-22 00:35:08 +00:00
Johannes Schickel 3424dfda98 Cleanup.
svn-id: r41736
2009-06-21 21:17:41 +00:00
Florian Kagerer 8e9de2b762 LOL: minor fix for floating cursors
svn-id: r41735
2009-06-21 21:05:06 +00:00
Florian Kagerer df611a5278 LOL: - implemented support for "floating cursors"
- prevent complete refresh for audio menu whenever a mouse button is pressed

svn-id: r41734
2009-06-21 20:40:31 +00:00
Johannes Schickel 7eaf539b23 Cleanup.
svn-id: r41733
2009-06-21 20:10:45 +00:00
Johannes Schickel 198e35a79f Fix slider buttons in LoL (and some minor cleanup).
svn-id: r41732
2009-06-21 19:49:20 +00:00
Johannes Schickel 67119f9c52 Cleanup: Change LoL specific config entries to use underscores instead of whitespaces.
svn-id: r41731
2009-06-21 19:01:04 +00:00
Johannes Schickel 76eee406d6 Cleanup: Change LoL code to use KYRA volume handling.
svn-id: r41730
2009-06-21 19:00:50 +00:00
Florian Kagerer 5b0b0051c1 LOL: - implemented audio menu
- menu settings now get saved
- remove white spaces

svn-id: r41729
2009-06-21 16:59:51 +00:00
Travis Howell f1b0595631 Add initial support for captureWizPolygon.
svn-id: r41728
2009-06-21 14:43:06 +00:00
Filippos Karapetis 245a2764fc Cleanup
svn-id: r41727
2009-06-21 13:06:08 +00:00
Paul Gilbert b14fa66f9f Minor fixes to the individual note playing code
svn-id: r41726
2009-06-21 11:53:11 +00:00