Codechange: Let the compile generate the master command table out of templated command traits.
This is using a non-intrusive type-traits like templated system, which allows compile-time validation that the command table and the command enum match up.
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
#include "water.h"
|
||||
#include "company_gui.h"
|
||||
#include "station_func.h"
|
||||
#include "tunnelbridge_cmd.h"
|
||||
|
||||
#include "table/strings.h"
|
||||
#include "table/bridge_land.h"
|
||||
|
Reference in New Issue
Block a user