Age | Commit message (Collapse) | Author |
|
related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror().
|
|
loading a savegame.
|
|
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
|
|
|
|
|
something more than whitespace as description of files that don't have a description.
|
|
|
|
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
|
|
mysterious hex (ln)
|
|
|
|
statically 'waste' memory when the old name array is not needed anymore.
|
|
operators.
|
|
conversions available to a bigger part of the code.
|
|
|
|
unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
|
station_func.h.
|
|
have both files in it's treelist.
|
|
|
|
a NOT_REACHED to DeterminePluralForm.
|
|
|
|
instead of fixed the problem. GetStringWithArgs() discards information that SCC_GENDER_LIST needs to work. Now use pointers to retrieve GRF strings, so that GetStringPtr() will work correctly. This is advantageous as now no buffer copy is made when using all GRF strings.
|
|
|
|
|
|
logical location.
|
|
|
|
unneeded include from openttd.h.
|
|
now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
|
|
|
|
|
|
when it's not necessary.
|
|
|
|
file(s)' more robust.
|
|
useless includes.
|
|
|
|
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
it is really needed.
|
|
machines.
|
|
|
|
pressed the enter key.
|
|
|
|
current 'font' for the 'currently' chosen language and give a warning when that does happen.
|
|
fitting to the naming style
|
|
style
|
|
instead of crashing.
|
|
string, just draw a message saying it is invalid.
|
|
money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo.
|
|
to registers 0x100 to 0x10F.
|
|
finder is set to if no config file is found (ln-)
|
|
colour from before the currency was printed; this removes the need to make two strings for printing currencies (one for positive currencies and one for negative currencies).
-Fix [FS#1036]: do not use green for currencies as it is practically unreadable on CRT monitors.
|