ac-stef
793aca3cf1
fix memory leak
2015-03-28 14:05:04 +01:00
aurhat
8e6fbd9d7b
Add the clock to scoreboard and change clockdisplay
...
Commit shows time in format mm:ss in scoreboard, instead of
"X minutes remaining" info.
It also enables the clock default on the HUD and adds "clockcount"
variable which let to choose between counting forward or backward
in the clocks.
DOCREF clockdisplay clockcount
2014-12-06 17:53:29 +01:00
ac-stef
9b22587e32
fix filtering of serverdescriptions for ascii scores
2014-11-12 17:28:53 +01:00
ac-stef
a0286d2b3f
replace textfilter functions with one-fits-all version
...
* replaces filtertext() with a version with a dozen of single filters
that can be used in any combination
* defines classes of allowed characters for strings for various uses
(see protocol.h line 153ff)
* now the allowed charset of, for example, player names is defined
in one location only
* fixes issue #58
2014-05-24 12:59:19 +02:00
ac-stef
eb60302e67
cleanup
...
- fix possible crash in conc (but it's still an ugly hack)
- fix noob usage of strcmp
- flag some memory leaks (it would be nice, if the author(s) would clean
up the mess himself)
- fix crash in substr
- whitespace cleanup
there are plenty more memory leaks in command.cpp - for example, every
goto in cubescript does not clean up anything
2014-05-14 22:54:37 +02:00
aurhat
5b94bab21f
Fix of wrong "alive" status in scoreboard.
...
This commit fixes the issue: https://github.com/assaultcube/AC/issues/21
Player in spectate mode isn't dead, so when he switches from spectate to active mode, he is still non-dead.
Therefore d->state=="CS_DEAD" doesn't work in such cases.
This commit removes also some aimless line.
2014-04-05 13:52:41 +02:00
Lucas GAUTHERON
fe10f86b21
hud flagscore fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7315 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-05 22:01:08 +00:00
Lucas GAUTHERON
c591590e31
scoreboard fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7114 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-01-18 20:35:14 +00:00
aerkefiende
91583de3db
Removed warning: suggest parantheses around && within ||
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7088 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-01-13 18:33:16 +00:00
Lucas GAUTHERON
e89cb15f14
scoreboard little fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7065 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-01-11 20:49:45 +00:00
aerkefiende
e43c5e00ea
Minor fix of rev 7051 and 7052; needs still the scores of disconnected players
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7054 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-01-10 22:38:28 +00:00
Ronald Reagan
d6aca6fcc0
FFA winner message
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7050 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-01-10 09:10:41 +00:00
Ronald Reagan
30663fe854
Adding in winners to the scoreboard
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7049 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-01-10 03:34:54 +00:00
Lucas GAUTHERON
34e688e5aa
scoreboard bug fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7037 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-01-06 15:32:39 +00:00
Lucas GAUTHERON
294ea128a3
more customizable scoreboard, allow ratio to be displayed (again)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7032 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-01-05 22:47:31 +00:00
Lucas GAUTHERON
8af34e8b64
scoreboard fixes (status color bug and DISC scores issue)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6977 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-12-16 13:13:35 +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
sireus
3f7663457f
lagping fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6793 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-04-20 20:57:01 +00:00
sireus
4a6b67de1f
show flag count on HUD (WIP)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6748 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-01-30 12:54:18 +00:00
Lucas GAUTHERON
526e9e22e5
TMP revert
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6698 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-11-13 16:43:14 +00:00
Lucas GAUTHERON
70d8421100
testme : /lockteams, /forceteam [cn] [team], "matchteamsize" removed
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6696 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-11-12 13:22:59 +00:00
Lucas GAUTHERON
878a0a3959
scoreboard fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6641 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-09-04 17:46:01 +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
Lucas GAUTHERON
4fcd1074ad
new command "winners"
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6634 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-09-02 19:27:48 +00:00
Bukz
5cb2d3b424
allow showscores during intermissions
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6530 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-10 18:41:26 +00:00
Lucas GAUTHERON
3a9d59ceb3
colored ping in serverbrowser?
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6421 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-11 15:50:15 +00:00
Rafael Barreto
01c24f0228
checking if file system has space to write (linux only), reverting the protocol to make it compatible with 1.1.0.1, tagging AUTH as WiP, tunning the player/bot collision... preparing to release patch
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5656 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-19 19:46:56 +00:00
Rafael Barreto
d68c470434
bug fix: team icon when spectating, and weird scoreboard behavior when someone is lagging
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5610 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-12 08:15:28 +00:00
flowtron
1a1a9e3aa8
menu-dirlist fix (bug found by Gibstick) and menu-footer line-wrapping added
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5558 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-07 22:54:39 +00:00
flowtron
565e3d5d36
-8 chars in scoreboard for servertitle - TODO: get _real_ menuwidth as reference
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5537 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-03 18:34:38 +00:00
Rafael Barreto
72ae28dd12
fix wrong pointer, and adding "quicknade_hold" variable
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5448 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-22 21:35:16 +00:00
Rafael Barreto
9bc699c27a
minimalist scoreboard, docs fix (missing diff line), less points to combo (to make it more reliable with the frag/death relationship in a dm)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5447 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-22 21:22:26 +00:00
flowtron
25674b578e
cut off long server descriptions in scoreboard (maybe L8R we'll linewrap up to a limit) [kudos@SKB]
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5193 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-12 17:54:56 +00:00
flowtron
e985381a5f
use "cncolumncolor" (0..9) to render the CN in scoreboard
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5190 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-12 17:03:00 +00:00
flowtron
283b0dfe9f
scoreboard column order selection via "orderscorecolumns"
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5182 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-12 12:36:28 +00:00
flowtron
041b4de607
use #define instead of costly function call - thanks for the tip Brahma :)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5168 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-10 20:21:38 +00:00
flowtron
11796bae85
typo fixes
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5166 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-10 19:57:31 +00:00
flowtron
e9de7ed53e
reordering of columns in scoreboard (cn,name to front)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5165 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-10 19:15:57 +00:00
Rafael Barreto
4e62ba084f
points to score
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5122 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-31 19:28:16 +00:00
Rafael Barreto
2e3453c610
extras, hudextras, points, and scoreboard (thanks to Franz)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5102 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-29 20:46:25 +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
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
54cc44c3db
revising pch setup
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4690 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-11-07 06:42:37 +00:00
ac_stef
ea6d5b3263
match & flag state fixes
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4609 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-08-08 19:38:45 +00:00
ac_stef
f1e879e7fd
akimbo bug fixed; some new bugs added
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4598 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-08-05 21:21:57 +00:00
ac_stef
24708c9741
numeric team names; choose separate skins for both teams for your player
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4554 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-06-29 14:05:17 +00:00
ac_stef
4bb2708978
colored pj
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4298 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-03-27 14:09:54 +00:00
Lee Salzman
677753d955
fix time reporting while watching demo
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4079 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-12-28 14:30:25 +00:00
ac_stef
e70815d1bd
enforce scoreboard during intermission
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3986 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-12-11 14:58:41 +00:00
ac_stef
47eb67a2df
'showscores' now takes an argument instead of a keypress; hide scores, when minimap is shown
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3890 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-12-06 18:57:52 +00:00