Age | Commit message (Collapse) | Author |
|
wrapper functions
|
|
with the macro.
|
|
reduce duplication and remove gotos.
|
|
of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company.
|
|
CommandCost it tests when you don't have enough money instead of setting a global variable.
|
|
whether it succeeded or not.
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
|
|
timetable. Based on work by PhilSophus.
|
|
TheJosh, GeekToo, Terkhen and others)
|
|
before the details string.
Gentlemen, swap your string parameters.
|
|
|
|
|
|
run, error message wasn't set. Affects only few commands
|
|
|
|
|
|
|
|
|
|
setting of the error message to a single place
|
|
scenario editor
|
|
|
|
spectator. This to reduce the difference between dedicated and non-dedicated servers and normal clients.
|
|
|
|
settings: the default set in the main menu / config file is now really the default for a new company, and changing the value in game will no longer change the default for new companies.
|
|
PoolItem::IsValidID() and PoolItem::Get()
|
|
PoolItem::IsValidID(index)
|
|
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
sources too
|
|
|
|
color and colour.
|
|
except where it's used for backward compatability.
|
|
executing a command
|
|
in a 'dedicated' server.
|
|
|
|
too instead of a separate command.
|
|
|
|
|
|
|
|
flags from the result of GetCommandFlags().
|
|
|
|
directly to DoCommand(P).
|
|
the network as it's bogus information anyway; e.g. the "do not send over network" flag as it will be set whenever the command is received from the server/client.
-Codechange: test earlier whether the command (send from the server) is actually valid.
|
|
|
|
table
|
|
|
|
|
|
debug stuff a runtime configurable debug option instead of a compile time option.
|
|
(optional) parameter.
|
|
|
|
by planetmaker)
|
|
|