ac-stef
98d01d1f34
fix some errors and warnings for GCC 6
...
* do not use std::abs() because math.h includes one, that converts ints
to double. Use own iabs(), which directly uses labs() instead.
* don't use the word "gamma" as name for variables
* don't use a homebrew round() function
2016-02-27 22:50:06 +01:00
ac-stef
826499c12d
enable gcc to check arguments of printf-like functions
...
Check printf-like functions like conoutf, if format strings and argument
lists match.
This commit also fixes a lot of code parts that actually had mismatching
argument lists - or did things, that this check does not like.
numtime() was rewritten in an ugly but very portable fashion (it's
recommended to stay away from "long long" format entries, because errors
usually only come up at runtime).
(some code was copied from sauer)
2015-08-02 19:40:41 +02:00
aurhat
dc1b920820
Cleanup bot code (server related)
2015-06-21 10:36:08 +02:00
aurhat
9613098697
Cleanup bot code
2015-06-21 10:34:07 +02:00
ac-stef
6e4b23734f
fix clang warnings
2014-01-27 23:01:23 +01:00
sireus
b33116712c
sane(r) command signatures (warning: huge commit)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6908 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-10-06 22:49:49 +00:00
flowtron
d0ec7e40f3
fix crash on wpvisible - still FIXME though!
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6658 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-09-28 19:32:31 +00:00
Lucas GAUTHERON
8f90268d82
multiple selections support in editmode
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6647 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-09-14 14:59:40 +00:00
aerkefiende
06f73f4627
Replaced Tabs with 4 spaces in every source file
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6561 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-07-31 15:44:57 +00:00
Lucas GAUTHERON
f3c0c1069f
allow bots to fight only against humans (WIP) + minor bot fixes
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6338 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-25 19:58:34 +00:00
Lee Salzman
9256ee374b
support for loading from zip files
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4717 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-11-08 00:53:19 +00:00
Lee Salzman
003e67bb7e
more pch cleanups
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4691 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-11-07 06:51:03 +00:00
driAn
1a8ad9e4d1
physent-volume resize with collision detection for better crouching
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2838 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-05 12:50:44 +00:00
Lee Salzman
62baecac96
waypoint drawing fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2654 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-17 01:42:11 +00:00
Lee Salzman
c109daf458
filename null terminator fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2342 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-08-19 00:42:03 +00:00
driAn
b7207c1ee9
fixed bot waypoint loading
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2338 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-08-18 19:54:57 +00:00
Lee Salzman
3b05838c82
gcc 4.3 warning/bug fixes
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2320 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-08-14 08:58:07 +00:00
driAn
a23f54d1e7
sound fix radius
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1591 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-02-03 10:52:02 +00:00
driAn
bedf989f49
no pickup for spectators
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1487 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-12-25 15:54:59 +00:00
driAn
9c3e74cbdf
huge weapon-code cleanup (buggy!), pch, demo fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1475 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-12-24 21:38:53 +00:00
driAn
eb81f05ec9
crouching
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1419 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-11-11 14:20:52 +00:00
driAn
3e2efca5b7
no message
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@770 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-12-07 22:03:14 +00:00
driAn
4704f88ad6
no message
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@708 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-11-17 23:25:22 +00:00
Lee Salzman
5ec9426088
*** empty log message ***
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@699 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-11-17 18:35:20 +00:00
driAn
08bc1adba5
no message
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@677 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-11-15 16:08:52 +00:00
Lee Salzman
c7469a7873
*** empty log message ***
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@548 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-11-09 20:09:16 +00:00
Lee Salzman
de8d0d1584
*** empty log message ***
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@526 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-11-07 18:38:15 +00:00
Lee Salzman
3945727124
no message
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@497 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-11-06 16:16:40 +00:00
Lee Salzman
fefc21a9e6
*** empty log message ***
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@483 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-11-06 12:44:53 +00:00
Lee Salzman
2c916e47e8
*** empty log message ***
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@482 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-11-06 12:40:51 +00:00
Lee Salzman
1802cace77
*** empty log message ***
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@472 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-11-05 17:41:27 +00:00
driAn
3016ac98a4
spawndelay drinn, botkick on mapstart drinn, akimbo msg draussen..
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@382 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-09-14 19:13:37 +00:00
driAn
a22d3755dc
no message
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@360 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-08-27 18:27:57 +00:00
driAn
3d4ea805d3
no message
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@302 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-06-09 12:22:46 +00:00
driAn
b24da8eff1
*** empty log message ***
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@301 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-06-01 22:03:48 +00:00
driAn
a1bba487b4
*** empty log message ***
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@27 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2005-08-14 14:15:02 +00:00