Posted: 08 Nov 2006, 23:22
Does C# have operator overloading?
That's one of the sucky things that Java is missing...
That's one of the sucky things that Java is missing...
Open Source Realtime Strategy Game Engine
https://springrts.com/phpbb/
There's a pretty complete bunch of prototypes within the downloads on the page, partly from me partly from jelmer. What's missing is bringing the prototypes together to create the generator.I don't know nearly enough to start
Code: Select all
domain = mono_jit_init ("AILauncher");
if (!domain)
throw std::runtime_error ("Couldn't create mono JIT runtime.");
mono_debug_init(MONO_DEBUG_FORMAT_MONO);
mono_debug_init_1( domain );
// load the managed dll
assembly = mono_domain_assembly_open (domain, dll);
if (!assembly)
throw std::runtime_error("failed to load " + std::string(dll));
mono_debug_init_2( assembly );
image = mono_assembly_get_image(assembly);
Code: Select all
ABICInterface.IAICallback_SendTextMsg( aicallback, "Unit created: " + ABICInterface.UnitDef_get_name( unitdef ), 0 );
Code: Select all
aicallback.SendTextMsg( "Unit created: " + unitdef.name, 0 );
Isn't there a set of mono_array_* functions in the mono headers?What's missing is essentially anything involving arrays.
Yeah, heavily documented just like the rest of Mono embeddingjcnossen wrote:Isn't there a set of mono_array_* functions in the mono headers?
That's a lot of classes. If you could somehow make it so only asking for a single one at a time will help you, it would make it less intimidatingKloot wrote:@Hugh: would it be possible to also create wrapper interface headers for IGlobalAI.h, IAICheats.h, IAIGroup.h, Weapon.h and WeaponDefHandler.h (from Sim/Weapons), and StdAfx.h (from System/)? I'm porting a C++ AI to use ABIC++ but it depends on those six files (update: actually only on IGlobalAI.h, IAICheats.h, WeaponDefHandler.h and StdAfx.h) and since they're neither covered by ABIC on the Spring side nor by ABIC++ on the AI side, I can't proceed :)