Lucas GAUTHERON and ac-stef
4fd4e09f43
Added AC icon to SDL window ( fixes #29 )
...
As zeSKB reported, there was no icon for the game window.
This should now be fixed. We might want to make it transparent in the future,
but we would have to make sure it will be supported by any system.
2014-05-14 14:28:54 +02:00
Pascal de Bruijn and Pascal de Bruijn
7482f259cf
main: guard against rnd(0) in rndmapname
...
starting ac_client from the wrong working directory, where
packages/maps/official/*.cgz globs to an empty list, we
trigger a SIGFPE because of rnd(0):
Program received signal SIGFPE, Arithmetic exception.
0x000000000044d37d in rndmapname () at main.cpp:897
897 char *map = newstring(maps[rnd(maps.length())]);
2014-03-27 18:20:21 +01:00
Ronald Reagan
1caf38e898
Added command line history. New file 'history' used in the config folder
2014-01-23 12:09:05 -08:00
Lucas GAUTHERON
1f9fae3779
autodownload: find best server after 100 gamestarts
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7544 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-09-21 08:10:41 +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
Ronald Reagan
2a626b2344
togglegrap to togglegrap, also moved it to a more sane location.
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7379 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-22 04:32:50 +00:00
Cristian Vlasceanu
3d332a398d
Tentative fix for autoscreenshot not showing the score board.
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7239 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-02-20 05:54:55 +00:00
Bukz
7480f036d3
persistidents fixes (plz review/test)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7213 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-02-16 01:43:47 +00:00
aerkefiende
138e1a1acb
The random map will be picked from the packages/maps/official dir instead of a list
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7133 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-01-22 21:39:18 +00:00
aerkefiende
71d427da2f
new variable /protocol according to /version
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7120 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-01-20 14:23:56 +00:00
Lucas GAUTHERON
71f3e3815b
save kill messages into saved.cfg instead of a separate file (client)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7030 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-01-05 22:28:52 +00:00
Lucas GAUTHERON
54d4d949e4
autoscreenshot fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6998 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-12-27 10:39:48 +00: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
Bukz
20baa2d298
ac_avenue
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6838 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-06-16 22:17:10 +00:00
sireus
bd9a5b801a
fixed windows build errors
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6796 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-04-25 17:31:20 +00:00
sireus
34e56ae7d1
use var lang instead of alias LANG, and some cleanup in language detection
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6774 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-03-30 12:44:07 +00:00
sireus
77c2dd3944
fixed some issues found by cppcheck
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6740 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-12-19 21:02:57 +00:00
Lucas GAUTHERON
297f679840
scoreboard fixes/improvements, kick/ban action fixes (wip. TODO: get tks client side)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6639 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-09-04 15:35:15 +00:00
RandumKiwi
55f5407339
more font
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6609 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-08-21 11:32:08 +00:00
Lucas GAUTHERON
6d7da51f4c
rewind/setmr bug fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6543 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-24 13:25:19 +00:00
Lucas GAUTHERON
22909543ad
min maxfps = 25
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6533 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-13 12:22:38 +00:00
sireus
c6c1d224c5
screenshot scaling
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6508 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-05 20:39:45 +00:00
Lucas GAUTHERON
a886bca798
compatibility.cfg to keep compatibility with older "cubescripts"..
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6461 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-23 19:08:06 +00:00
Lee Salzman
c8ae61fe8d
GL_UNPACK_ALIGNMENT -> GL_PACK_ALIGNMENT
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6443 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-16 13:08:57 +00:00
Lucas GAUTHERON
414572e574
rewind a demo, set time remaining
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6424 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-14 12:11:51 +00:00
sireus
a89b9f2dab
pave the way for hi-res textures
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6416 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-10 20:03:06 +00:00
Bukz
9aa5981b31
native alias "afterinit" - executed immediately after saved.cfg is loaded
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6371 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-27 14:21:22 +00:00
Lucas GAUTHERON
aec37282f8
kill messages cfg editable in game, and separated from server config
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6347 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-25 23:23:02 +00:00
Lee Salzman
222029426c
gamma 100 uses default gamma
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6238 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-12 04:54:47 +00:00
Bukz
7fe276fcbf
mapnames struct update
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6230 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-09 03:35:06 +00:00
Lucas GAUTHERON
19574271f7
custom kill messages fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6216 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-06 12:43:37 +00:00
aerkefiende
9a5a453386
deleting old commented code
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6170 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-03-30 19:08:26 +00:00
Lee Salzman
a2eb5b870a
parsecommandline cleanups
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6096 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-02-13 15:46:01 +00:00
Lee Salzman
1cc07e6b96
remove SDL_win32_main.c
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6093 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-02-12 17:50:14 +00:00
flowtron
a83856a1d2
preload scope.png
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6057 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-02-05 09:44:31 +00:00
flowtron
0b63d7d07e
new shotgun behaviour
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6012 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-01-17 18:27:53 +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
flowtron
6dbfd9d63a
fix-attempt for samsat (and others?) not getting scoreboard on autoscreenshot - it's probably useless redunancy though.
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5954 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-12-14 19:29:23 +00:00
aerkefiende
75b71ca05b
URL protocol: assaultcube://
...
Now assaultcube://example.org:28763 works as port definition as well.
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5914 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-20 15:21:45 +00:00
aerkefiende
bd7e1e3574
URL protocol: assaultcube://
...
Some fixup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5913 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-20 15:01:09 +00:00
flowtron
05ecb19c4f
makkE's sane JPEG settings
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5895 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-19 18:46:43 +00:00
Glen Masgai
de1e18537e
use easy safe strings
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5879 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-15 17:33:09 +00:00
aerkefiende
d941d518f3
URL protocol: assaultcube://
...
Some fixup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5803 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-03 20:16:57 +00:00
Rafael Barreto
c5bf72393d
bug fixes: browse connection
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5798 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-01 20:06:00 +00:00
Rafael Barreto
6295f8b599
browser autoconnect switch
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5797 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-01 19:39:26 +00:00
Glen Masgai
13bee35b85
jpg screenshot path fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5751 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-10-11 15:07:17 +00:00
flowtron
8064a1d455
random startmap
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5733 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-10-09 20:51:10 +00:00
Alejandro V. Garcia
94bfc29811
don't flip image on mapshot
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5681 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-09-01 21:10:29 +00:00
Alejandro V. Garcia
636ca1ecc9
experimental jpeglib independent JPEG encoder
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5680 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-30 08:44:27 +00:00
Alejandro V. Garcia
a00e5545c4
sauerbraten .png screenshot backport
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5654 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-18 11:59:23 +00:00