2025-08-15 13:59 CEST

spring: develop 84e2b6b5 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
hoijui hoijui develop 2009-01-03 11:40:42 develop 138c131b
Changeset mostly thanks to tips from LoidThanead: * changed lots of isCan* C callbacks to isAbleTo* * added new C callback to get all units of the team called getTeamUnits (this list should be equal to one that AI keeps track of through UnitCreated and UnitDestroyed events) * commented all AI Events plus a few callbacks * in the Java Interface, in addition to the changes above which are reflected here: ** methods previously named EnemyUnit() and the like, are now named correctly: getEnemyUnits() ** using the return type List rather than ArrayList (internally, ArrayList is used) ** getBuildOptions now returns List[UnitDef] instead of int[] unitDefIds

git-svn-id: https://spring.clan-sy.com/svn/spring/branches/caiinterface@7222 37977431-3df6-0310-b722-df95706aa16b
mod - AI/Interfaces/Java/Util.c Diff ] File ]
mod - AI/Interfaces/Java/Util.h Diff ] File ]
mod - AI/Interfaces/Java/bin/java_wrappCallbackOO.awk Diff ] File ]
mod - AI/Interfaces/Java/bin/jna_wrappEvents.awk Diff ] File ]
mod - AI/Skirmish/NullOOJavaAI/nulloojavaai/NullOOJavaAI.java Diff ] File ]
mod - AI/Wrappers/LegacyCpp/AIAICallback.cpp Diff ] File ]
mod - rts/ExternalAI/Interface/AISEvents.h Diff ] File ]
mod - rts/ExternalAI/Interface/SAICallback.h Diff ] File ]
mod - rts/ExternalAI/SAICallback.cpp Diff ] File ]