Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix GPL header, Foobar -> VDrift.

  • Loading branch information...
commit ebdbeb88b5f54977f3e408c0da7017461d4dfa16 1 parent b14f6b8
@logzero logzero authored
View
2  src/ai/ai.cpp
@@ -13,7 +13,7 @@
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
-/* along with Foobar. If not, see <http://www.gnu.org/licenses/>. */
+/* along with VDrift. If not, see <http://www.gnu.org/licenses/>. */
/* */
/************************************************************************/
View
2  src/ai/ai.h
@@ -13,7 +13,7 @@
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
-/* along with Foobar. If not, see <http://www.gnu.org/licenses/>. */
+/* along with VDrift. If not, see <http://www.gnu.org/licenses/>. */
/* */
/************************************************************************/
View
4 src/ai/ai_car.h
@@ -13,7 +13,7 @@
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
-/* along with Foobar. If not, see <http://www.gnu.org/licenses/>. */
+/* along with VDrift. If not, see <http://www.gnu.org/licenses/>. */
/* */
/************************************************************************/
@@ -55,4 +55,4 @@ class AI_Car
virtual void Visualize() { }
};
-#endif // _AI_CAR_H
+#endif // _AI_CAR_H
View
2  src/ai/ai_car_experimental.cpp
@@ -13,7 +13,7 @@
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
-/* along with Foobar. If not, see <http://www.gnu.org/licenses/>. */
+/* along with VDrift. If not, see <http://www.gnu.org/licenses/>. */
/* */
/************************************************************************/
View
12 src/ai/ai_car_experimental.h
@@ -13,7 +13,7 @@
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
-/* along with Foobar. If not, see <http://www.gnu.org/licenses/>. */
+/* along with VDrift. If not, see <http://www.gnu.org/licenses/>. */
/* */
/************************************************************************/
@@ -55,7 +55,7 @@ class AI_Car_Experimental :
float brakeFromOthers(float speed_diff); ///< returns a float that should be added into the brake command. speed_diff is the difference between the desired speed and speed limit of this area of the track
double Angle(double x1, double y1); ///< returns the angle in degrees of the normalized 2-vector
BEZIER RevisePatch(const BEZIER * origpatch, bool use_racingline);
-
+
/*
/// for replanning the path
struct PATH_REVISION
@@ -89,7 +89,7 @@ class AI_Car_Experimental :
float lateral_mu; ///<friction coefficient of the tire - lateral direction
const BEZIER * last_patch; ///<last patch the car was on, used in case car is off track
bool use_racingline; ///<true allows the AI to take a proper racing line
- bool isRecovering; ///< tries to get back to the road.
+ bool isRecovering; ///< tries to get back to the road.
time_t recoverStartTime;
template<class T> static bool isnan(const T & x);
@@ -111,11 +111,11 @@ class AI_Car_Experimental :
/// This is only useful if the car is outside of the road.
/// Optionally, you can pass a helper bezier to improve performance, which should be near to the car, but maybe not the nearest.
const BEZIER* getNearestPatch(const BEZIER* helper = 0);
-
+
bool recover(const BEZIER* patch);
/// Creates a ray from the middle of the car. Returns the distance to the first colliding object or max_length.
float RayCastDistance( MATHVECTOR <float, 3> direction, float max_length);
-
+
#ifdef VISUALIZE_AI_DEBUG
VERTEXARRAY brakeshape;
VERTEXARRAY steershape;
@@ -142,4 +142,4 @@ class AI_Car_Experimental :
#endif
};
-#endif // _AI_Car_Experimental_H
+#endif // _AI_Car_Experimental_H
View
2  src/ai/ai_car_standard.cpp
@@ -13,7 +13,7 @@
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
-/* along with Foobar. If not, see <http://www.gnu.org/licenses/>. */
+/* along with VDrift. If not, see <http://www.gnu.org/licenses/>. */
/* */
/************************************************************************/
View
8 src/ai/ai_car_standard.h
@@ -13,7 +13,7 @@
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
-/* along with Foobar. If not, see <http://www.gnu.org/licenses/>. */
+/* along with VDrift. If not, see <http://www.gnu.org/licenses/>. */
/* */
/************************************************************************/
@@ -55,7 +55,7 @@ class AI_Car_Standard :
float brakeFromOthers(float speed_diff); ///< returns a float that should be added into the brake command. speed_diff is the difference between the desired speed and speed limit of this area of the track
double Angle(double x1, double y1); ///< returns the angle in degrees of the normalized 2-vector
BEZIER RevisePatch(const BEZIER * origpatch, bool use_racingline);
-
+
/*
/// for replanning the path
struct PATH_REVISION
@@ -104,7 +104,7 @@ class AI_Car_Standard :
static void TrimPatch(BEZIER & patch, float trimleft_front, float trimright_front, float trimleft_back, float trimright_back);
static float GetHorizontalDistanceAlongPatch(const BEZIER & patch, MATHVECTOR <float, 3> carposition);
static float RampBetween(float val, float startat, float endat);
-
+
#ifdef VISUALIZE_AI_DEBUG
VERTEXARRAY brakeshape;
VERTEXARRAY steershape;
@@ -129,4 +129,4 @@ class AI_Car_Standard :
#endif
};
-#endif // _AI_CAR_STANDARD_H
+#endif // _AI_CAR_STANDARD_H
View
2  src/ai/ai_factory.h
@@ -13,7 +13,7 @@
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
-/* along with Foobar. If not, see <http://www.gnu.org/licenses/>. */
+/* along with VDrift. If not, see <http://www.gnu.org/licenses/>. */
/* */
/************************************************************************/
View
2  src/main.cpp
@@ -13,7 +13,7 @@
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
-/* along with Foobar. If not, see <http://www.gnu.org/licenses/>. */
+/* along with VDrift. If not, see <http://www.gnu.org/licenses/>. */
/* */
/* This is the main entry point for VDrift. */
/* */

1 comment on commit ebdbeb8

@antoniovazquezblanco

Oops! It was my fault! Sorry...

Please sign in to comment.
Something went wrong with that request. Please try again.