ac-stef
8e08cddaa7
improve cutcolorstring
...
now takes the width of characters into account
also: fix wraparound for docrefs
2017-04-24 21:48:57 +02:00
ac-stef
c2d64d3a2b
fix menu layout
...
- fix calculation of footer lines, menu pages and menu widths
- make sure, FONTH is never zero
- unify menu action execution
- clean up some code
2017-04-19 15:39:45 +02:00
ac-stef
daae49273d
remove __fontsetting
...
instead, "curfont" returns name of current font
DOCREF __fontsetting curfont
2016-08-26 14:30:29 +02:00
ac-stef
98d01d1f34
fix some errors and warnings for GCC 6
...
* do not use std::abs() because math.h includes one, that converts ints
to double. Use own iabs(), which directly uses labs() instead.
* don't use the word "gamma" as name for variables
* don't use a homebrew round() function
2016-02-27 22:50:06 +01:00
aurhat
9c0f99f2a1
Cleanup
...
Remarks:
1. Changed order in keycmds lets to keep alphabetical order in saved.cfg .
2. Earlier long information in docs about arguments of command could be
invisible for low aspect ratio (example: "weapon" command), now it's fixed.
2015-07-04 11:30:58 +02:00
ac-stef
4b75405829
remove some dead code
...
and some braind* concepts
2015-02-12 12:54:03 +01:00
Bukz
a80f9c88e7
hardcoded __fontsetting
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7361 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-17 17:21:04 +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
aerkefiende
89d7b44289
While I am at it: removing tabs
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6256 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-16 14:31:03 +00:00
flowtron
e6ce8cae06
blinking-text disabled by default (general and in menus)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6113 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-02-28 16:09:51 +00:00
flowtron
49ffc396ee
Yello : Koladi-Ola
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5917 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-21 00:30:28 +00:00
Rafael Barreto
6f1aaa0d50
initialization of myfont string and better lag check
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5632 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-16 02:27:53 +00:00
Rafael Barreto
039ebe6d42
docs clean up (thanks to V-Man for the incredible work), and setfont saved in configs
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5626 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-15 00:27:25 +00:00
Lee Salzman
7b2096db3a
don't begin/end on every single character draw
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5518 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-02 02:13:49 +00:00
flowtron
a6e0668d84
removing dependency on TTF libraries
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5487 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-30 19:34:24 +00:00
Alejandro V. Garcia
2072d61727
more tweaks
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5431 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-21 06:36:40 +00:00
Alejandro V. Garcia
76d7d0e4ec
color tweaks
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5430 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-21 03:50:19 +00:00
Alejandro V. Garcia
2145581f57
extended color palette
...
http://img30.imageshack.us/img30/21/alxaccolorpaletterev2.png
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5380 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-15 23:32:56 +00:00
Alejandro V. Garcia
3ac4069326
setfont command
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5367 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-14 08:33:20 +00:00
Rafael Barreto
cf25327c2d
temporarily reverting draw_text to 1.0.4 function and other stuff related to medals
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5049 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-25 00:21:35 +00:00
driAn
243f13e3ff
properly regenerate dynamic font texture after issuing 'resetgl'
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4921 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-18 18:50:10 +00:00
flowtron
c42b53cbce
I_HELMET
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4899 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-17 18:24:17 +00:00
Lee Salzman
fb65982428
infinite loop workaround
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4848 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-13 20:22:19 +00:00
Lee Salzman
3e4f81818a
mingw fixes
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4832 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-10 22:48:40 +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
52f1b0a5b5
cleanups
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4774 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-01-15 23:27:48 +00:00
Lee Salzman
d42fd4eda2
makefile updates
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4772 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-01-14 23:46:03 +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
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
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
Lee Salzman
b7c756822d
hud digit font stuff
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3773 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-26 23:00:24 +00:00
Lee Salzman
b80bbb88d3
backported text rendering from sauer
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2873 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-10 03:00:53 +00:00
driAn
1520e421e5
keep colors when splitting strings
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2871 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-09 21:59:19 +00:00
Lee Salzman
f3201cc81b
changed client numbers from magenta to dark brown
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2621 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-15 09:30:53 +00:00
ac_stef
42a85e475c
admins can die, too
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2452 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-08-31 10:50:01 +00:00
Lee Salzman
c3da156658
vertex format cleanups
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2175 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-06-22 08:04:48 +00:00
driAn
109f0c90f1
fullscreen menu setting
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1695 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-03-15 13:08:06 +00:00
Lee Salzman
072cc6d525
added resetgl command to restart renderer in-game
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1642 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-02-12 03:30:52 +00:00
Lee Salzman
a46fa45901
*** empty log message ***
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1495 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-12-26 08:44:59 +00:00
driAn
9c3e74cbdf
huge weapon-code cleanup (buggy!), pch, demo fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1475 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-12-24 21:38:53 +00:00
Lee Salzman
34f64f76c6
*** empty log message ***
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1328 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-10-01 20:09:33 +00:00
Lee Salzman
ffc2b584ff
*** empty log message ***
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1273 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-08-22 13:18:09 +00:00
Lee Salzman
37cc897882
*** empty log message ***
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1199 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-08-07 11:58:38 +00:00
Lee Salzman
01a71302e7
*** empty log message ***
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1178 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-07-26 01:48:04 +00:00
Lee Salzman
36bf115ed5
*** empty log message ***
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1161 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-06-27 05:30:42 +00:00
driAn
040fed8593
demo playback fixes
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1155 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-06-15 19:46:30 +00:00
Lee Salzman
c82fd507c1
*** empty log message ***
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1138 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-06-04 21:43:00 +00:00
Lee Salzman
55510047e2
*** empty log message ***
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1049 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-06-01 11:06:13 +00:00
driAn
1a1567df03
doc
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@992 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-05-10 16:51:52 +00:00