dhewg
0c84e4bff3
Fix shared library loading for x86_64
...
Library handles are "void *" on posix.
2011-12-10 15:36:10 +01:00
dhewg
506ea7b316
Fix event callbacks for x86_64
...
Fix remaining event related code for the new intptr_t value type.
Regenerated game/gamesys/Callbacks.cpp via CREATE_EVENT_CODE.
2011-12-10 15:36:09 +01:00
dhewg
d92d4ba8b6
Fix idEventArg for x86_64
...
Pointers are passed through events; change the event value type to
intptr_t to provide enough bits.
2011-12-10 15:36:09 +01:00
dhewg
6b1e27b157
Trivial pointer cast fixes for x86_64
2011-12-10 15:36:09 +01:00
dhewg
be40e9d661
Mark unused variables in a non-debug build as such
...
Variables which are only used in assert().
2011-12-10 15:36:07 +01:00
dhewg
9ab9bdea8b
Fix -Wparentheses warnings
...
suggest explicit braces to avoid ambiguous ‘else’
suggest parentheses around ‘&&’ within ‘||’
suggest parentheses around ‘-’ in operand of ‘&’
suggest parentheses around arithmetic in operand of ‘|’
equality comparison with extraneous parentheses
Functional change:
Proper HELLTIME check in Playerview due to missing parentheses.
2011-12-10 15:36:06 +01:00
dhewg
09f3aa0568
Fix -Wuninitialized warnings
...
may be used uninitialized in this function
2011-12-10 15:36:05 +01:00
dhewg
ee0996e380
Fix -Wunused-value warnings
...
value computed is not used
left operand of comma operator has no effect
right operand of comma operator has no effect
2011-12-10 15:36:04 +01:00
dhewg
3f5c14ef5f
Fix -Wunused-but-set-variable warnings
...
variable set but not used
Removes some CollisionModel code under _DEBUG which was probably a
leftover, since it was completely useless (its done later anyways).
2011-12-10 15:36:04 +01:00
dhewg
e4771f3a5f
Fix -Wunused-variable warnings
...
unused variable
2011-12-10 15:36:03 +01:00
dhewg
7f4bcf94ca
Fix -Wunused-function warnings
...
defined but not used
2011-12-10 15:36:02 +01:00
dhewg
783db18c5e
Fix -Wpointer-arith warnings
...
NULL used in arithmetic
2011-12-10 15:36:01 +01:00
dhewg
120d560722
Fix -Wconversion-null warnings
...
converting to non-pointer type ‘int’ from NULL
2011-12-10 15:36:00 +01:00
dhewg
9d97eefb1a
Fix -Wwrite-strings warnings
...
deprecated conversion from string constant to ‘char*’
Constify lots of "char *".
2011-12-10 15:36:00 +01:00
dhewg
14329d47d8
Fix -Wchar-subscripts warnings
...
array subscript has type ‘char’
2011-12-10 15:36:00 +01:00
dhewg
79ad905e05
Fix all whitespace errors
...
Excluding 3rd party files.
2011-12-10 15:35:54 +01:00
dhewg
ff493f6847
Fix quoting in GPL headers
2011-12-10 15:34:48 +01:00
Timothee 'TTimo' Besset
fb1609f554
hello world
2011-11-22 15:28:15 -06:00