AIInterface:Mono: Difference between revisions

From Spring
Jump to navigationJump to search
Agon (talk | contribs)
initial version of MonoAIInterface
 
Agon (talk | contribs)
updated page to fit current status of the MonoAIInterface
 
Line 1: Line 1:
{{AIInterface|Mono|Agon|v0.1 (local copy)|Mono|pre alpha|GNU GPL v2+ and MIT}}
{{AIInterface|Mono|Agon|v0.5 (local copy)|CLI languages|beta|LGPL v2.1+ and MIT}}


=== Forum threads ===
=== Forum threads ===
Line 5: Line 5:


=== Description ===
=== Description ===
!NO CODE AVAILABLE YET!
This AI interface is written in C and allows spring to load AIs written in a CLI compatible language.  
This AI interface is written in C and allows spring to load AIs written in a CLI compatible language.  
These AIs consist of a ''.dll'' file, which contains at least one class with the name of the tag shortName described in a AIInfo.lua file. 


The source of this AI interface library can be found here: ''{spring_source}/AI/Interfaces/Mono/''
The source of this AI interface library can be found here: ''{spring_source}/AI/Interfaces/Mono/''


=== Currently supported AIs ===
=== Currently supported AIs ===
!NO AIS SUPPORTED YET!
* MonoNullAI
* CSharpSampleAI


=== Download ===
=== Download ===
!NO CODE AVAILABLE YET!
!NO PUBLIC CODE AVAILABLE YET!


=== Known Crashes ===
=== Known Crashes ===
*Wrong class name
* Description in AIInfo.lua does not fit to the AI.


=== How to compile ===
=== How to compile and install the interface ===
C part:
* Configure with: "cmake -i" or "cmake-gui"
* cmake
* make (optional with -j<number for jobs>)
* make
* make install (optional with -j<number for jobs>)


=== How to install/use ===
=== Required software ===
Additional software you need to have installed to be able to use CLI AIs:
* Mono 2.0<
* Mono >2.0
* GLib2 (required for Mono)
* GLib2 (required for Mono)
* AWK (for generating C# wrapper code)


''' [[AIs|<- Back to AI page]]'''
''' [[AIs|<- Back to AI page]]'''
[[Category:AIInterface]]
[[Category:AIInterface]]

Latest revision as of 15:32, 15 February 2009

Mono
Developer
Agon
Version
v0.5 (local copy)
Language Support
CLI languages
Status
beta
License
LGPL v2.1+ and MIT
<- Back to AI Interfaces

Forum threads

Description

This AI interface is written in C and allows spring to load AIs written in a CLI compatible language.

The source of this AI interface library can be found here: {spring_source}/AI/Interfaces/Mono/

Currently supported AIs

  • MonoNullAI
  • CSharpSampleAI

Download

!NO PUBLIC CODE AVAILABLE YET!

Known Crashes

  • Description in AIInfo.lua does not fit to the AI.

How to compile and install the interface

  • Configure with: "cmake -i" or "cmake-gui"
  • make (optional with -j<number for jobs>)
  • make install (optional with -j<number for jobs>)

Required software

  • Mono 2.0<
  • GLib2 (required for Mono)

<- Back to AI page