187 Commits

Author SHA1 Message Date
Max Horn
2a528657ad Added SCUMMVM_DONT_DEFINE_TYPES so that (a) porters can still override our typedefs if they must, and (b) my image of evil-scummsys.h-changer is strengthened
svn-id: r21624
2006-04-05 00:54:10 +00:00
Marcus Comstedt
7242dc169c Remove SCUMMVM_USE_LONG_INT from DC port.
svn-id: r21594
2006-04-04 19:05:50 +00:00
Max Horn
587431f8e8 Fully and officially renamed our main function to scummvm_main, thus making
various backend specific hacks unnecessary. As a consequence, it is now the
responsibility of the backend to define main. Hence I adapted the SDL backend
accordingly.

svn-id: r21542
2006-04-02 00:08:22 +00:00
Max Horn
8cdee5a931 Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 to ~250). Many greetings to eriktorbjorn, and have fun recompiling.
svn-id: r21500
2006-03-29 15:59:37 +00:00
Max Horn
76cfaca23d - Added some explanatory comments (everybody feel free to extend them)
- Unified the various typedefs
- Added a couple FIXME comments (which porters may want to resolve)
- Some cleanup

svn-id: r21498
2006-03-29 12:47:35 +00:00
Max Horn
70040aed47 cleanup
svn-id: r21496
2006-03-29 12:09:15 +00:00
Travis Howell
ff676b0b54 Correct GCC_PACK define for non-GCC
svn-id: r21160
2006-03-09 09:51:42 +00:00
Travis Howell
47f66f80b9 Revert GCC_PACK removal, which broke compile
svn-id: r21159
2006-03-09 09:40:07 +00:00
Travis Howell
f848dd1d99 Revert GCC_PACK removal, which broke compile
svn-id: r21158
2006-03-09 09:36:09 +00:00
Max Horn
c59ca20ce6 Check format string in calls of debug/error (adapted from patch #1445422)
svn-id: r21139
2006-03-08 10:00:12 +00:00
Paweł Kołodziejski
95116f2098 define int types for msvc to allow compile mpeg2 library. msvc does not fully conform C99
svn-id: r21073
2006-03-04 15:26:26 +00:00
Max Horn
36934b611d Change CVS keywords to SVN keywords
svn-id: r20510
2006-02-11 09:53:53 +00:00
Chris Apers
d88462e7d6 Fixed PalmOS backend compilation
svn-id: r20352
2006-02-02 20:39:12 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Lars Persson
d4e6b02fde Updated so ScummVM also builds for Symbian WINS emulator builds (!defined added)
svn-id: r19729
2005-12-02 18:37:20 +00:00
Chris Apers
3fe9730fc9 Prevent conflic with Sky def
svn-id: r19470
2005-11-05 18:28:30 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Max Horn
7ab5fa8114 cleanup (really would like to unify all those typedef's eventually; maybe we can use inttypes.h on some systems?)
svn-id: r19077
2005-10-14 10:20:42 +00:00
Travis Howell
8387b48d20 Set _HEAPOK to correct value,if using earlier mingw-runtime.
svn-id: r19059
2005-10-13 12:44:26 +00:00
Chris Apers
1d6ecabfbe Prepare new backends and potential native version
svn-id: r18747
2005-09-03 16:15:39 +00:00
Travis Howell
7556e064d2 mingw can handle heap checking now.
NOTE: Requires mingw-runtime-3.8

svn-id: r18714
2005-08-28 11:15:38 +00:00
Joost Peters
bc394b6ea3 Added: PSP backend
svn-id: r18696
2005-08-16 17:15:37 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Lars Persson
d4716a1fb5 * Start of generic key configuration support for ScummVM
* Moved KeyConfigDialog, key from WinCE to gui
* Updated wince code to inherit and use new GUI::Keys and launch new dialog
* New definition SMALL_SCREEN_DEVICE when keysdialog should be inittialized from options.cpp
* Added new function to SDL\Events that handles key remapping.  LINUPY & QTOPIA remapping moved to that function. SymbianOs.cpp overrides this function to enable key remapping to events
* Compiled VC6++ project. This with warnings and errors, but NOT in the changed code. (SAGA,KYRA)
* Compiled using WCE tools 3 for X86 target and running Scummvm in emulator to test
* Compiled with UIQ target. The rest Symbian platforms might require further configuration to operate properly
* Actor.h in Saga now compiles for default VC6 setting.
* Aspect.cpp does not compile in VC6/WCE due to template problems with the kFastAndNiceAspectMode setting.
* Changed order of creation of gamedetector and mainsystem in Main.cpp
* If anything does not compile, or is totally out of order, please revert changes.

svn-id: r18498
2005-07-05 20:22:56 +00:00
Max Horn
f80dab367c Moved endian macros to a separate header file
svn-id: r18441
2005-06-23 14:15:49 +00:00
Lars Persson
1c69696a9a Patches needed to build for SYMBIAN32 WINS/GCC added.
Test built for Symbian and run on P910i without any major problems.
Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA).

svn-id: r18430
2005-06-21 22:08:21 +00:00
Paweł Kołodziejski
bc65eb8ea5 added code for loading dynamic plugins(DLLs) for windows
svn-id: r18356
2005-06-05 12:55:33 +00:00
Max Horn
db123a9e7a Factor out common stuff in scummsys.h a little bit
svn-id: r18095
2005-05-14 15:53:37 +00:00
Max Horn
5286121524 Removing the last traces of the old custom new/delete operators
svn-id: r18094
2005-05-14 15:33:27 +00:00
Max Horn
52bbc86797 Patch #1181544 (AmigaOS 4 changes)
svn-id: r18011
2005-05-09 21:21:21 +00:00
Robert Göffringmann
bd81feb996 Playstation2 Port: initial import
svn-id: r17305
2005-03-31 05:35:04 +00:00
Paweł Kołodziejski
373b33b22a compatible version for wince
svn-id: r16813
2005-02-19 15:35:05 +00:00
Andrew Kurushin
05f4bf5151 removing ZLIB_WINAPI from scummsys.h
ZLIB_WINAPI macro needs only than you want to
build VisualBasic compatible ZLIBWAPI.DLL with
WINAPI(STDCALL) calling convetion.

svn-id: r16803
2005-02-18 00:13:37 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Chris Apers
1a5fa3e86f Moved to prefix file
svn-id: r16015
2004-12-10 15:19:53 +00:00
Chris Apers
2abe17e594 Cleanup
svn-id: r15739
2004-11-09 10:26:33 +00:00
Chris Apers
a34c7e4b81 Use compile.h as prefix file
svn-id: r15472
2004-10-08 13:38:14 +00:00
Paweł Kołodziejski
a6486ad228 changed zlib support for msvc
svn-id: r15163
2004-09-18 11:48:17 +00:00
Eugene Sandulenko
a350fcda0d Implement 24-bit read from memory functions
svn-id: r14002
2004-06-22 23:52:31 +00:00
Chris Apers
66fd8f8658 New PalmOS includes
svn-id: r13888
2004-05-25 14:44:02 +00:00
Jonathan Gray
5451bb29cc correct error text
svn-id: r13226
2004-03-09 21:49:21 +00:00
Max Horn
a672590259 remove dependency on SDL_byteorder.h when we are using config.h
svn-id: r13206
2004-03-07 03:28:01 +00:00
Max Horn
c6752cccf5 renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend
svn-id: r13087
2004-02-28 12:58:13 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
2e99e3f1f9 disable custom new/delete/free by default (only keep it around in case it comes in handy again in the future)
svn-id: r11839
2003-12-21 19:24:14 +00:00
Marcus Comstedt
7c09bd869b Require stdafx.h to have been included.
svn-id: r11822
2003-12-21 16:45:16 +00:00
Max Horn
5f4c9cbeeb resolve an inconsistency in the FROM_* helper macros: now they *always* cast their argument to unsigned (previously, the LE funcs would do this when used on BE machines, and vice versa; but using a FROM_LE macro on a LE machine wouldn't cause a cast to unsigned; this potentially leads to endian bugs!)
svn-id: r11726
2003-12-18 01:00:24 +00:00
Paweł Kołodziejski
b5a7ef0822 cleanup whitespaces
svn-id: r11219
2003-11-08 22:43:46 +00:00
Chris Apers
0e23d7a30e Use compiler option instead of this
svn-id: r11104
2003-11-03 16:25:06 +00:00
Paweł Kołodziejski
f0fae232b9 fixed compilation under msvc7
svn-id: r10562
2003-10-03 07:45:41 +00:00