I've compiled all of the functions I've wrote to help me code op2 missions into two files to help other people get their missions done faster and easier. I'm going to put the files up here for download to help who ever might want to use them. From time to time I'll update the files with new functions. I've also tried to explain everything as fully as I reasonably can to help new coders get a hold on things, if you need further explaination, feel free to ask me.
File Downloads: Last updated on Tuesday August 8th, 2006
Generic Files:
Op2FF.h - Full HeaderOp2FF.h - Abridged HeaderOp2FF.cpp - SourceGreenworld Files:
Op2FF.h - Full HeaderOp2FF.h - Abridged HeaderOp2FF.cpp - SourceTo use the files, download them into the folder where you have your CodeBlocks project file. Then open the project and go to Project -> Add files... then select one of the Op2FF files and repeat for the other. Now both of the Op2FF files should be included in your project when it compiles. Finaly, you need to add the line:
near the top of Main.cpp (I would normaly put in below the line #include <OP2Helper.h>).
Also, read the Notes section of either header file for additional instructions.
I chose to have the functions availiable in this way over a library file (like op2Extra) to let the coder modify the files to their needs, and to remove the dependence on an independent library file.
If you have any functions you would like included in future versions, please talk to me on the irc.