SamWibatt / GameTree

MIGRATING TO GITLAB Platform independent C++11 object library for game development
GNU General Public License v3.0
0 stars 0 forks source link

Mapping area type to index #10

Open SamWibatt opened 4 years ago

SamWibatt commented 4 years ago

Currently have an enum for things like nogo, slow, etc.

But this should be configurable per game

What about a csv spreadsheet that lists an area type string, index, then other details about it (possibly even the name of a handler to call) and this all gets converted into code by some other little tool?

SamWibatt commented 4 years ago

Similar thing with names so can make #defines or enums out of trigger names, etc, and handlers for those too?

The reason to use an external spreadsheet is that multiple maps might use the same names / types but the ripping tools wouldn't discover them in the same order, or alphabetize them the same way if they weren't all present, or whatever.

Like how you map features in machine learning feature vectors