Commit Graph
206 Commits
Author SHA1 Message Date
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
ac-stef dcd46bbec9 fix modifyvar
give a proper error message when trying to edit read-only vars
2014-05-14 22:38:29 +02:00
aerkefiende 0819beacdb Fix for command completion, thanks grenadier!
https://sourceforge.net/p/actiongame/bugs/497/#877d

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7642 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-09 17:16:59 +00:00
Lucas GAUTHERON dcb847d8ec memory leaks and indent style fix in sortlist/swapelements (thanks SKB)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7506 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-07-20 13:24:50 +00:00
Lucas GAUTHERON 727bb4cb69 autodl: fix downloading for packages containing spaces in their names
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7499 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-06-24 12:39:45 +00:00
Lucas GAUTHERON a9d971782b make command.cpp compatible with master
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7418 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-25 20:46:14 +00:00
Bukz 4100c8ee24 testchar cleanup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7376 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-20 22:58:03 +00:00
Lucas GAUTHERON 87782dcca9 warning fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7314 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-05 20:35:13 +00:00
Lucas GAUTHERON b625928475 allow aliases to be emptied
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7313 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-05 18:44:45 +00:00
Lucas GAUTHERON 009ed2d8d8 alias/const simplified
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7312 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-05 18:42:05 +00:00
Bukz 28933e4e8d menu fix/saved.cfg cleanup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7260 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-02-26 23:07:50 +00:00
Alejandro V. Garcia fec6978aed since persistidents is fixed storestring is not needed any more
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7215 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-02-16 05:07:29 +00:00
Bukz 9e78cc5f01 remove ispersist
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7214 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-02-16 01:50:14 +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
Alejandro V. Garcia d17be6e153 "storestring" can be used like: /storestring [mode 5; map ac_depot] then call it with bind "M" [ execute $storestring ]
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7200 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-02-14 11:30:43 +00:00
Bukz 0d535eac5a sortlist and swapelements fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7199 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-02-14 09:47:25 +00:00
Bukz c88414a327 new commands swapelements & sortlist/script fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7148 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-02-04 05:38:41 +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
Lee Salzman d12ce7975c warning fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6974 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-12-13 14:23:27 +00:00
aerkefiende 5dfb39545d Improved tab completion made by Felix-The-Ghost
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6923 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-11-07 22:05:19 +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 af2d6ceb65 div=, div=f
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6876 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-09-14 21:36:28 +00:00
Lucas GAUTHERON ef76f7f88d hardcoded burst fire settings (menus still TODO)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6862 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-08-24 16:01:10 +00:00
sireus 66bcbbbabe experimental compatibility mode for 1.1.0.4 demos
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6848 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-06-29 14:19:40 +00:00
Bukz c97b1ca743 fixes/cleanup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6842 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-06-20 19:39:08 +00:00
Bukz 55a04c8cff fixes/MAXCL reduced to 16/protocol bump
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6813 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-05-29 21:31:43 +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
Bukz 0e1bba1745 hardcoded votepending and getscrext
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6703 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-11-21 18:11:10 +00:00
Bukz f3b2c09d98 removing getvar in favor of having getalias work on both aliases and built-in client variables (fov), and execute & return commands
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6594 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-08-19 01:43:54 +00:00
Lucas GAUTHERON 7882c36a64 isconst + save constants as any alias in saved.cfg
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6582 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-08-16 16:39:57 +00:00
Lucas GAUTHERON acee7b2ebe oops (const couldn't overwrite)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6580 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-08-16 12:31:31 +00:00
Lucas GAUTHERON dbca100335 docs.cfg fix, reference.xml curteam entry, persisting constants support
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6579 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-08-16 12:09:37 +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
Bukz dff42f8ee9 gametimestart & mapbackupsonsave
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6565 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-08-08 21:47:50 +00:00
sireus c991d8c869 master build fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6562 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-08-02 10:12:26 +00:00
aerkefiende 06f73f4627 Replaced Tabs with 4 spaces in every source file
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6561 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-07-31 15:44:57 +00:00
sireus 2e97cd4c88 xcode warning fix (thanks, RR)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6558 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-07-16 11:09:47 +00:00
Lucas GAUTHERON 023e8f32bc fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6538 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-14 14:54:56 +00:00
Lucas GAUTHERON 040ec8d482 looplist command
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6534 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-14 11:20:13 +00:00
Lucas GAUTHERON 50f91c4b84 oops
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6532 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-12 16:55:32 +00:00
Lucas GAUTHERON 23446ad685 curserver fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6531 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-12 16:50:36 +00:00
sireus b5c863a900 persistidents - control whether newly defined idents are persistent (suggested by Bukz)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6526 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-09 13:28:52 +00:00
Lucas GAUTHERON ca47d519d9 ceil, floor & round commands
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6503 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-05 14:27:14 +00:00
Bukz f6848c2f84 getmodeacr replaced with hardcoded getmode
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6498 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-04 18:52:06 +00:00
Bukz 9c9e7dc361 scripterr fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6497 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-04 17:10:55 +00:00
Lucas GAUTHERON de3f70ac3b replacestr => strreplace (sauer)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6489 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-03 20:05:48 +00:00
Lee Salzman f516635812 warning fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6470 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-27 14:57:19 +00:00
Bukz 3a4165767d testing replacestr
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6455 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-21 20:19:18 +00:00
Lucas GAUTHERON e0ab12594b break & continue command fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6454 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-21 08:29:05 +00:00
Lucas GAUTHERON bd67ac89a3 "break" command changed + new "continue" command
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6451 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-20 20:50:22 +00:00