niv / neverwinter.nim

CLI tools and nim library used in Neverwinter Nights: Enhanced Edition development
MIT License
133 stars 29 forks source link

scriptcomp: Ability to emit warnings #119

Open mtijanic opened 7 months ago

mtijanic commented 7 months ago

Right now it just gives you back a strref for the first error it finds, or 0 if it compiled successfully. CScriptCompiler should be able to give a list of warnings as well. These needn't be TLK'd, but should have explicit IDs. Then nwn_script_comp can decide what to do with these based on its CLI flags.