AIWrapper:Cpp

From Spring
Cpp
Developer
hoijui
Version
0.1
Language Support
C++
Status
alpha
License
GNU GPL v2+
AI Interface
C
<- Back to AI Interfaces

(New) C++ AI Interface Wrapper

Forum threads

Description

This AI interface wrapper is written in C++. It allows C++ Skimrish AI devs to write AIs in a more future proof way than the legacy wrapper, which is meant to be replaced by this wrapper over time. Use this, and not the legacy wrapper for new C++ AIs.

The source is not yet in springs master branch, but in the cppintnew one under: {spring_source}/AI/Wrappers/Cpp/

Used By

Skirmish AIs

Download

Included in the spring engine source code.

Source

The source can be found in the cppintnew branch under: {spring_source}/AI/Wrappers/Cpp/

Bugs

Known Crashes:

  • None

Missing Features:

  • compleet ID -> OO object wrapping (eg no more unitIDs, but only Unit OO objects)

Please report bugs under Mantis to the AI subproject.

How to compile

It is compiled directly into AIs using it. Refer to springs Scons or CMake build files.

<- Back to AI page