Johannes Schickel
dac6ac66ad
COMMON: Add a size_type to HashMap.
2012-02-22 20:13:33 +01:00
Johannes Schickel
5eabc4a2f3
COMMON: Add a size_type to List.
2012-02-22 20:10:04 +01:00
Johannes Schickel
03959c18dc
COMMON: Slight formatting fixes in stack.h.
2012-02-22 20:08:40 +01:00
Johannes Schickel
7d8da24082
COMMON: Add a size_type to Stack and FixedStack.
2012-02-22 20:07:40 +01:00
Johannes Schickel
417cd7625c
COMMON: Slight formatting fixes in array.h.
2012-02-22 20:00:11 +01:00
Johannes Schickel
d6ac369303
COMMON: Add a size_type to Array and take advantage of it.
...
size_type is an unsigned integer type and is used for all indices etc.
2012-02-22 19:59:26 +01:00
Tarek Soliman
92aabb6868
KEYMAPPER: Change HardwareKey id to Common::String
2012-02-22 07:44:59 -06:00
Tarek Soliman
6b91c94a09
KEYMAPPER: Initialize Event::customType
2012-02-22 07:04:59 -06:00
Johannes Schickel
221b78e4e2
DEVTOOLS: Copy scumm_stricmp implementation to create_kyradat.
...
This should fix bug #3489654 "DEVTOOLS: create_kyradat linkerror".
2012-02-22 03:45:44 +01:00
Johannes Schickel
6c64fdf4f2
IPHONE: Very minor cleanup.
2012-02-22 02:49:14 +01:00
Johannes Schickel
0e182a9587
IPHONE: Use #include instead of #import.
2012-02-22 02:47:16 +01:00
Johannes Schickel
66199978e2
IPHONE: Silence some warnings.
2012-02-22 02:44:25 +01:00
Johannes Schickel
e79f6a6314
IPHONE: Move ObjC code files (.m) to ObjC++ files (.mm).
2012-02-22 02:30:44 +01:00
Johannes Schickel
1b26346fc8
IPHONE: Implement setShakeOffset.
...
This should fix bug #3374656 "IPHONE: setShakePos not implemented".
2012-02-22 01:53:20 +01:00
D G Turner
aa26d5def4
ENGINES: Add error handling for GMM Gamestate Load/Save Usage.
...
As indicated by wjp, the Global Main Menu (GMM) did not check or report
on the returned error state from saveGameState() and loadGameState() usage.
This corrects this and adds a MessageDialog report of any failure.
2012-02-21 22:30:29 +00:00
athrxx
7986f1709d
KYRA: (EOB) - make detection entries for EOB I more unique (bug #3488973 )
...
This makes sure that non English versions don't get detected as English.
2012-02-21 21:48:48 +01:00
athrxx
66da4777d4
KYRA: (EOB) - implement EGA mode (hi res dithering) for EOB II
...
(also fix various thing connected to CGA/EGA modes)
2012-02-21 21:48:46 +01:00
athrxx
3c1e2686b8
KYRA: (EOB) - fix minor sprite drawing glitch in EOB1
...
(some sprites were drawn one pixel too far to the right)
2012-02-21 21:48:45 +01:00
athrxx
930bcbf2dc
KYRA: (EOB) - fix minor text displayer glitch
2012-02-21 21:48:44 +01:00
athrxx
df9b1bd2e4
KYRA: (EOB) - implement EGA graphics mode for EOB1
2012-02-21 21:48:43 +01:00
athrxx
a4223e9c2b
KYRA: (EOB) - fix EOB1 door clipping
...
(this was done in the same way as in EOB2 and LOL, but it has to be slightly different)
2012-02-21 21:48:42 +01:00
athrxx
151d314912
KYRA: (EOB) - complete CGA graphics mode implementation
2012-02-21 21:48:41 +01:00
athrxx
86a817beb5
KYRA: (EOB) - start work on CGA and EGA graphics modes
2012-02-21 21:48:39 +01:00
athrxx
66ba934398
KYRA: (EOB) - fix minor glitch in hp and food bar graphs
2012-02-21 21:48:38 +01:00
athrxx
d192fed3b5
KYRA: (EOB) - fix character hand icons
...
(upper thumbs should point to the right, lower thumb to the left)
2012-02-21 21:48:37 +01:00
athrxx
47005de313
KYRA: (EOB) - fix minor bug (wrongly initialized value) and some renaming
2012-02-21 21:48:37 +01:00
athrxx
70cfbcd046
KYRA: add new rendering mode gui options
...
(EOB should support EGA and CGA mode, but this isn't implemented yet)
2012-02-21 21:48:36 +01:00
athrxx
d9c05f7121
COMMON: add gui options for rendering modes
...
The purpose is the same as for the sound gui options: users shouldn't be offered modes that the engine doesn't support.
2012-02-21 21:48:35 +01:00
athrxx
9f19bace44
COMMON: remove unnecessary commas
2012-02-21 21:48:34 +01:00
athrxx
ab5c3e2dad
KYRA: (EOB) - move EOB 1 intro code into separate class
2012-02-21 21:48:33 +01:00
Tarek Soliman
e1e9bd5c0e
KEYMAPPER: Clean up more dead code
...
More automapper related dead code
2012-02-21 13:39:05 -06:00
Willem Jan Palenstijn
9ffe3e11d9
Merge pull request #182 from fingolfin/forbid-ctype
...
ALL: Avoid using is* macros from ctype.h
2012-02-21 11:33:32 -08:00
Johannes Schickel
80b3439817
IPHONE: Rewrite video screen rotation.
...
Now it should be a little bit more sane. Formerly the width and height
was swapped in rotation mode, which resulted in the x coordinate falling
into the range 0..height in landscape mode for example.
This also fixes the cursor offset in the modern theme.
2012-02-21 18:54:26 +01:00
Johannes Schickel
f6edcbde8e
IPHONE: Move _overlayPortraitRatio from global scope to local scope.
2012-02-21 18:54:26 +01:00
Johannes Schickel
cc8a6cc993
IPHONE: Add _overlayRect, which describes the overlay screen rect.
2012-02-21 18:54:26 +01:00
Tarek Soliman
aa42d78658
KEYMAPPER: Remove automapping dead code
2012-02-21 08:20:40 -06:00
Willem Jan Palenstijn
d0c655f1fa
GUI: Fix mingw-w64 build errors
2012-02-20 22:38:35 +01:00
Willem Jan Palenstijn
66d3def0e5
GUI: Implement AAed tabs
...
The stroke effect isn't properly implemented yet since it isn't used
in the modern theme.
There are slight bleeding colours around the corners of the
tab_background when its corners overlap with the corners of the
underlying dialog. These are hard to avoid because the underlying dialog
destroys the background that we should be blending these corners with.
2012-02-20 22:17:33 +01:00
Willem Jan Palenstijn
19cb2dc7e7
GUI: Add AA dialog corners on alpha overlays
2012-02-20 22:17:33 +01:00
Willem Jan Palenstijn
c6ac4cc7ea
GUI: Minor cleanup
2012-02-20 22:17:33 +01:00
Willem Jan Palenstijn
905f9591ab
GUI: Speed up alpha blending with black for classic dialog backgrounds
2012-02-20 22:17:33 +01:00
Willem Jan Palenstijn
297d15e122
OPENGL: Don't force alpha to 1
...
This was likely a hack to work around an alpha blending bug in the
gui vector renderer.
2012-02-20 22:17:33 +01:00
Willem Jan Palenstijn
264ba4a9ec
GUI: Keep dst alpha unchanged when blending colours
2012-02-20 22:17:33 +01:00
Willem Jan Palenstijn
2957321903
GUI: Rewrite AA rounded square renderer
...
This fixes bleeding of colours between different regions.
It also turns 'bevel' into an option that turns the stroke into a bevel,
and implements antialiased gradient-fills.
2012-02-20 22:17:28 +01:00
Johannes Schickel
6cc5b83bba
IPHONE: Default to portrait mode in case the orientation could not be determined.
2012-02-20 21:17:19 +01:00
Johannes Schickel
d8531a939e
IPHONE: Move OpenGL ES context generation to its own method.
2012-02-20 21:15:14 +01:00
Johannes Schickel
cf44d49d19
IPHONE: Precalculate vertex/tex coordinates for game screen/overlay.
2012-02-20 19:43:51 +01:00
Tarek Soliman
56e517fdad
KEYMAPPER: Add some comments
2012-02-20 12:26:25 -06:00
Johannes Schickel
7957cc956e
IPHONE: Use render buffer size instead of application frame size for video size calculations.
...
These match as far as I can tell, but in case they don't match, the render
buffer size should be the correct thing to use.
2012-02-20 18:39:57 +01:00
Johannes Schickel
d91268c4c1
IPHONE: Rename _screenRect to _gameScreenRect.
2012-02-20 18:39:57 +01:00