]> git.mxchange.org Git - quix0rs-blobwars.git/blobdiff - src/bullets.h
Don't define variables in header files.
[quix0rs-blobwars.git] / src / bullets.h
index ad6d701a0f14a16e4dac0b3936450c78c12375e2..653c1c95e1a247134c8e8400428ff28c9e1d0924 100644 (file)
@@ -1,5 +1,6 @@
 /*
-Copyright (C) 2004-2010 Parallel Realities
+Copyright (C) 2004-2011 Parallel Realities
+Copyright (C) 2011-2015 Perpendicular Dimensions
 
 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
@@ -21,6 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #include "headers.h"
 
 extern bool checkTrainContact(Entity *ent, int dir);
+extern void getTrainMotion(Entity *ent, int &dx, int &dy);
 extern bool checkObstacleContact(Entity *ent, int dir);
 extern void enemyBulletCollisions(Entity *bullet);
 extern void checkPlayerBulletCollisions(Entity *bullet);