AI:Development:Lang:Cpp: Difference between revisions

From Spring
Jump to navigationJump to search
Af (talk | contribs)
No edit summary
Af (talk | contribs)
No edit summary
Line 3: Line 3:
=Writing a Skirmish AI in C++=
=Writing a Skirmish AI in C++=


There are two ways of writing a C++ AI, using the legacy or the C++ Wrapper API. The legacy API is for older AIs using the old interface ( e.g. KAI, RAI, AAI etc ).
There are two ways of writing a C++ AI, using the [[AIWrapper:LegacyCpp| deprecated legacy API]] or the [[AIWrapper:Cpp| C++ Wrapper API]]. The legacy API is for older AIs using the old interface ( e.g. KAI, RAI, AAI etc ).


For an example of an AI using the new OO C++ Wrapper interface, refer to Shard by AF.
For an example of an AI using the new OO C++ Wrapper interface, refer to Shard by AF.

Revision as of 12:01, 19 October 2011

Development < AI Development < C++ AI Development

Writing a Skirmish AI in C++

There are two ways of writing a C++ AI, using the deprecated legacy API or the C++ Wrapper API. The legacy API is for older AIs using the old interface ( e.g. KAI, RAI, AAI etc ).

For an example of an AI using the new OO C++ Wrapper interface, refer to Shard by AF.

For further info, have a look at the forum.