Various build and preprocessing tools required for developing Hatchit
This application is developed as part of HatchitEditor but is required for developing Hatchit.
####Functions
- Parses source files for use of
HID()
macro - Utilizes FNV hash algorithm to calculate hash value
- Processes source files and outputs modified file with hash value
- For example:
HID("Light")
will be replaced withHID(1141031956)
- For example:
####Purpose
- Allows the engine to avoid using string values for id
- Increases runtime performance due to faster integer checks
- Could also be used for implementing Localization system
####Usage
-
Arguments
-i [input source directory]
-o [output source directory]
####Example Usage
-- Parse source in Hatchit -- Ouput result to current directory HStringHasher -i Hatchit/source -o .
####GUI
Note: There is a GUI mode available when running the hash tool.