ac-stef
c3d4713904
clean up map header handling
...
Older versions of ac did not obey the map header field "headersize".
When a map was written, only the "version" field was updated, even if
the new written header had a different size. Thanks to bigger headers
in map versions 7 & 8 (and now smaller headers again in 9), the headersize
of basically all official maps is bogus. This fix makes sure, only proper
headersizes are written. It also makes the game tolerate different (bigger)
headers - and keeps their content untouched. Future map format extensions
can use this to add header information without breaking existing map parsers.
This patch establishes a new map format 10, which is identical to format 9,
with the exception that the headersize field is guaranteed to be correct.
Format 10 also allows any amount of additional header data.
This patch also cleans up the transformation routines for old map entities.
2014-01-27 23:01:23 +01:00
Lucas GAUTHERON
880b496718
dot ('.') should be allowed in map names
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7600 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-10-12 12:44:28 +00:00
Lucas GAUTHERON
71754e0cf1
allow maps with a sane name only
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7537 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-08-12 11:56:53 +00:00
Lucas GAUTHERON
a7a1e46bcc
merged branch
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7382 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-22 19:49:21 +00:00
sireus
4af75e15e0
no need for memmove here
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6868 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-08-25 10:05:09 +00:00
Lucas GAUTHERON
bfda69a7f1
extending rev 6866 fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6867 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-08-25 07:08:59 +00:00
Lee Salzman
6c4b5b9a3a
cheaper water animation
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6657 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-09-26 07:45:17 +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
Lee Salzman
40498772a2
strcaps cleanup, init overreadval to 0
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6133 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-03-19 20:08:51 +00:00
Lee Salzman
32d96b2be4
fix weirdness in random numbers and ray creation
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6005 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-01-15 21:20:31 +00:00
Rafael Barreto
205280b5e8
reverting the *brilliant* fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5516 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-01 21:44:12 +00:00
Rafael Barreto
df140bc2bb
disable warning "conversion from 'size_t' to 'int', possible loss of data"
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5514 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-01 21:14:17 +00:00
flowtron
94dc526837
lots of whitespace
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5265 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-02 16:49:20 +00:00
Rafael Barreto
07c41b2b99
n o w i t w i l l b e d e t e c t e d :P
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5143 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-04 20:49:20 +00:00
Rafael Barreto
2e9c12bf65
findpattern tool and clean up
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5141 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-04 19:50:03 +00:00
Rafael Barreto
7208dbb44f
hudextras, points, protocol, clean up and so on
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5090 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-28 19:46:02 +00:00
Lee Salzman
5d109a6d62
server does not use libintl
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5051 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-25 20:20:31 +00:00
Rafael Barreto
e8c97abd51
Makke's suggestion: make the shotgun longer range
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4880 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-16 15:49:29 +00:00
Lee Salzman
13fc6b3391
fixed wizard to not need STL
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4830 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-10 22:37:36 +00:00
Lee Salzman
7d90c91175
WIP port of sauer master server
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4803 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-04 19:42:40 +00:00
Lee Salzman
b216b412fd
concatstring fixes
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4795 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-03-21 20:22:53 +00:00
Lee Salzman
0a352e793b
removing old vector typedefs
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4788 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-03-11 23:19:42 +00:00
Lee Salzman
be94c703f2
setsize -> shrink
...
setsizenodelete -> setsize
deletecontentsa -> deletearrays
deletecontentsp -> deletecontents
vrealloc -> growbuf
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4787 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-03-11 23:06:26 +00:00
driAn
e232a3f3ac
dynamic rendering of utf8 characters such as umlauts by using ttf (wip)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4769 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-01-14 22:19:27 +00:00
Lee Salzman
c4227bca8e
use growable packetbuf instead of ucharbuf
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4762 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-01-12 00:03:30 +00:00
Lee Salzman
b28974415c
VC warning fixes
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4718 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-11-08 01:08:53 +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
e725e5ed8c
string function cleanups
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4714 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-11-07 22:44:32 +00:00
Lee Salzman
4fa39f1380
VC warning fixes
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4688 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-11-07 06:18:35 +00:00
Lee Salzman
6a2e6b7fc2
i18n compile fixes
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4630 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-08-12 21:07:46 +00:00
driAn
581ecdb9f6
translated main menu to german, omitting header info in gettext calls, libs, test gettext call in menuitem render
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4629 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-08-12 20:58:29 +00:00
driAn
e7a3cc012b
added libintl for localization
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4628 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-08-12 19:12:17 +00:00
driAn
4521b61491
stopwatch cleanup
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4626 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-08-11 19:52:47 +00:00
ac_stef
09dc040bfe
more robust SV_POSC parsing
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4617 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-08-09 15:18:49 +00:00
ac_stef
af08ce4044
compact position packets
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4606 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-08-08 11:59:22 +00:00
ac_stef
470cae55f1
server source reorg
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4559 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-07-01 17:15:52 +00:00
ac_stef
0b454b65e1
cleanup
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4451 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-05-29 17:37:34 +00:00
ac_stef
374507babf
all new logging: optional file log for linux; choose independent logging levels; optional timestamps for console & file logs; cleanup time functions
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4449 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-05-29 16:30:55 +00:00
ac_stef
7d5117c085
insanely overpowered serverbrowser favourites
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4446 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-05-27 12:44:22 +00:00
ac_stef
5cc05dbb8a
log client version; log tk stats; logging fixes
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4395 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-05-17 18:39:18 +00:00
ac_stef
d2fe4fa70e
optional connect passwords for whitelisted nicknames
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4389 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-05-16 11:31:44 +00:00
ac_stef
7734e7c57a
check for map-collisions serverside
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4308 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-03-30 22:40:00 +00:00
ac_stef
4f2cff3626
code cleanup; better error messages for server config file parser; hide full admin passwords from server logfile
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4163 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-02-15 17:06:14 +00:00
ac_stef
f0fa6713b0
memleak fixed + hashtable additions
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4156 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-02-14 15:12:52 +00:00
Lee Salzman
d400ef2313
fixed packet freeing bug
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4025 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-12-16 10:43:17 +00:00
ac_stef
0c37ad857b
nice filenames for server-stored demos
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3997 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-12-11 15:59:54 +00:00
ac_stef
b23d935cbc
serverside generation of itemlist
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3989 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-12-11 15:24:32 +00:00
Lee Salzman
20baa85461
fixed crashy packet queue
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3845 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-12-03 07:14:06 +00:00
Lee Salzman
4a40d26725
floating-point mouse sensitivity
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3352 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-31 00:50:13 +00:00
Lee Salzman
dc49529ea4
file completion fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3332 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-30 10:53:31 +00:00