AIWrapper:LegacyCpp: Difference between revisions
From Spring
Jump to navigationJump to search
No edit summary |
m 1cat (2cat) |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{deprecated}} | |||
{{AIWrapper|LegacyCpp|hoijui & zenzike|0.1|C++|~stable|GNU GPL v2+|[[AIInterface:C|C]]}} | {{AIWrapper|LegacyCpp|hoijui & zenzike|0.1|C++|~stable|GNU GPL v2+|[[AIInterface:C|C]]}} | ||
| Line 9: | Line 10: | ||
This AI interface wrapper is written in C++. It allows spring to load AIs written for the old C++ AI interface of spring, and should not be used for new projects. | This AI interface wrapper is written in C++. It allows spring to load AIs written for the old C++ AI interface of spring, and should not be used for new projects. | ||
==== | === Used By === | ||
==== Skirmish AIs ==== | |||
* '''[[AI:AAI|AAI]]''' | * '''[[AI:AAI|AAI]]''' | ||
* '''[ | * '''[http://springrts.com/phpbb/viewtopic.php?f=15&t=19450 E323AI]''' | ||
* '''[[AI:KAIK|KAIK]]''' | * '''[[AI:KAIK|KAIK]]''' | ||
* '''[[AI:NTAI|NTai]]''' | * '''[[AI:NTAI|NTai]]''' | ||
* '''[[AI:NullLegacyCppAI|NullLegacyCppAI]]''' | * '''[[AI:NullLegacyCppAI|NullLegacyCppAI]]''' | ||
* '''[[AI:RAI|RAI]]''' | |||
==== | === Download === | ||
==== Binary ==== | |||
It comes with a spring default install. | It comes with a spring default install. | ||
| Line 23: | Line 27: | ||
''{spring_source}/AI/Wrappers/LegacyCpp/'' | ''{spring_source}/AI/Wrappers/LegacyCpp/'' | ||
=== Bugs === | |||
Known crashes: | |||
* None | * None | ||
Please report bugs under | Please report bugs under [http://springrts.com/mantis/ Mantis] to the AI subproject. | ||
[http://springrts.com/mantis/ Mantis] | |||
to the AI subproject. | |||
=== How to compile === | |||
It is compiled directly into AIs using it. Refer to springs Scons or CMake build files. | It is compiled directly into AIs using it. Refer to springs Scons or CMake build files. | ||
=== How to study body of API function === | |||
Open ''AI\Wrappers\LegacyCpp\AIAICallback.cpp'', search for desired function, detect appropriate Clb_* function. Then open ''rts\ExternalAI\SSkirmishAICallbackImpl.cpp'' and find goal function body. Also you may try to read additional info in ''rts\ExternalAI\Interface\SSkirmishAICallback.h'' file for Clb_* function. | |||
''' [[AIs|<- Back to AI page]]''' | ''' [[AIs|<- Back to AI page]]''' | ||
[[Category: AIWrapper]] | [[Category: AIWrapper]] | ||
Latest revision as of 18:55, 20 March 2013
| Warning! This page is outdated! The information displayed may no longer be valid, or has not been updated in a long time. Please refer to a different page for current information. |
| Developer | |
| Version | |
| Language Support | |
| Status | |
| License | |
| AI Interface | |
Legacy/Old C++ AI Interface Wrapper
Forum threads
Description
This AI interface wrapper is written in C++. It allows spring to load AIs written for the old C++ AI interface of spring, and should not be used for new projects.
Used By
Skirmish AIs
Download
Binary
It comes with a spring default install.
Source
The source can be found under: {spring_source}/AI/Wrappers/LegacyCpp/
Bugs
Known crashes:
- None
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.
How to study body of API function
Open AI\Wrappers\LegacyCpp\AIAICallback.cpp, search for desired function, detect appropriate Clb_* function. Then open rts\ExternalAI\SSkirmishAICallbackImpl.cpp and find goal function body. Also you may try to read additional info in rts\ExternalAI\Interface\SSkirmishAICallback.h file for Clb_* function.