- Check if video mode could actually be set.
- Clean up the lex/yacc generated files a bit.
- Warning fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@201 4a71c877-e1ca-e34f-864e-861f7616d084
independence. Summary follows:
* Ensure that all source files include an end of line character in the
last line of the file. Some compilers will complain otherwise.
* Fix case sensitivity of all #included filenames.
* Fix system include files e.g. <stdio.h>, not "stdio.h"
* Wrapped compiler specific asm statements inside #ifdef _MSC_VER
conditionals.
* Fixed function declarations that were inconsistent with their
definitions.
* Replaced #ifdef WIN32 with #ifndef PSX to aid in porting.
* Added #ifdef WIN32 conditionals around win32 specific code.
* Replaced MSVC++ specific &(type_cast)var feature with portable
replacement.
* Fixup inline function declarations.
* Replaced sscanf1() with portable sscanf("%n") replacement.
* Renamed global variable gamma -> gammaValue to avoid namespace
conflict.
* Added replacement macros for min/max provided by win32.
* framework/frameresources.c: use platform independent stdio functions.
* framework/input.c: Added setMouseUp() and setMouseDown() functions.
* framework/screen.c: Added platform independent pixel format accessors.
* ivis02/dglide.h: Added preprocessor conditional to prevent multiple
inclusion.
* netplay/netplay.h: Removed duplicate definition of UDWORD.
* netplay/netsupp.c: Added missing include file.
* src/multilimit.c: Corrected number of args in call to
pie_GlobalRenderBegin().
* src/csnap.c: Moved SetMousePos() to input.c
* src/frontend.c: Use setMouseUp|Down() functions instead of win32 ones.
* src/frontend.c: Use mouseX|Y() functions instead of win32 ones.
* src/intdisplay.c: Replaced itoa() with portable sprintf().
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@56 4a71c877-e1ca-e34f-864e-861f7616d084