Commit Graph

42931 Commits

Author SHA1 Message Date
Johannes Schickel
39aad6ece7 SDL: Move createLogFile implementions to the OSystem_SDL subclasses.
svn-id: r54581
2010-11-29 18:30:23 +00:00
David Turner
91a6b7f537 BACKENDS: Improve safety of Modular Backend Destructor And Close _fsFactory Memory Leak
Since the modular backend implements abstract modules to be written in the future which _may_ have interdependencies, they should be set to null pointers after deletion. 

This allows assert(_eventManager) type lines to work, which would have detected bug #3121841 without a segfault...

Also, _fsFactory should be deleted to ensure it is not leaked though this causes a group of GCC warnings and probably should be done in a different manner.

svn-id: r54580
2010-11-29 18:22:31 +00:00
David Turner
0e90a2a808 BACKENDS: Close Memory Leak of Mouse Surfaces in SDL Graphics Backend
svn-id: r54579
2010-11-29 18:16:11 +00:00
Arnaud Boutonné
fe806a1aba HUGO: Fix a remaining warning
svn-id: r54578
2010-11-29 18:03:05 +00:00
Arnaud Boutonné
b6f9407ec6 HUGO: Fix compilation
svn-id: r54577
2010-11-29 17:50:30 +00:00
Arnaud Boutonné
45f55128b1 HUGO: Add GMM save/load and RTL
svn-id: r54576
2010-11-29 17:42:08 +00:00
Max Horn
4bed2b3ff5 SDL: Trying to cleanup the FORBIDDEN_SYMBOL situation
svn-id: r54575
2010-11-29 16:35:29 +00:00
Max Horn
f0fdff21f6 SDL: Revert r54554, and add explanatory comment (fix for bug #3121841)
svn-id: r54574
2010-11-29 16:22:04 +00:00
Max Horn
df05ed1a46 BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefs
svn-id: r54573
2010-11-29 16:18:43 +00:00
Max Horn
4e0e406181 SDL: Move #include <SDL.h> into a special wrapper file
svn-id: r54572
2010-11-29 16:16:50 +00:00
Max Horn
69c2fc5ceb GP2X: Fix typo (and maybe compilation?)
svn-id: r54571
2010-11-29 14:03:36 +00:00
Matthew Hoops
cef8d20fb2 MOHAWK: Divide GType_LIVINGBOOKSV3 into V2 and V3
svn-id: r54570
2010-11-29 12:51:53 +00:00
Max Horn
1ef8d5e38a GP2X: More compilation fixes
svn-id: r54569
2010-11-29 10:43:14 +00:00
Filippos Karapetis
fba6ee8af9 MADE: Fixed bug #3090034 - "RTZ: Keyboard unresponsive", by properly handling keyboard keys
svn-id: r54568
2010-11-29 10:20:45 +00:00
Filippos Karapetis
39e5973a41 COMMON: Applied patch #3121969 - "WIN32_LEAN_AND_MEAN in incorrect place"
svn-id: r54567
2010-11-29 07:52:38 +00:00
Matthew Hoops
6a456a0e0e MOHAWK: Set Maggie's Farmyard Adventure as an LB game
The game will start, but has many problems as it uses a later version of the LB code. Also, make sure we check for filename being empty to stop an assertion in the MacCursorManager.

svn-id: r54566
2010-11-29 06:35:50 +00:00
David Turner
207b9a25df MOHAWK: Add Detection Entry For "ABC By Dr Seuss" Living Book Game
svn-id: r54565
2010-11-29 01:34:56 +00:00
Matthew Hoops
ab732a73ff COMMON: Add a bit more to the doxygen comment for NEResources
svn-id: r54564
2010-11-29 00:27:48 +00:00
Max Horn
2cae2fc4d0 M4: Remove unnecessary reference to file.h
svn-id: r54563
2010-11-28 23:39:02 +00:00
Max Horn
179734a082 VKEYBD: Ensure stream destructor is properly called
svn-id: r54562
2010-11-28 23:27:56 +00:00
Max Horn
945602fdbe COMMON: Remove unnecessary reference to file.h
svn-id: r54561
2010-11-28 23:09:47 +00:00
Max Horn
ff3558037a GP2x: Fix silly typo
svn-id: r54560
2010-11-28 23:00:16 +00:00
Matthew Hoops
2d924afa9d MOHAWK: Add basic Living Books support (all credit goes to fuzzie!)
v1 and v3 (both Windows and Mac) are working, v1 support is in better shape.

svn-id: r54558
2010-11-28 22:55:15 +00:00
Matthew Hoops
f403c0f8a8 COMMON: Add support for loading NE resources and cursors
Needed for Mohawk (and Hugo Win eventually). Based on DrMcCoy's excellent Dark Seed II code.

svn-id: r54557
2010-11-28 22:55:00 +00:00
Max Horn
4d09420ba4 DS: Remove redundant code
svn-id: r54556
2010-11-28 22:25:00 +00:00
Filippos Karapetis
626e9413fd AmigaOS: Fixed compilation after the latest GSoC code merging (bug #3121350)
svn-id: r54555
2010-11-28 22:12:11 +00:00
Max Horn
460a65d2aa SDL: Reduce redundant deletes from OSystem_SDL destructor
svn-id: r54554
2010-11-28 22:05:05 +00:00
Max Horn
a162ff18bc SDL: Various more SdlEventSource related fixes
svn-id: r54553
2010-11-28 22:04:39 +00:00
Max Horn
5a825eaae2 GP2X: Compilation fix
svn-id: r54552
2010-11-28 21:33:52 +00:00
Max Horn
b3ba5f6ec5 SWORD25: Fix warning about uninitialized DijkstraNode::parentIter
svn-id: r54551
2010-11-28 21:33:27 +00:00
Max Horn
5d2b77899f SWORD25: Fix warning: deref type-punned pointer breaks strict-aliasing rules
svn-id: r54550
2010-11-28 21:33:02 +00:00
Torbjörn Andersson
6b8a3dba70 TOON: Attempt to fix crash when Bricabrac puts on his glasses
This was a regression in r54223, and it's the most direct fix I can
think of. The problem seems to be that sys_Cmd_Remove_Scene_Anim()
clears the character's _animationInstance while character::playAnim()
is waiting "for the character to be ready".

My fix was to treat _animationInstance NULL as another sign that the
wait is over, but maybe the real fix is for sys_Cmd_Remove_Scene_Anim()
to do more than just clear the variable, e.g. stop the script or
something like that?

svn-id: r54549
2010-11-28 20:53:57 +00:00
Thierry Crozat
ae1607cd99 i18N: Update all translation files from template file.
German has also an updated translation.

svn-id: r54548
2010-11-28 19:24:44 +00:00
Thierry Crozat
16c73378b9 i18N: Add a few strings to translate in the SCUMM help dialog.
svn-id: r54547
2010-11-28 19:23:02 +00:00
Thierry Crozat
2eba29e1eb i18N: Update list of source code files for translation template generation
This fix update of translations following merge of GSOC-OpenGL branch.

svn-id: r54546
2010-11-28 19:21:46 +00:00
Max Horn
ce119b9540 OPENGL: Fix OpenGL on Mac OS X
svn-id: r54545
2010-11-28 18:57:36 +00:00
Max Horn
364382cf9f SDL: Change refs to SdlEventManager to SdlEventSource
svn-id: r54544
2010-11-28 18:39:04 +00:00
Max Horn
06df4459c7 WINCE: Remove obsolete openCD method
svn-id: r54543
2010-11-28 18:18:15 +00:00
Max Horn
ee4510aed4 OPENGL: Modify source files to force recompilation
svn-id: r54542
2010-11-28 18:10:40 +00:00
Max Horn
8399232a43 DINGUX: More compilation fixes
svn-id: r54541
2010-11-28 18:10:12 +00:00
Max Horn
1c3ba8bc40 LINUXMOTO: More compilation fixes
svn-id: r54540
2010-11-28 18:09:43 +00:00
Max Horn
beed05b0af DINGUX: Correct compilation fix (I hope), remove dead code
svn-id: r54539
2010-11-28 17:43:10 +00:00
Max Horn
b634249609 SDL: Compiled POSIX sub-backend only on unix systems
svn-id: r54538
2010-11-28 17:42:47 +00:00
Max Horn
627db0d764 BUILD: Set 'UNIX=1' in config.mk on unix systems
svn-id: r54537
2010-11-28 17:42:25 +00:00
Max Horn
7870bed92f BUILD: Add OpenGL support to configure (from branch)
svn-id: r54536
2010-11-28 17:42:05 +00:00
Max Horn
aa33b22d63 BUILD: Compilation fixes for Win32 and Amiga
svn-id: r54535
2010-11-28 17:41:33 +00:00
Torbjörn Andersson
1857076d76 MAIN: Fix --gfx-mode regression
We cannot check for supported graphics mode until after the backend has
been initialised, or there won't be a graphics manager to ask.

svn-id: r54534
2010-11-28 17:26:27 +00:00
Max Horn
bed8c34a87 DINGUX: Compilation fixes
svn-id: r54533
2010-11-28 17:18:08 +00:00
Max Horn
69092836bd LINUXMOTO: Compilation fixes
svn-id: r54532
2010-11-28 17:17:41 +00:00
Willem Jan Palenstijn
66cb595f22 SDL: re-enable unicode after graphics init
svn-id: r54531
2010-11-28 17:12:43 +00:00