Age | Commit message (Collapse) | Author |
|
savegames to catch any crashes due to broken savegames/missing NewGRFs and tell the user about that instead of "just" crashing without explanation.
|
|
and strecpy where direct conversion is possible
|
|
they will not overflow their buffers.
|
|
|
|
doesn't guarantee the resulting string is '\0'-terminated.
|
|
printf and && where || is meant. Found by MSVC's code analysis (Darkvater)
|
|
wrong comments!
|
|
|
|
|
|
|
|
|
|
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().
|
|
crashes to simplify debugging. See readme.txt for details
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
okay (or lines starting with a space and then tabs).
|
|
operators.
|
|
|
|
when it's not necessary.
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
it is really needed.
|
|
|
|
least for now.
|
|
single file and do not include gfx.h everywhere to get a Point type.
|
|
|
|
and making it more logic where function definitions can be found.
|
|
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
|
|
asserts and show them in crash.log for MSVC release builds
|
|
(Re|M|C)allocT and add a check for out-of-memory situations to the *allocT functions.
|
|
-Codechange: Make the mersenne twister more readable
-Codechange: Unify the seeding process of random
|
|
style
|
|
|
|
|
|
-Fix: WinCE doesn't support console
-Fix: Set debug lvl4 when running a debug WinCE build (as you can't give parameters any easy way)
|
|
|
|
(Darkvater)
|
|
|
|
on Windows (In-)
|
|
moving { to a new line.
|
|
|
|
be more flexible.
-Codechange: add support for personal directories on Windows.
-Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
|
|
any full paths (again).
|
|
|
|
tabs with spaces.
|