Jody Northup
d3283f86fc
Simplified colormode enum
...
svn-id: r41578
2009-06-16 05:34:12 +00:00
Jody Northup
fb96e826f2
Simplified cursor related 16-bit code.
...
svn-id: r41577
2009-06-16 05:33:11 +00:00
Florian Kagerer
475c967d0d
KYRA: fixed regression (broken menu slide bars in HOF/MR)
...
svn-id: r41576
2009-06-15 23:22:31 +00:00
Sven Hesse
434be5c65a
Renamed _inter_resStr to _resultStr
...
svn-id: r41575
2009-06-15 23:11:29 +00:00
Sven Hesse
1b67620d99
Renaming _inter_resVal to _resultInt
...
svn-id: r41574
2009-06-15 23:11:08 +00:00
Sven Hesse
67a9ff7dd3
Moving _inter_resVal and _inter_resStr from Global to Parse
...
svn-id: r41573
2009-06-15 23:10:51 +00:00
Sven Hesse
58fbca49f5
Splitting up parseExpr a bit
...
svn-id: r41572
2009-06-15 23:10:27 +00:00
Sven Hesse
2219533441
Remove some now superfluous comments
...
svn-id: r41571
2009-06-15 23:10:10 +00:00
Sven Hesse
5c58b9a3a4
Using cmpHelper for OP_NEQ too, since the original does a normal strcmp there as well. No idea where the stricmp came from
...
svn-id: r41570
2009-06-15 23:09:57 +00:00
Sven Hesse
f6ca65206f
Renaming some variables in o1_assign() and o2_assign() to mirror the structure in o6_assign()
...
svn-id: r41569
2009-06-15 23:09:37 +00:00
Sven Hesse
190dd0d077
Using the TYPE_ enum where applicable
...
svn-id: r41568
2009-06-15 23:09:23 +00:00
Sven Hesse
236fad1f19
Adding a TYPE_ enum
...
svn-id: r41567
2009-06-15 23:09:04 +00:00
Sven Hesse
75b44536b1
Fixing the signness indicated by the OP_ enums
...
svn-id: r41566
2009-06-15 23:08:44 +00:00
Sven Hesse
42007f9d04
Propagating variable name changes
...
svn-id: r41565
2009-06-15 23:08:28 +00:00
Sven Hesse
e8a89cffb6
Renamed various variables to better reflect their meaning
...
svn-id: r41564
2009-06-15 23:08:09 +00:00
Sven Hesse
8b5233c5ff
Renamed varPos to varBase and split off getVarBase() from parseVarIndex() and parseExpr()
...
svn-id: r41563
2009-06-15 23:07:55 +00:00
Sven Hesse
0906068bff
Merging parseValExpr and parseExpr
...
svn-id: r41562
2009-06-15 23:07:38 +00:00
Florian Kagerer
650f3a50d2
LOL: implemented quit menu
...
svn-id: r41560
2009-06-15 21:39:43 +00:00
Arnaud Boutonné
2f8a0b9936
renamed playtoons target names to insult-free target names (maybe non-definitive names)
...
svn-id: r41559
2009-06-15 21:28:11 +00:00
Florian Kagerer
583a89be62
LOL: - started on the ingame menu code (death menu, load menu and main menu)
...
- fixed regression in kyra gui code (broken menu highlighting)
- fixed minor bug in animation code
svn-id: r41557
2009-06-15 20:52:09 +00:00
Arnaud Boutonné
f2e3ddf72a
Add MD5 for Playtoons 4 FR
...
svn-id: r41556
2009-06-15 19:46:00 +00:00
Denis Kasak
8249d24a63
Changing font colour constants to an enum.
...
svn-id: r41553
2009-06-15 17:14:38 +00:00
Denis Kasak
ca7d400dc3
Submitting changes to DraciEngine::go() mentioned in the last commit but omitted by accident. Removed superfluous BArchive::closeArchive() calls.
...
svn-id: r41552
2009-06-15 17:12:21 +00:00
Norbert Lange
c8d05aca48
My last commit fired an assert on some songs, fixed!
...
svn-id: r41551
2009-06-15 17:09:59 +00:00
Denis Kasak
30ef3a1223
Added BArchive::isOpen() method. Modified DraciEngine::go() to use it. Updated BArchive docs.
...
svn-id: r41550
2009-06-15 17:08:39 +00:00
Norbert Lange
6720928cb6
Fixed a bug which caused MI Song 3 to loop forever. Made my hack to automatically stop the player after all Patterns are stopped dependend on a variable.
...
svn-id: r41549
2009-06-15 17:03:49 +00:00
Willem Jan Palenstijn
3d9d542908
Fix compilation of SCI engine
...
svn-id: r41546
2009-06-15 13:50:41 +00:00
Travis Howell
e74ba9af6b
Add error if user attempt to play HE games using 16bit color, when 16bit support is disabled.
...
svn-id: r41544
2009-06-15 13:23:26 +00:00
Eugene Sandulenko
0ca17a7f8c
Fix compilation when 16BIT code is disabled.
...
svn-id: r41543
2009-06-15 11:46:28 +00:00
Eugene Sandulenko
dcc5e26cab
Fix compilation
...
svn-id: r41542
2009-06-15 11:37:07 +00:00
Eugene Sandulenko
5d61784dae
Remove uglyness with PixelFormat initialization.
...
svn-id: r41541
2009-06-15 11:35:51 +00:00
Jody Northup
c97bfd16f9
made Graphics::PixelFormat(ColorMode) constructor explicit, removed Graphics::PixelFormat(int bitFormat) constructor that was never really implemented anyway
...
svn-id: r41540
2009-06-15 10:10:22 +00:00
Jody Northup
8d306ebccf
Added kUnsupportedColorMode error code brought Scumm engine and SDL backend into compliance with API outlined in http://scummvmupthorn09.wordpress.com/2009/06/14/how-this-is-going-to-work/
...
Provided convenient Graphics::PixelFormat constructors for ColorMode enums, and bitformat integers.
Removed last vestiges (I think) of initial cursor hack.
svn-id: r41539
2009-06-15 09:45:19 +00:00
Filippos Karapetis
0e6a23ab3b
Added aliases for the script/breakpoint related commands and added the debugflag related commands to the help screen
...
svn-id: r41538
2009-06-15 08:44:35 +00:00
Filippos Karapetis
c672e21fc3
Added the missing pixelformat.h file
...
svn-id: r41537
2009-06-15 08:24:01 +00:00
Eugene Sandulenko
8bcdd8d7f6
Run AGIMOUSE hack as a side effect always
...
svn-id: r41536
2009-06-15 07:06:52 +00:00
Denis Kasak
a8c784245c
Fixed a memory leak in BArchive::openArchive(). A buffer wasn't being freed.
...
svn-id: r41535
2009-06-15 03:53:03 +00:00
Denis Kasak
ea3cf31938
Close a file after we're done using it.
...
svn-id: r41534
2009-06-15 03:50:45 +00:00
Denis Kasak
326cf7e735
Added support for DFW format archives. Rewrote some BArchive methods to be able to seamlessly handle both BAR and DFW archives. Modified the BAFile struct to support both types of files. Tested it by enabling the mouse in the event loop (the cursor was stored in a DFW file). Added and rewrote docs to reflect the changes.
...
svn-id: r41533
2009-06-15 03:48:16 +00:00
Denis Kasak
a3a9f5c790
Added const to reference parameters of Font::drawString() and Font::getStringWidth().
...
svn-id: r41530
2009-06-15 00:31:25 +00:00
Denis Kasak
910991ddde
Converted default font colours from static members of Font to constants. Moved the initializer list of the Font constructor to the constructor body (for readability).
...
svn-id: r41529
2009-06-15 00:29:05 +00:00
Jordi Vilalta Prat
d7308e9e3d
Fix groovie's GUI game options
...
svn-id: r41528
2009-06-14 22:10:17 +00:00
Norbert Lange
f0b74418bc
Removed some debugmessages so Linux manages to build again =/
...
svn-id: r41527
2009-06-14 21:49:33 +00:00
Norbert Lange
1fcd6bff08
player_v4a:
...
Made musictimer work a bit better, merged the 2 tables into 1
svn-id: r41526
2009-06-14 19:40:24 +00:00
Denis Kasak
b942082da4
Removed superfluous return from the Sprite constructor.
...
svn-id: r41525
2009-06-14 19:06:46 +00:00
Denis Kasak
718f84fb97
Added a Font _font variable to the engine instance. Fixed font colour handling by replacing the appropriate colours before drawing. Added Font::setColour() method for changing the current font colour. Added include guards to draci/font.h. Moved kFontBig and kFontSmall constants to draci/font.cpp to prevent redefinition errors.
...
svn-id: r41524
2009-06-14 18:59:31 +00:00
Denis Kasak
149b45f7a5
Renamed DraciFont class to Font to be more consistent with the rest of the classes and other engines.
...
svn-id: r41523
2009-06-14 16:33:20 +00:00
Denis Kasak
15a35e359d
Changed DraciFont API to accept const Strings when loading fonts and added constants for font types.
...
svn-id: r41522
2009-06-14 16:21:44 +00:00
Gregory Montoir
5a03e5cca1
simplified .raw/.wav data files handling in introduction sequences
...
svn-id: r41520
2009-06-14 15:07:34 +00:00
Johannes Schickel
7c5d739ba7
Cleanup.
...
svn-id: r41519
2009-06-14 14:24:28 +00:00