AI:CppTestAI

From Spring
CppTestAI
Developer
hoijui
Version
0.1
Mod Support
Supports everything / Does nothing
Status
beta
License
GNU GPL V2+
Interface
C
Wrapper
Cpp
<- Back to List of AIs

C++ Test AI

Description

This Skirmish AI is written in C++ and uses the new C++ wrapper over the C AI Interface to prove that this wrapper works, and for testing purposes.

It is an empty implementation, meaning it will load, but do absolutely nothing. CppTestAI can be used to test the AI interface, or for exploring a map if one wants the end game screen not to appear. It should also be used as a template for new C++ Skirmish AI projects.

Download

It comes with spring source. Reffer to Obtaining the Source.

Known Crashes

  • None

How to compile

Use CMake. Reffer to Building Spring.

How to install

from: {spring_source}/AI/Skirmish/NullLegacyCppAI/
to: {spring_data_dir}/AI/Skirmish/NullLegacyCppAI/{NullLegacyCppAI-version}/

  • copy build/libNullLegacyCppAI.so, build/libNullLegacyCppAI.dylib or build/NullLegacyCppAI.dll to ./
  • copy data/* to ./

<- Back to AI page