Commit Graph
119 Commits
Author SHA1 Message Date
ac-stef ff8aea940d some edit fixes
* fixing edit paste
* fix power of 2 check for corner selection
* fix pasting multiple selections changed target selections
* fixing editdrag: plugging memory leak
* fixing editdrag: proper binding of keys
* fixing editdrag: allow deselecting (by selecting a second time)
* make a little more room for undos (RAM is cheap and maps are big)
* some cleanups
2014-05-15 11:42:54 +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
ac-stef e69a94cdd8 loop optimizations
also cut some overshooting lines
2014-01-31 00:53:12 +01:00
ac-stef d258b7c186 less annoying visualisation for tagclips
- press B to get the former filled volume view
- raise the value of tagnumfull to get both views simultaneously
- cubescript parameters should be cleaned up before release
2014-01-30 19:38:41 +01:00
ac-stef a8d2ab1c65 transformclipentities improved
The function will now also take care of obsolete clip entities, which
gives the mapper the opportunity to tag clip areas manually and then
have the envelopped (and therefore obsolete) clip entities removed.

When done, the map will be cleaned of "clip & plclip" tags, since clip
already includes the properties of plclip.
2014-01-29 13:03:37 +01:00
ac-stef 7f12ef4131 command to automatically convert all suitable clip entities into tag clips
also: fix sparklies in heightfields
2014-01-29 00:03:50 +01:00
ac-stef 0ff8fafb5f limit particle emission to 50 fps 2014-01-28 16:01:21 +01:00
ac-stef 6f5635917f visualisation for tagclips
To keep things cheap, only tagged areas inside the editing grid are shown.
I added two variables, tagnum and taglife, to allow playing with the
parameters of the sparklies. Those should be removed later. The default
values work quite well on my really crappy onboard graphics card. Higher
values start dropping fps.

Also, the edit status line now shows the tag value of the cube pointed at.

The patch also fixes the bug, that the edit status line did not show
details about the selection, unless there was at least one entity in the
map.
2014-01-28 14:28:43 +01:00
Lucas GAUTHERON 31c0d29bc2 minor code "fixes"
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7276 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-02 15:04:23 +00:00
Bukz f353141284 alias newselkeys - "binds" a list of keys to make new (multiple) selections in editmode (left CTRL is default)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7221 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-02-17 02:21:07 +00:00
Ronald Reagan ca838cd760 Two bug fixes, Mouse1+E crash, and setnext in SP crash
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6969 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-12-11 20:52:57 +00:00
sireus b2daa778b7 use the right function (thanks, Felix)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6936 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-11-20 16:10:30 +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
Bukz 0a0d09e73a /paste fix, use light data from destination not the source
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6804 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-05-23 15:21:24 +00:00
Bukz be0f32d2c7 /paste remip fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6803 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-05-23 15:08:01 +00:00
Lucas GAUTHERON 37efdcdb3e registersound fix, + new "showgrid" variable
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6729 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-12-10 18:03:04 +00:00
Lucas GAUTHERON b8fd22b476 lil' fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6707 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-11-22 19:16:54 +00:00
flowtron 5f3fb3ef67 keep SPECT state across spawns
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6665 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-10-15 23:57:27 +00:00
Lucas GAUTHERON f1ff34db9c small fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6662 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-10-02 15:20:18 +00:00
Lucas GAUTHERON 4c3fdd16ef cubescript commands (addselection/resetselections) + win32 binaries
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6661 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-09-30 18:54:18 +00:00
Lucas GAUTHERON 8f90268d82 multiple selections support in editmode
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6647 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-09-14 14:59:40 +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
Lucas GAUTHERON b339831354 settex command
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6303 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-23 09:35:18 +00:00
Lucas GAUTHERON ca7867aa1f git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6175 e016b1c5-ed68-44aa-a2f7-31cac88cffde 2011-03-31 19:09:19 +00:00
flowtron af5902b370 revert bogus and really fix stuck-in-editmode bug
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5741 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-10-10 13:34:58 +00:00
flowtron 0a077bbae3 TESTING: avoid being stuck in editmode + minor stuff
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5737 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-10-09 22:59:24 +00:00
flowtron e4bc0ea4c6 informative edittoggle
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5687 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-09-11 14:38:51 +00:00
flowtron 0d4a1e4deb remove double-send
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5286 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-05 18:45:36 +00:00
flowtron fd07a2be14 fixing bugs 2913506 and 2913507
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5284 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-05 18:35:16 +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
flowtron 3dfc3ae815 basic MapPack/MediaPack functionality - "checkmapdependencies"-CubeScript command needs testing/validation.
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4649 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-10-04 12:38:12 +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 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 7fae585a88 don't set health to 100 on edittoggle since it's only client-side anyway (bug found by grenadier)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4302 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-03-28 14:51:25 +00:00
ac_stef 720f7c4651 convenient moving of map entities
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4240 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-03-03 13:53:17 +00:00
Lee Salzman 0e25e544e3 delete type fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3690 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-20 21:23:45 +00:00
Lee Salzman 8472dd3ba2 added clip entities for easier clipping
added entset command for easier ent editing
revised command completion system


git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3182 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-22 03:28:44 +00:00
ac_stef 63fc5eab29 fix edittoggle
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3093 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-17 13:16:20 +00:00
Lee Salzman 39e6b95c5e avoid sending plaintext password on connect
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3080 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-16 23:53:38 +00:00
Lee Salzman 512e8b527e newmap fullbright fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3024 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-14 21:59:48 +00:00
Lee Salzman 3180d7641a fullbright fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2683 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-18 06:25:30 +00:00
Lee Salzman b76491d06e vertex lighting option for mapmodels
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2656 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-17 03:34:58 +00:00
Lee Salzman b2811e4893 faster reading of world structure
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2655 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-17 01:42:40 +00:00
Lee Salzman 3af127e1f6 reset line width after drawing cursor
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2619 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-15 09:07:13 +00:00
Lee Salzman 3b05838c82 gcc 4.3 warning/bug fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2320 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-08-14 08:58:07 +00:00
driAn 7d9b73887c removed old (nade) projectile code, menu sounds
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1812 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-04-20 17:34:30 +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
driAn 780cc3f4f1 spectator mode, new recoil
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1448 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-12-01 15:35:56 +00:00
driAn 3bdd0129f7 spectator mode during demoplayback
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1435 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-11-17 16:57:48 +00:00