Alyssa Milburn
6e70f77289
DREAMWEB: Dynamically allocate GraphicsFile::_frames.
...
This avoids extra memory usage due to the previous commit.
2012-02-23 22:37:21 +01:00
Alyssa Milburn
256d160679
DREAMWEB: Remove shared temp graphics variables.
...
Instead, have a different variable for each use.
2012-02-23 22:34:22 +01:00
Johannes Schickel
4f85ad6b99
IPHONE: Fix mouse coordinates for hi res games.
2012-02-23 21:55:36 +01:00
Johannes Schickel
3f37842580
IPHONE: Directly use the game screen's texture buffer.
...
This gets rid of another intermediate buffer.
2012-02-23 21:52:44 +01:00
Johannes Schickel
8edcedf3b6
IPHONE: Directly use the overlay's texture buffer instead of another intermediate buffer.
2012-02-23 21:34:12 +01:00
Johannes Schickel
2ab5958c93
IPHONE: Move screen and overlay texture buffer to VideoContext.
2012-02-23 21:20:24 +01:00
Johannes Schickel
97feac5342
IPHONE: Add a constructor to VideoContext.
2012-02-23 20:59:26 +01:00
Gavin Hayler
a71a91db17
IPHONE: Add aspect ratio correction to iPhone
2012-02-23 16:27:04 +02:00
Johannes Schickel
5ae958bcf3
IPHONE: Let iPhoneView and OSystem_IPHONE share the same VideoContext.
...
This allows for better sharing between the current video state in the view and
the OSystem implementation.
This also gets rid of most C interface functions for calling ObjC code.
2012-02-23 03:18:00 +01:00
Johannes Schickel
e00fc73eb8
IPHONE: Silence a few signed/unsigned integer comparison warnings.
2012-02-23 02:26:54 +01:00
Johannes Schickel
99ffbfedbc
IPHONE: Use VideoContext in OSystem_IPHONE.
2012-02-23 02:25:26 +01:00
Johannes Schickel
ab15435ad0
IPHONE: Move overlay visibility status to VideoContext.
2012-02-23 02:09:27 +01:00
Johannes Schickel
e1edb20fed
IPHONE: Move VideoContext definition to iphone_common.h.
2012-02-23 02:04:40 +01:00
Johannes Schickel
e83e31c2cc
IPHONE: Move mouse coordinate conversion code to iPhoneView.
2012-02-23 02:02:14 +01:00
Johannes Schickel
c5ccb32b48
IPHONE: Move graphics related OSystem code to a ObjC++ file.
2012-02-23 01:52:50 +01:00
Johannes Schickel
04f9fc3e18
IPHONE: Move projection setup code to its own method.
2012-02-23 01:27:38 +01:00
Johannes Schickel
174127c1dd
IPHONE: Remove some more dead code.
2012-02-23 01:19:34 +01:00
Johannes Schickel
26405be48f
IPHONE: Move setFilterModeForTexture to iPhoneView.
2012-02-23 01:14:39 +01:00
Johannes Schickel
def1471fff
IPHONE: Slight formatting fix.
2012-02-23 01:08:48 +01:00
Johannes Schickel
833ce4f348
IPHONE: Fix scale offset addition in the mouse coordinate code.
...
Formerly the overlay and game screen offset was swapped.
2012-02-23 01:08:47 +01:00
Johannes Schickel
f4579aab9b
IPHONE: Create a struct for shared video context variables.
2012-02-23 01:08:47 +01:00
David Turner
8948a4a656
Merge pull request #194 from fuzzie/tinselglobals
...
TINSEL: Rename globals to add g_ prefix.
2012-02-22 15:38:00 -08:00
Tarek Soliman
784ee5dd65
KEYMAPPER: Fix mistake in last commit
2012-02-22 17:23:12 -06:00
Tarek Soliman
befff7ee44
KEYMAPPER: Minor cleanup
2012-02-22 17:17:55 -06:00
Alyssa Milburn
be35baddc7
TINSEL: Rename globals to add g_ prefix.
2012-02-22 23:14:29 +01:00
Tarek Soliman
dbdfc13819
KEYMAPPER: Fix a signed/unsigned comparison warning
2012-02-22 15:16:52 -06:00
Johannes Schickel
da96f80016
TEST: Silence some signed/unsigned comparison warnings.
2012-02-22 20:25:26 +01:00
Johannes Schickel
442bcb7d3e
ALL: Fix some signed/unsigned comparison warnings.
2012-02-22 20:20:55 +01:00
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
Max Horn
9628913cdc
GOB: Fix type conversion warning
2012-02-22 18:26:38 +01:00
Max Horn
37216ab381
DREAMWEB: Avoid including advancedDetector.h from dreamweb.h
2012-02-22 18:25:37 +01:00
Max Horn
4202d45fce
CGE: Avoid including advancedDetector.h from cge.h
2012-02-22 18:25:37 +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