Commit Graph

24 Commits

Author SHA1 Message Date
XoD
3946e7bdd4 Fix A PostEventMsg call with a parameter NULL.
idEventArg don't have constructor with a pointer, a int should
avoid warning.

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-28 18:56:42 +01:00
XoD
7bf3774664 Fix A PostEventMsg call with a parameter NULL.
idEventArg don't have constructor with a pointer, a int should avoid
warning.

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-28 18:56:42 +01:00
XoD
6ce9c717c3 Fix NULL affeted to a not pointer variable
Replaced by a 0.

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-28 18:56:42 +01:00
Timothee "TTimo" Besset
232432d352 Merge pull request #30 from xoddark/Werror_pointer-arith
Fix pointer-arith warning
2011-12-26 06:15:39 -08:00
Timothee "TTimo" Besset
2fb684dbde Merge pull request #28 from xoddark/Werror_write-strings
Fix write-strings warning
2011-12-25 08:47:27 -08:00
XoD
72fd4c6fc2 Remove comparison from a int to NULL
In Event_HasAnim the result of GetAnim is compared to a pointer, GetAnim
return a int.

Fix a Warning: pointer-arith

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-21 23:56:55 +01:00
XoD
61c9f6211b Replace NULL by '\0' in some char comparison
fix some Warning: pointer-arith in Player.cpp

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-21 23:56:55 +01:00
XoD
a06e7e33e2 Fix constant string type in buildin struct
Signed-off-by: XoD <xoddark@gmail.com>
2011-12-21 21:11:00 +01:00
XoD
47c7a6b9e0 Fix constant string type in PrintClocks
Signed-off-by: XoD <xoddark@gmail.com>
2011-12-21 21:01:32 +01:00
XoD
0cd4990575 Fix constant string type in punctuation_s
Signed-off-by: XoD <xoddark@gmail.com>
2011-12-21 20:57:15 +01:00
XoD
f061e0f29d Fix some constant string type in Script_Compiler
Signed-off-by: XoD <xoddark@gmail.com>
2011-12-21 20:55:35 +01:00
XoD
dfa3aca9fe Fix char* local var
Set constante some char* local variable.

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-19 22:41:03 +01:00
XoD
ea5445e22d Fix static string array type.
Set the static array flagDefs constant.

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-19 22:03:37 +01:00
XoD
1ec811c3cf Fix constant string parameter.
The methode LoadScript of idItemTeam is now const compliant.

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-19 22:01:41 +01:00
XoD
11eddc9a97 Fix static string array type.
Set the static array fastEntityList constant.

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-19 09:44:24 +01:00
XoD
ee1ad737ce Fix constant string parameter.
The methode Warning of ScriptInterpreter is now const compliant.

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-19 09:40:17 +01:00
XoD
a81ddd228d Fix constant string parameter.
The methode Error of ScriptInterpreter is now const compliant.

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-19 09:36:44 +01:00
Timothee 'TTimo' Besset
7db8be7917 pulling in some simple code fixes suggested towards XCode 4.2 support 2011-12-10 18:27:30 -06:00
Timothee TTimo Besset
f1f80640fb Linux/scons: throw exception when curl configure or make fails 2011-12-04 11:53:02 -06:00
Daniel Gibson
847dc3b752 remove import platform from SConscript.curl 2011-11-24 22:54:26 +01:00
Daniel Gibson
3bb47adf16 Just use -lz instead of providing path to libz.a
This is cleaner and more portable.
2011-11-24 21:49:54 +01:00
Daniel Gibson
87d583c3ba Fix creating 32bit binaries on Linux/amd64 2011-11-23 21:17:49 +01:00
Timothee 'TTimo' Besset
15597777fc towards XCode 4 support - need those converted 2011-11-22 17:32:53 -06:00
Timothee 'TTimo' Besset
fb1609f554 hello world 2011-11-22 15:28:15 -06:00