summaryrefslogtreecommitdiff
path: root/openttd.h
diff options
context:
space:
mode:
authorludde <ludde@openttd.org>2005-07-14 09:43:59 +0000
committerludde <ludde@openttd.org>2005-07-14 09:43:59 +0000
commit80860170973d57edbf48c864a642cb5874f18c48 (patch)
treef6981bd89e076320ae37ab99f9dbf0619bca554c /openttd.h
parentf9018826382158da72dee004cc453f1b7e189a36 (diff)
downloadopenttd-80860170973d57edbf48c864a642cb5874f18c48.tar.xz
(svn r2564) Fix: Fixed conceptual issue in network_gui.c. AllocateName is not meant to be used by GUI-code, because it modifies the "game-state".
Added a way to bind a C-string to an openttd string which doesn't modify the game state.
Diffstat (limited to 'openttd.h')
-rw-r--r--openttd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/openttd.h b/openttd.h
index a44ccdc95..317acd03f 100644
--- a/openttd.h
+++ b/openttd.h
@@ -517,8 +517,9 @@ enum SpecialStrings {
SPECSTR_SCREENSHOT_START = 0x7140,
SPECSTR_SCREENSHOT_END = 0x715F,
- STR_SPEC_SCREENSHOT_NAME = 0xF800,
- STR_SPEC_USERSTRING = 0xF801,
+ // Used to implement SetDParamStr
+ STR_SPEC_DYNSTRING = 0xF800,
+ STR_SPEC_USERSTRING = 0xF808,
};
typedef void PlaceProc(TileIndex tile);