IUnitDef_generated.gpp problem
Moderator: Moderators
IUnitDef_generated.gpp problem
I'm removing noAutoFire from UnitDef in favor of the more generalized canFireControl and fireState (the fbi tag will still work). However, with noAutoFire gone, I get an error in IUnitDef_generated.gpp. Since it is a generated file, I don't think it would make sense to manually edit it, but when I try to run generate.bat, it complains about not finding GlobalAIInterfaces.dll. What do I need to do?
Re: IUnitDef_generated.gpp problem
That .dll assembly is (or was) used by some C# program to generate
the ABIC wrapper interface IIRC, you would have to compile it from the
stuff in ExternalAI/GlobalAIInterfaces (which is probably quite non-trivial
at this point, might be better to just remove all the dead binding code).
the ABIC wrapper interface IIRC, you would have to compile it from the
stuff in ExternalAI/GlobalAIInterfaces (which is probably quite non-trivial
at this point, might be better to just remove all the dead binding code).
Re: IUnitDef_generated.gpp problem
I would rather we had a basic C API intact so we could eventually fix it up and implement a proper C->C++ wrapper on the AI end.
Re: IUnitDef_generated.gpp problem
Just remove it until someone steps up who has time to fix it and maintain it. A small, clean, maintained codebase is better then a huge one of which half the code is just bitrotting away.
(and write the generate script in a portable manner, if it was LUA'ed or shell scripted it would be fine IMHO.)
EDIT: btw someone who knows what he's doing can probably make proper generated C binding with C++ proxy classes in one-two days.
(and write the generate script in a portable manner, if it was LUA'ed or shell scripted it would be fine IMHO.)
EDIT: btw someone who knows what he's doing can probably make proper generated C binding with C++ proxy classes in one-two days.