Files @ r1820:335b057adac7
Branch filter:

Location: cpp/openttd-patchpack/source/callback_table.h

tron
(svn r2324) Introduce _cmd_text for passing strings with a command instead of abusing _decode_parameters as text buffer. This should prevent several possible buffer overruns and is a bit cleaner to use. As bonus it reduces the size of most command packets by 79 bytes.
1
2
3
4
5
6
7
#ifndef CALLBACK_TABLE_H
#define CALLBACK_TABLE_H

extern CommandCallback *_callback_table[];
extern const int _callback_table_count;

#endif