Age | Commit message (Collapse) | Author |
|
with all other structs/classes that are in a pool.
|
|
|
|
were printed, otherwise the text could change due to the few number of slots that could be used to bind.
-Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
|
|
joined as it is only exposes the unique_id more than needed. Patch by dih.
|
|
|
|
name in the commands too.
|
|
|
|
-Fix: MP advertising was not advertising.
|
|
|
|
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().
|
|
|
|
|
|
variables.h so one doesn't need to include openttd.h before variables.h.
|
|
settings between NetworkSettings and NetworkGameInfo.
-Fix: failure of changing the server password during games because the password wasn't duplicated properly.
|
|
-Cleanup: some reincarnations of _fios_items in the code
|
|
|
|
headers so that nothing from the network directory needs to include basically all network headers.
|
|
network/network_internal to settings.
|
|
|
|
|
|
|
|
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
|
|
|
|
|
|
|
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
|
|
|
|
initialised once and always with the same value with enums.
|
|
|
|
|
|
Window constructors.
|
|
OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean.
|
|
window_gui.h only needs to be included in *_gui.cpp.
|
|
the Window class and remove Window from their naming.
|
|
|
|
|
|
SelectPlayerFaceWindow children of PlayerCompanyWindow.
|
|
|
|
|
|
|
|
GenerateLandscapeWindow, NetworkChatWindow, NetworkCompanyPasswordWindow, NetworkGameWindow, NetworkStartServerWindow, QueryStringWindow, SaveLoadWindow. All these classes depended on the 'querystr_d' object which is now put into QueryStringBaseWindow. As a side effect this removes quite a lot of WP macro usages and a few global variables.
|
|
object is bound to cause errors.
|
|
|
|
same thing.
|
|
the need for WE_ON_EDIT_TEXT_CANCEL.
|
|
|
|
|
|
Window.
|
|
a Window constructor.
|
|
from openttd.h to their own headers.
|