mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-02 00:26:01 +00:00
19 lines
487 B
Text
19 lines
487 B
Text
|
|
enum_template.h
|
|
enum_template.cpp
|
|
|
|
You can use those file to easily build new Enum from .typ
|
|
|
|
Simply replace (whith case sensitive but not whole word) in whole file:
|
|
|
|
enum_template
|
|
ENUM_TEMPLATE
|
|
EEnumTemplate
|
|
|
|
with the true name (eg: item_origin, ITEM_ORIGIN and EItemOrigin)
|
|
|
|
Then to add new enums, you must add them only in:
|
|
|
|
- the enum list in the .h, beetween UNKNOWN and NUM_....
|
|
- the StringArray list in the .cpp, with the same order as in the enum list
|
|
|