fs2open: fs2_open-ai r4732

Author Committer Branch Timestamp Parent
Fabian fs2_open-ai 2008-08-01 20:23 Pending
Changeset Added an example AI implementation.

Under linux the following works to build it:

g++ -I. -I /usr/include/SDL newai/newai.cpp -shared -o newai.so

Then you need to use:

LD_LIBRARY_PATH=$(pwd) ./fs2_open_r

And add a newai-aip.tbm file:

#AI Profiles

$Profile Name: FS2 RETAIL
+nocreate
$AI Module: newai
#End

add - /branches/fs2_open-ai/code/newai File
add - /branches/fs2_open-ai/code/newai/newai.cpp File