empserver/include
Markus Armbruster 29aefc356f Get rid of RET_SYS, just use RET_FAIL
RET_SYS was used for commands failing due to internal or environmental
errors, but not really systematically.  The difference to RET_FAIL is
how dispatch() treats them: RET_SYS got logged, and cost no BTUs.

More specific logging is possible at the point of failure than in
dispatch().  Make sure that's done for all failures that used to
return RET_SYS.

The change in BTU charging affects commands consider, offer, repay,
trade failing due to internal errors.  It also affects deity commands
reload and turn (irrelevant because deities get unlimited BTUs), and
commands apropos, info and motd (irrelevant because they cost no
BTUs).
2008-08-03 11:34:00 -04:00
..
budg.h Update copyright notice 2008-01-19 10:15:37 +01:00
com.h Update copyright notice 2008-01-19 10:15:37 +01:00
combat.h Update copyright notice 2008-01-19 10:15:37 +01:00
commands.h Update copyright notice 2008-01-19 10:15:37 +01:00
commodity.h Add sequence numbers to game state 2008-05-17 22:50:30 +02:00
damage.h Update copyright notice 2008-01-19 10:15:37 +01:00
distribute.h Update copyright notice 2008-01-19 10:15:37 +01:00
econfig-spec.h Remove option FUEL 2008-05-12 09:25:20 +02:00
empio.h Update copyright notice 2008-01-19 10:15:37 +01:00
empobj.h Add sequence numbers to game state 2008-05-17 22:50:30 +02:00
empthread.h Update copyright notice 2008-01-19 10:15:37 +01:00
file.h Add sequence numbers to game state 2008-05-17 22:50:30 +02:00
game.h Add sequence numbers to game state 2008-05-17 22:50:30 +02:00
ioqueue.h Update copyright notice 2008-01-19 10:15:37 +01:00
item.h Replace some typedef names by enum tags. 2008-03-14 20:25:42 +01:00
journal.h Update known contributors comments 2008-08-03 08:04:08 -04:00
land.h Remove columns lnd, pln from spy report to fix spy unit leak 2008-06-14 18:55:29 +02:00
loan.h Add sequence numbers to game state 2008-05-17 22:50:30 +02:00
lost.h Fix struct loststr / struct empobj mismatch corrupting lostitems 2008-08-01 08:50:24 -04:00
lwp.h Semaphores are no longer used, remove: 2007-02-08 12:29:16 +00:00
map.h Get rid of src/lib/gen/copy.c 2008-02-03 07:44:20 +01:00
match.h Update copyright notice 2008-01-19 10:15:37 +01:00
misc.h Get rid of RET_SYS, just use RET_FAIL 2008-08-03 11:34:00 -04:00
mission.h Update copyright notice 2008-01-19 10:15:37 +01:00
nat.h Add sequence numbers to game state 2008-05-17 22:50:30 +02:00
news.h Add sequence numbers to game state 2008-05-17 22:50:30 +02:00
nsc.h Make xundump oops on virtual selectors 2008-05-12 11:26:41 +02:00
nuke.h Add sequence numbers to game state 2008-05-17 22:50:30 +02:00
optlist.h Update known contributors comments 2008-03-14 20:25:44 +01:00
path.h Update copyright notice 2008-01-19 10:15:37 +01:00
plague.h Update copyright notice 2008-01-19 10:15:37 +01:00
plane.h Add sequence numbers to game state 2008-05-17 22:50:30 +02:00
player.h Fix treatment of EOF from player 2008-07-15 06:35:56 -04:00
power.h Update copyright notice 2008-01-19 10:15:37 +01:00
product.h Update copyright notice 2008-01-19 10:15:37 +01:00
proto.h Update copyright notice 2008-01-19 10:15:37 +01:00
prototypes.h New show product 2008-07-28 07:51:49 -04:00
queue.h New emp_searchque() 2008-03-14 21:00:29 +01:00
retreat.h Update copyright notice 2008-01-19 10:15:37 +01:00
sect.h Add sequence numbers to game state 2008-05-17 22:50:30 +02:00
server.h Update known contributors comments 2008-08-03 08:04:08 -04:00
service.h Update copyright notice 2008-01-19 10:15:37 +01:00
ship.h Add sequence numbers to game state 2008-05-17 22:50:30 +02:00
tel.h Update copyright notice 2008-01-19 10:15:37 +01:00
trade.h Add sequence numbers to game state 2008-05-17 22:50:30 +02:00
treaty.h Add sequence numbers to game state 2008-05-17 22:50:30 +02:00
types.h Update copyright notice 2008-01-19 10:15:37 +01:00
unit.h Update copyright notice 2008-01-19 10:15:37 +01:00
update.h Update copyright notice 2008-01-19 10:15:37 +01:00
version.h Update copyright notice 2008-01-19 10:15:37 +01:00
xdump.h Add gcc attribute format where it's missing 2008-08-02 12:00:33 -04:00
xy.h Fix XNORM() and YNORM() 2008-05-12 18:45:11 +02:00