Commit graph

72 commits

Author SHA1 Message Date
Yamagi Burmeister
eb879bb9b6 Rename VERSION to YQ2VERSION to prevent collisions
Newer jpeg versions (I guess starting with 9) define an macro
"VERSION", colliding with ours. While wie could #undef it, take
the less hacky route and rename it.
2014-01-27 18:14:36 +01:00
svdijk
6472514c8f Lets not do the last two commits just before 5.11
Revert "change several strcat calls to Q_strlcat calls"
This reverts commit ab879f1bc7.

Revert "change (v)sprintf calls to (v)snprintf calls"
This reverts commit b46e210d76.
2013-05-18 18:59:39 +02:00
svdijk
ab879f1bc7 change several strcat calls to Q_strlcat calls 2013-05-17 22:25:18 +02:00
svdijk
b46e210d76 change (v)sprintf calls to (v)snprintf calls 2013-05-17 21:50:31 +02:00
svdijk
be63c7f198 note to self: always compile before you commit 2013-05-13 21:39:53 +02:00
svdijk
a5044a93eb make sure svs.demofile is set to NULL after closing it 2013-05-13 21:26:58 +02:00
svdijk
f5a44ff5ae remove unnecessary fileHandle_t typecasts 2013-05-13 21:11:52 +02:00
svdijk
2ad4255187 fix sv.demofile/svs.demofile type/treatment 2013-05-13 21:00:50 +02:00
svdijk
8fad0a9008 change some more (mostly wrong) strncpy calls to Q_strlcpy calls 2013-05-12 20:25:00 +02:00
svdijk
7c1d2b4219 fix incorrect typecasts in FS_* calls 2013-05-11 15:22:27 +02:00
svdijk
e07294b6b1 replace most strncpy calls (several of them wrong) by Q_strlcpy calls 2013-05-11 14:44:36 +02:00
svdijk
4682c888f0 replace strncat calls by Q_strlcat calls 2013-05-11 13:24:13 +02:00
Yamagi Burmeister
d9519cee61 Remove an unneccessary check.
This check involved an uninitialized pointer, so it never worked. It
could lead to crashes in some situations, especially when clients tried
to reconnect after a manual map change on the dedictated server.
2013-03-10 12:08:58 +01:00
svdijk
76e3480ccb Some rewriting of windowed_mouse setting, in preparation of releasing the mouse in the menu. 2012-10-30 20:36:15 +01:00
Yamagi Burmeister
3918d3ba34 Change the VERSION number from float to string
Using a float number as version number is a bad idea. Correct this long
standing problem by changing it to a string. If we ever want to compare
version numbers, 2 integer constants "MAJOR_VERSION" and "MINOR_VERSION"
should be added.
2012-07-27 08:57:52 +02:00
Yamagi Burmeister
9288513e86 Reformat and cleanup of the server 2012-07-21 10:06:07 +02:00
Yamagi Burmeister
40ff7a6b09 Convert rand(), crand() and frand() to randk(), crandk() and frandk() 2012-06-02 11:55:12 +02:00
Yamagi Burmeister
67dbe816c9 Change atoi() to strtol() 2012-06-02 10:24:52 +02:00
Yamagi Burmeister
0d8f990d14 Ensure that variables that point to data on the stack are cleared 2012-06-01 17:20:05 +02:00
Yamagi Burmeister
0e1520d29a Remove dead code and assignments 2012-06-01 17:05:40 +02:00
Yamagi Burmeister
b6325d7858 Remove unused variables and dead code (patch submitted by Christoph
Mallon)
2012-04-30 10:02:58 +02:00
Christoph Mallon
ab034114b4 Whitespace fixes. 2012-04-30 08:25:59 +02:00
Yamagi Burmeister
24b5f7fe97 Remove ctf/ from Makefile and simplify it. 2011-10-09 16:55:23 +00:00
Yamagi Burmeister
91ffbf0ba5 Reorder game files 2011-10-06 07:54:45 +00:00
Yamagi Burmeister
c7dc7eb62f Fly hinzugefügt 2011-01-11 17:45:00 +00:00
Yamagi Burmeister
d05e5272dd Überarbeite sv_world.c 2010-11-26 08:36:57 +00:00
Yamagi Burmeister
8a80e54c0b Räume sv_user.c auf 2010-11-26 08:30:12 +00:00
Yamagi Burmeister
d899229399 Überarbeite sv_send.c 2010-11-26 08:20:11 +00:00
Yamagi Burmeister
cb0159014d Connectionless server commands in eine eigene Datei 2010-11-26 08:12:50 +00:00
Yamagi Burmeister
5973a3c8e9 Räume sv_main.c auf 2010-11-26 07:33:49 +00:00
Yamagi Burmeister
6c2ae15351 Räume sv_init.c auf 2010-11-26 07:22:46 +00:00
Yamagi Burmeister
c49f21c9d0 Räume sv_game.c auf 2010-11-26 07:13:42 +00:00
Yamagi Burmeister
ca69a68868 Benenne sv_ents.c in sv_entities.c um 2010-11-25 16:52:44 +00:00
Yamagi Burmeister
7d71a7c2ee Räume sv_ents.c auf 2010-11-25 16:44:50 +00:00
Yamagi Burmeister
e35544ed52 Bennene sv_ccmds.c in sv_cmd.c um 2010-11-25 16:39:19 +00:00
Yamagi Burmeister
5ddb6ab6a1 Den Server-Savegame-Code in eine eigenen Datei 2010-11-25 16:36:27 +00:00
Yamagi Burmeister
bc2e6b671d Überarbeite sv_ccmds.c 2010-11-25 16:22:55 +00:00
Yamagi Burmeister
a25b89c54a Lizenzsheader und Guard für server.h 2010-11-25 16:20:12 +00:00
Yamagi Burmeister
58eae60830 Header-Cleanup Teil II 2010-11-25 16:00:56 +00:00
Yamagi Burmeister
bc58c04af4 server.h aufräumen, Stufe 1 2010-11-25 15:55:06 +00:00
Yamagi Burmeister
3c7426f836 Verschiebe server.h in ein Unterverzeichnis 2010-11-25 15:46:36 +00:00
Yamagi Burmeister
18676a1e7d Formatiere die Shutdown-Nachrichten neu 2010-10-20 06:10:33 +00:00
Yamagi Burmeister
09c87ea0cc Reformatiere die Startup Ausgabe 2010-10-19 13:34:08 +00:00
Yamagi Burmeister
c2e06a2682 - qcommon.h -> header/common.h
- qfiles.h -> header/files.h
2010-09-01 08:45:26 +00:00
Yamagi Burmeister
19c63a4903 Fixe Blendings und Kickangles. Ein Wunder, dass diesen seit letztem März
vorhandenen Bug niemand gefunden hat.
2010-02-02 19:58:52 +00:00
Yamagi Burmeister
315f07cae7 Benenne _windowed_mouse und windowed_mouse um 2010-01-08 15:47:16 +00:00
Yamagi Burmeister
c1094db726 Unlocke die Maus, wenn Konsole offen 2010-01-05 11:53:59 +00:00
Yamagi Burmeister
1538852650 Eine Warnungen ruhiggestellt 2009-10-04 09:42:02 +00:00
Yamagi Burmeister
e4818d35d5 Speichern funktioniert nun wieder. Das Menü spinnt aber noch 2009-10-04 09:26:46 +00:00
Yamagi Burmeister
7fdf2a7c4d Weitere Filesystem-Fixes 2009-10-04 08:10:43 +00:00