empserver/src/lib/commands
Markus Armbruster da59e02706 Validate explore's third argument earlier
The old code checked a bunch of other things first, which made it hard
to see that the value of onearg() was checked properly.
2008-07-21 08:13:40 -04:00
..
acce.c Update copyright notice 2008-01-19 10:15:37 +01:00
add.c Fix add of for status arguments active, god, delete 2008-04-06 09:18:56 +02:00
anti.c Update copyright notice 2008-01-19 10:15:37 +01:00
arm.c Fix command abortion after getting player input 2008-07-21 07:19:18 -04:00
army.c Update copyright notice 2008-01-19 10:15:37 +01:00
assa.c Fix some argument prompts to end in one space 2008-05-10 18:52:29 +02:00
atta.c Update copyright notice 2008-01-19 10:15:37 +01:00
bdes.c Fix bdes and designate to always write updated bmap to disk 2008-07-21 08:13:31 -04:00
best.c Update copyright notice 2008-01-19 10:15:37 +01:00
boar.c Update copyright notice 2008-01-19 10:15:37 +01:00
bomb.c Fix bomb to fail on empty <pin|strat> argument 2008-07-21 07:52:35 -04:00
brea.c Update copyright notice 2008-01-19 10:15:37 +01:00
budg.c Update copyright notice 2008-01-19 10:15:37 +01:00
buil.c Remove option FUEL 2008-05-12 09:25:20 +02:00
buy.c Update copyright notice 2008-01-19 10:15:37 +01:00
capi.c Update copyright notice 2008-01-19 10:15:37 +01:00
carg.c Update copyright notice 2008-01-19 10:15:37 +01:00
cede.c Fix cede not prompt twice for its first argument 2008-07-21 08:13:40 -04:00
cens.c Update copyright notice 2008-01-19 10:15:37 +01:00
chan.c Include system headers before ours 2008-03-14 20:25:11 +01:00
coas.c Update copyright notice 2008-01-19 10:15:37 +01:00
coll.c Replace commented out code in coll() by a suitable comment 2008-05-31 18:25:35 +02:00
comm.c Update copyright notice 2008-01-19 10:15:37 +01:00
cons.c Update copyright notice 2008-01-19 10:15:37 +01:00
conv.c Update copyright notice 2008-01-19 10:15:37 +01:00
coun.c Update copyright notice 2008-01-19 10:15:37 +01:00
cuto.c Update copyright notice 2008-01-19 10:15:37 +01:00
decl.c Update copyright notice 2008-01-19 10:15:37 +01:00
deli.c Fix command abortion after getting player input 2008-07-21 07:19:18 -04:00
demo.c Update copyright notice 2008-01-19 10:15:37 +01:00
desi.c Fail commands properly when they get aborted 2008-07-21 08:13:40 -04:00
disa.c Update copyright notice 2008-01-19 10:15:37 +01:00
dist.c Fix distribute aborting at prompt for second argument 2008-07-21 07:50:13 -04:00
drop.c Change pln_mine() parameters to match pln_dropoff() 2008-07-12 14:53:46 -04:00
dump.c Update copyright notice 2008-01-19 10:15:37 +01:00
echo.c Update copyright notice 2008-01-19 10:15:37 +01:00
edit.c Update known contributors comments 2008-05-18 10:59:04 +02:00
enab.c Update copyright notice 2008-01-19 10:15:37 +01:00
enli.c Update copyright notice 2008-01-19 10:15:37 +01:00
expl.c Validate explore's third argument earlier 2008-07-21 08:13:40 -04:00
fina.c Update copyright notice 2008-01-19 10:15:37 +01:00
flash.c Update copyright notice 2008-01-19 10:15:37 +01:00
flee.c Update copyright notice 2008-01-19 10:15:37 +01:00
fly.c Change pln_dropoff() parameters to match pln_newlanding() 2008-07-12 14:53:28 -04:00
foll.c Fix some argument prompts to end in one space 2008-05-10 18:52:29 +02:00
forc.c Update copyright notice 2008-01-19 10:15:37 +01:00
fort.c Update copyright notice 2008-01-19 10:15:37 +01:00
give.c Update copyright notice 2008-01-19 10:15:37 +01:00
grin.c Update copyright notice 2008-01-19 10:15:37 +01:00
hard.c Don't let missiles loaded on land units be hardened 2008-04-28 22:27:54 +02:00
head.c Check subscript of rpt[] 2008-03-14 20:25:08 +01:00
improve.c Update copyright notice 2008-01-19 10:15:37 +01:00
info.c Update copyright notice 2008-01-19 10:15:37 +01:00
land.c Remove option FUEL 2008-05-12 09:25:20 +02:00
laun.c Comment why collateral damage for missing missile is disabled 2008-06-06 21:31:55 +02:00
lboard.c Update copyright notice 2008-01-19 10:15:37 +01:00
ldump.c Remove option FUEL 2008-05-12 09:25:20 +02:00
ledg.c Update copyright notice 2008-01-19 10:15:37 +01:00
leve.c Update copyright notice 2008-01-19 10:15:37 +01:00
load.c Don't let hardened missiles be loaded on ships or land units 2008-04-28 22:30:19 +02:00
look.c Don't store land unit stats in struct lndstr, part 2 2008-03-14 20:25:41 +01:00
lost.c Update copyright notice 2008-01-19 10:15:37 +01:00
lstat.c Don't store land unit stats in struct lndstr, part 2 2008-03-14 20:25:41 +01:00
lten.c Update copyright notice 2008-01-19 10:15:37 +01:00
map.c Update copyright notice 2008-01-19 10:15:37 +01:00
marc.c Update copyright notice 2008-01-19 10:15:37 +01:00
mark.c Update copyright notice 2008-01-19 10:15:37 +01:00
mfir.c Fix command abortion after getting player input 2008-07-21 07:19:18 -04:00
mine.c Fix command abortion after getting player input 2008-07-21 07:19:18 -04:00
miss.c Change test whether a land unit is artillery 2008-03-14 20:25:37 +01:00
mobq.c Fix some argument prompts to end in one space 2008-05-10 18:52:29 +02:00
mora.c Fail commands properly when they get aborted 2008-07-21 08:13:40 -04:00
move.c Make would_abandon() more robust 2008-03-26 22:10:28 +01:00
name.c Update copyright notice 2008-01-19 10:15:37 +01:00
nati.c Clean up ugly line break 2008-02-26 21:07:58 +01:00
navi.c Use sctstr member sct_uid instead of recomputing it 2008-03-26 22:10:29 +01:00
ndump.c Update copyright notice 2008-01-19 10:15:37 +01:00
new.c Make newcap's second argument mandatory 2008-03-26 22:10:29 +01:00
newe.c Update copyright notice 2008-01-19 10:15:37 +01:00
news.c Check subscript of rpt[] 2008-03-14 20:25:08 +01:00
nuke.c Update copyright notice 2008-01-19 10:15:37 +01:00
offe.c No need to assign uid after ef_blank() 2008-03-26 22:13:21 +01:00
orde.c Fix command abortion after getting player input 2008-07-21 07:19:18 -04:00
orig.c Fix origin command not to prompt twice for its argument 2008-05-07 22:05:22 +02:00
para.c Fix tracking of planes flying a sortie 2008-03-26 22:10:13 +01:00
path.c Update copyright notice 2008-01-19 10:15:37 +01:00
payo.c Update copyright notice 2008-01-19 10:15:37 +01:00
pboa.c Update copyright notice 2008-01-19 10:15:37 +01:00
pdump.c Distinguish between planes "in orbit" and "launched" 2008-03-26 22:09:09 +01:00
peek.c Update copyright notice 2008-01-19 10:15:37 +01:00
plan.c Distinguish between planes "in orbit" and "launched" 2008-03-26 22:09:09 +01:00
play.c Update copyright notice 2008-01-19 10:15:37 +01:00
powe.c Fix command abortion after getting player input 2008-07-21 07:19:18 -04:00
prod.c Update copyright notice 2008-01-19 10:15:37 +01:00
pstat.c Don't store plane stats in struct plnstr 2008-03-14 20:25:41 +01:00
rada.c Don't store land unit stats in struct lndstr, part 2 2008-03-14 20:25:41 +01:00
rang.c Fix command abortion after getting player input 2008-07-21 07:19:18 -04:00
rea.c Update copyright notice 2008-01-19 10:15:37 +01:00
real.c Set timestamp automatically on write 2008-03-14 20:25:43 +01:00
reco.c Fix tracking of planes flying a sortie 2008-03-26 22:10:13 +01:00
reje.c Update copyright notice 2008-01-19 10:15:37 +01:00
rela.c Update copyright notice 2008-01-19 10:15:37 +01:00
relo.c Update copyright notice 2008-01-19 10:15:37 +01:00
repa.c Update copyright notice 2008-01-19 10:15:37 +01:00
repo.c Update copyright notice 2008-01-19 10:15:37 +01:00
rese.c Update copyright notice 2008-01-19 10:15:37 +01:00
reso.c Remove some useless commented out code 2008-06-06 21:25:28 +02:00
retr.c Clean up and improve retreat condition handling 2008-07-12 10:41:44 -04:00
rout.c Fail commands properly when they get aborted 2008-07-21 08:13:40 -04:00
sabo.c Fix tracking of planes flying a sortie 2008-03-26 22:10:13 +01:00
sail.c Fix command abortion after getting player input 2008-07-21 07:19:18 -04:00
sate.c Distinguish between planes "in orbit" and "launched" 2008-03-26 22:09:09 +01:00
scra.c Update copyright notice 2008-01-19 10:15:37 +01:00
scut.c Update copyright notice 2008-01-19 10:15:37 +01:00
sdump.c Remove option FUEL 2008-05-12 09:25:20 +02:00
sect.c Update copyright notice 2008-01-19 10:15:37 +01:00
sell.c No need to assign uid after ef_blank() 2008-03-26 22:13:21 +01:00
set.c Fail commands properly when they get aborted 2008-07-21 08:13:40 -04:00
setres.c Update copyright notice 2008-01-19 10:15:37 +01:00
setsect.c Update copyright notice 2008-01-19 10:15:37 +01:00
shar.c Update copyright notice 2008-01-19 10:15:37 +01:00
shark.c Update copyright notice 2008-01-19 10:15:37 +01:00
shi.c Remove option FUEL 2008-05-12 09:25:20 +02:00
shoo.c Update copyright notice 2008-01-19 10:15:37 +01:00
show.c Fix some argument prompts to end in one space 2008-05-10 18:52:29 +02:00
shut.c Fix command abortion after getting player input 2008-07-21 07:19:18 -04:00
sinf.c Update copyright notice 2008-01-19 10:15:37 +01:00
skyw.c Distinguish between planes "in orbit" and "launched" 2008-03-26 22:09:09 +01:00
sona.c Don't store ship stats in struct shpstr 2008-03-14 20:25:41 +01:00
spy.c Make spy command require sector military 2008-06-15 08:49:25 +02:00
sstat.c Don't store ship stats in struct shpstr 2008-03-14 20:25:41 +01:00
stop.c Update known contributors comments 2008-03-14 20:25:44 +01:00
stre.c Update copyright notice 2008-01-19 10:15:37 +01:00
strv.c Update copyright notice 2008-01-19 10:15:37 +01:00
supp.c Update copyright notice 2008-01-19 10:15:37 +01:00
surv.c Update copyright notice 2008-01-19 10:15:37 +01:00
swap.c Add sequence numbers to game state 2008-05-17 22:50:30 +02:00
tele.c Update copyright notice 2008-01-19 10:15:37 +01:00
tend.c Fail commands properly when they get aborted 2008-07-21 08:13:40 -04:00
terr.c Update copyright notice 2008-01-19 10:15:37 +01:00
thre.c Update copyright notice 2008-01-19 10:15:37 +01:00
togg.c Update copyright notice 2008-01-19 10:15:37 +01:00
torp.c Update known contributors comments 2008-03-14 20:25:44 +01:00
trad.c Remove commented out trade sanity check 2008-06-06 21:25:28 +02:00
tran.c Distinguish between planes "in orbit" and "launched" 2008-03-26 22:09:09 +01:00
trea.c Update copyright notice 2008-01-19 10:15:37 +01:00
turn.c Update copyright notice 2008-01-19 10:15:37 +01:00
upda.c Update copyright notice 2008-01-19 10:15:37 +01:00
upgr.c Distinguish between planes "in orbit" and "launched" 2008-03-26 22:09:09 +01:00
vers.c Update known contributors comments 2008-05-18 10:59:04 +02:00
wing.c Update copyright notice 2008-01-19 10:15:37 +01:00
wipe.c Update copyright notice 2008-01-19 10:15:37 +01:00
work.c Update copyright notice 2008-01-19 10:15:37 +01:00
xdump.c Implement human-readable dialect for xdump 2008-03-14 20:25:42 +01:00
zdon.c Fail commands properly when they get aborted 2008-07-21 08:13:40 -04:00