ac-stef
2220bbc5e2
font rendering optimisations
2017-08-05 10:49:10 +02:00
ac-stef
57093ed70c
rewrite doc command parser
...
- properly break statements into words
- pick statement where cursor is
- detect unmatched braces + indicator
- fix huge memory leak
- add cs ident details
- add debug view (broken into words)
- menu entries for the settings
docidentverbose 0|1|2|3
enables ident details or statement analyser
DOCREF docidentverbose
2017-06-23 12:48:17 +02:00
ac-stef
e648943d40
fix g++ warnings
...
g++ 5.4 detects the static bools as "unused", which is true - but also
intentional.
Removing the "static" adds a lot of unused symbols to the global pool,
but it also prevents any compiler from detecting the "not used" status.
2016-08-28 15:11:49 +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
ac-stef
0f8dbf69aa
introduce temporary aliases
...
An alias, that was at least once used with the new "tempalias" will not be
written to saved.cfg.
So, now there are four ways to create aliases:
1) alias (or "=")
General alias, who's value gets saved at game exit in saved.cfg, and
restored at the next restart - unless the alias was created at a time,
where persistidents was zero (usually during execution of the game's own
config files during startup).
2) const
Creates an alias, that can not be changed. Makes it harder for users
to destroy their config.
3) push
Reassigns an alias with a new value. After "pop", the old value is
restored. Allows the use of "local" aliases in scripts. Also avoids
name conflicts.
4) tempalias
Like "alias", but the value will not be written to saved.cfg.
The commit also changes aliases, written by the engine itself, to "temp":
gametimestart, __getmaprevisions
DOCREF tempalias
2015-03-06 14:17:08 +01:00
ac-stef
71ac04c129
only write variables with non-default values to saved.cfg
2015-02-23 18:52:34 +01:00
ac-stef
f75f0c0af4
add optional pre-access function for SVARs
...
allows a SVAR to be assembled when needed
also:
* mapmsg is now a SVAR
* getmapmsg was removed (now: $mapmsg)
* new editsvar script to edit any SVAR in the console buffer
* nonfunctional menu removed
DOCREF mapmsg getmapmsg editsvar
2015-02-23 18:52:34 +01: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
Lucas GAUTHERON
eb426f8cd3
secured exec context for mdl's cfgs (and pre package auto-downloader work ?)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6631 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-09-01 21:49:57 +00:00
Lucas GAUTHERON
5006187690
cubescript const (wip)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6578 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-08-16 11:50:19 +00:00
ac_stef
97caf3b187
removed surplus ';'
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4104 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-01-04 14:15:47 +00:00
Lee Salzman
2cd60811a2
COMMANDF name fixes
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3768 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-26 21:13:02 +00:00
Lee Salzman
299ee332f5
COMMANDF fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3765 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-26 20:54:40 +00:00
driAn
dbcc3317ec
further audio code refactoring, new cubescript macro for calling class objects inline-ish
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3764 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-26 19:53:23 +00:00
Lee Salzman
4a40d26725
floating-point mouse sensitivity
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3352 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-31 00:50:13 +00:00
Lee Salzman
82f44be831
made skin a persistent variable
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3252 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-25 18:22:36 +00:00
Lee Salzman
116dda1414
format command
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2198 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-07-23 18:42:32 +00:00
Lee Salzman
856646b4c9
allow GL extension checking from cfgs
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1973 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-05-14 22:15:45 +00:00
driAn
87c7755754
demo stuff, script contexts
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1909 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-05-10 10:17:31 +00:00
Lee Salzman
36af9edb91
min/max fix
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1569 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-01-06 06:51:04 +00:00
Lee Salzman
5849faf3cf
cubescript backports
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1528 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-12-30 04:11:33 +00:00
Lee Salzman
afad80be3e
*** empty log message ***
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1525 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-12-30 00:01:46 +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
7fa0a75765
sendmap with map config files, script contexts (~sandbox)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1471 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-12-22 23:39:30 +00:00
Lee Salzman
e166318c5e
*** empty log message ***
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1058 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-06-01 14:14:26 +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
Lee Salzman
4b8d32b733
*** empty log message ***
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@698 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-11-17 18:13:55 +00:00