Ruin0x11 / ElonaPlusCustom-GX

Elona+ variant based on Custom-G
140 stars 19 forks source link

(Draft) Seperating #defines into seperate files #95

Open EnragedWaters opened 2 years ago

EnragedWaters commented 2 years ago

Hiya, so I started to categorize the #define's into separate files - just some small notes:

  1. Since it's a lot to cover... might be best to look at the #include list in mod.hsp
  2. Since trait and event names were taken I added the word "define" at the end->so they're called traitdefine and eventdefine instead.
  3. While music is used in mdata, I didn't know if I should put the sound in there since sdata is like skill/spell, and didn't know if mdata was sorta like "map/music."
  4. The items I didn't touch in mod.hsp either aren't called directly like cdata(grabStuff) or mdata(Stuff) or I couldn't decide where to put them.

Again this is sorta massive now that I'm looking at it on gitHub so if you decide to cancel/scrap this idea I completely understand - at least I learned db means Database lol. But I ran the compiler and created a character, ran around Vernis for a bit - so it should functional.