diff options
author | rubidium <rubidium@openttd.org> | 2011-05-02 17:42:12 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-05-02 17:42:12 +0000 |
commit | fb5ecb94992e7febf4bc059cb6ec4a51f50c66b0 (patch) | |
tree | 87956636c318baa8d5d8d62f13263c4f64dbe881 /src/gamelog.h | |
parent | 4d5dbf51707c42c24eeafdb65016b079c54adcf2 (diff) | |
download | openttd-fb5ecb94992e7febf4bc059cb6ec4a51f50c66b0.tar.xz |
(svn r22411) -Document: another bunch of bits
Diffstat (limited to 'src/gamelog.h')
-rw-r--r-- | src/gamelog.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gamelog.h b/src/gamelog.h index 3bb698697..0fa54e9c2 100644 --- a/src/gamelog.h +++ b/src/gamelog.h @@ -14,6 +14,7 @@ #include "newgrf_config.h" +/** The actions we log. */ enum GamelogActionType { GLAT_START, ///< Game created GLAT_LOAD, ///< Game loaded @@ -31,6 +32,10 @@ void GamelogStopAction(); void GamelogReset(); +/** + * Callback for printing text. + * @param s The string to print. + */ typedef void GamelogPrintProc(const char *s); void GamelogPrint(GamelogPrintProc *proc); // needed for WIN32 / WINCE crash.log |