Commit Graph
98 Commits
Author SHA1 Message Date
ac-stef 148719c0f7 add script command for menu items with alternate fonts
Also: add '\a' to the list of escaped characters and remove storage of
  unneeded "filename".

mitemaltfont <altfont> <text> <action> <hoveraction> <desc>
  Displays a menu line with a text which may contain chars from an
  alternate font.

  altfont
    Name of the alternate font.

  text
    Content of menu line. Chars from the alternate font have to be marked
    with "\a". Alternate font chars have no width and are just rendered
    above the following text. Use spaces to counter that.

  action, hoveraction, desc
    Same function as with other menu lines.

DOCREF menuitemaltfont
2015-06-10 14:12:43 +02:00
ac-stef ae82b6b22e add attr5..7, add mapmodel pitch and roll
Keys 5, 6 and 7 (in combination with the scrollwheel) can be used to alter
the new entity attributes.

Pressing editmeta (LCTRL by default) speeds up the scrolling.

(Parts of the roll code are borrowed from Alejandro V. Garcia's commit
"Model rotations, experimental" from January 2013)

Note: coop edit is now broken between "next" and older clients, but I
  don't want to bump the protocol just yet.
2015-05-18 14:59:41 +02:00
ac-stef 786a6cdce1 filename filtering for media files
No more spaces in filenames. The only allowed chars are a-z, A-Z, 0-9 and
"-_.()".

An exception are texture filenames, which may also have a prefix command
like "<decal>" included.

Also fixed some memory leaks in media download.
2015-05-18 14:46:03 +02:00
ac-stef bdf3f0f5cb option to crop leading and trailing whitespace for filtertext 2015-05-17 00:24:38 +02:00
ac-stef 1d1e995454 fix some warnings 2015-04-18 15:24:31 +02:00
ac-stef 29dd50bde6 fix: keep path and uppercase in demo filenames
votes now distinguish between demo and map votecalls and filter the
filename appropriately

also: remove paths from map names cleanly
2014-05-25 00:35:22 +02: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
Lucas GAUTHERON ff4bb6c8e5 map vote message fixed (when using custom game times)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6999 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-12-27 10:41:42 +00:00
sireus 74b873ddba various whois-related cleanups and fixes (fixes demos again)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6865 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-08-24 19:55:42 +00:00
sireus 0666067f2e more spectator cleanup (just use switchteam, and auto-kill player on server side)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6784 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-04-13 11:39:11 +00:00
sireus 8f39911eb0 cleaned up spectator mess a bit
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6781 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-04-05 13:19:06 +00:00
Lucas GAUTHERON e542188cd4 weird crashes "fix" (still fixme)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6767 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-03-11 10:55:20 +00:00
Lucas GAUTHERON 89cb2165b1 msgsizelookup bug fix (oops) and win32 binaries
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6617 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-08-28 08:48:29 +00:00
Lucas GAUTHERON 87ea1d0823 private messages (chat) & win32 binaries (warning: new protocol)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6614 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-08-27 18:52:19 +00:00
Lee Salzman c76d5a8106 filtertext tweak
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6521 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-08 12:03:47 +00:00
Lucas GAUTHERON 2bf81d4517 bot team survivor & bot tosok (not doc'd yet)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6504 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-05 16:18:18 +00:00
Bukz ecccb57c61 fixes/updates + BPF & BLSS
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6492 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-04 06:02:50 +00:00
Lucas GAUTHERON cce991d437 team lss, team pf (!testing only!) (bins included, vcpp 2010)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6479 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-30 17:30:38 +00:00
flowtron 53c35f4fd8 misc. changes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6056 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-02-05 09:44:07 +00:00
flowtron 31c87b3b2a protocol bump : 1132
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5708 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-10-04 20:39:37 +00:00
Rafael Barreto 0c0cc2c97c version 1.1.0.3 (protocol update), inclusion of the auth things, server vote fixes, client side warning about version updates
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5671 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-22 19:17:09 +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
flowtron 928eed4de1 in-game AUTH
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5637 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-16 11:12:48 +00:00
Rafael Barreto d3c497e36a SV_SHOOT reduction
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5391 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-16 22:44:11 +00:00
Rafael Barreto 054594bec6 removing 3 ints from SV_SHOOT... and some other stuff
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5385 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-16 21:57:13 +00:00
Rafael Barreto b5ea3fc741 more vote abuse control, and a new vote switch "W": allow or not "weak" kick/ban votes: when the player is not lagging, spamming, tking, or obviously cheating...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5152 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-06 20:41:07 +00:00
Rafael Barreto af4bfa975b better identification and clean up
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5132 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-01 21:11:08 +00:00
Rafael Barreto 0daacf5a0e fixes and advances in medal system
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5116 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-30 22:33:25 +00:00
Rafael Barreto f86de67884 medals and clean up... smarter functions
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5101 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-29 19:37:44 +00:00
Rafael Barreto 88e31b337e undoing this *
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5093 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-28 20:44:55 +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
Rafael Barreto 5c569a3cf1 HUDEXTRAS messages
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5034 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-24 18:54:53 +00:00
Rafael Barreto bbd017766e bug fix: head shot sound played in any sniper gibs
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4991 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-21 20:42:32 +00:00
Lee Salzman 2da8c7f8d5 cleaned up client init handling
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4763 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-01-12 01:34:23 +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 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
Lee Salzman 6e7a51b3db VC warning fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4689 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-11-07 06:35:12 +00:00
ac_stef 9fca17a7a9 compact pos packets are now parseable out of context; all-whitespace chat gets suppressed
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4620 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-08-09 20:34:09 +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 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 e0bfc59ecf reduced client-side maprot to a singleplayer maprot
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4563 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-07-02 23:01:10 +00:00
ac_stef 01ab8df5db read motd from file (multilanguage); auto reload changed serverinfo and motd files
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4527 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-06-19 12:51:25 +00:00
ac_stef 7ae3ae8c3e extended serverinfo
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4512 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-06-15 17:09:02 +00:00
ac_stef 7ec8634727 cleanup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4460 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-06-02 22:22:24 +00:00
ac_stef 0650dd3a64 new commands: modconnect, modconnectadmin & modlanconnect
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4391 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-05-16 17:18:17 +00:00
ac_stef c5a7abae90 no more c2s SV_ITEMLIST and SV_SPAWNLIST: the server is now required to have the map
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4361 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-04-27 21:35:47 +00:00
ac_stef 979b04ed05 new & extra complicated sendmap handling
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4350 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-04-26 15:13:29 +00:00
ac_stef 39d3868406 cleanup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4345 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-04-15 16:12:22 +00:00
flowtron 6d9e647f88 signal scoping over network
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4321 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-04-10 21:37:36 +00:00