Misc cleanup.
This commit is contained in:
parent
7b0c70005f
commit
35b5e4a1c6
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name" : "Defend Jumpgate Point",
|
"name" : "Defend Jumpgate",
|
||||||
"description" : "Defend Jumpgate Point",
|
"description" : "Defend Jumpgate",
|
||||||
"background" : "AUTO",
|
"background" : "AUTO",
|
||||||
"planet" : "AUTO",
|
"planet" : "AUTO",
|
||||||
"music" : "AUTO",
|
"music" : "AUTO",
|
||||||
|
|
|
@ -65,7 +65,7 @@ void doAI(void)
|
||||||
|
|
||||||
if ((self->aiFlags & AIF_GOAL_JUMPGATE) && nearJumpgate())
|
if ((self->aiFlags & AIF_GOAL_JUMPGATE) && nearJumpgate())
|
||||||
{
|
{
|
||||||
/* near jumpgate point, but you might decide to continue to fight, anyway */
|
/* near jumpgate, but you might decide to continue to fight, anyway */
|
||||||
if ((self->aiFlags & AIF_COVERS_RETREAT) && rand() % 3)
|
if ((self->aiFlags & AIF_COVERS_RETREAT) && rand() % 3)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -67,7 +67,6 @@ extern void initQuadtree(Quadtree *root);
|
||||||
extern void initEffects(void);
|
extern void initEffects(void);
|
||||||
extern void doScript(void);
|
extern void doScript(void);
|
||||||
extern void destroyScript(void);
|
extern void destroyScript(void);
|
||||||
extern void runScriptFunction(char *format, ...);
|
|
||||||
extern void initMessageBox(void);
|
extern void initMessageBox(void);
|
||||||
extern void doMessageBox(void);
|
extern void doMessageBox(void);
|
||||||
extern void drawMessageBox(void);
|
extern void drawMessageBox(void);
|
||||||
|
|
|
@ -40,7 +40,6 @@ extern void loadCapitalShipDefs(void);
|
||||||
extern void loadItemDefs(void);
|
extern void loadItemDefs(void);
|
||||||
extern void initFonts(void);
|
extern void initFonts(void);
|
||||||
extern void initBulletDefs(void);
|
extern void initBulletDefs(void);
|
||||||
extern void initBattle(void);
|
|
||||||
extern void initGame(void);
|
extern void initGame(void);
|
||||||
extern void initStats(void);
|
extern void initStats(void);
|
||||||
extern void initStarSystems(void);
|
extern void initStarSystems(void);
|
||||||
|
|
Loading…
Reference in New Issue