X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fscripting%2Ftime_scheduler.hpp;h=90d390fb39e0e03f953ef67be8b4cb0e56528a2d;hb=2372988b5c58303f17720945e14d48c7aebc95ee;hp=e3bf895f52a1c6b12c68ed8f27da7f46e68126ef;hpb=cb941f239a04ee0588c99bfcdcd6aff62e1fbc98;p=supertux.git diff --git a/src/scripting/time_scheduler.hpp b/src/scripting/time_scheduler.hpp index e3bf895f5..90d390fb3 100644 --- a/src/scripting/time_scheduler.hpp +++ b/src/scripting/time_scheduler.hpp @@ -1,12 +1,10 @@ -// $Id$ -// // SuperTux // Copyright (C) 2006 Matthias Braun // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -14,17 +12,14 @@ // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -// 02111-1307, USA. -#ifndef __TIME_SCHEDULER_HPP__ -#define __TIME_SCHEDULER_HPP__ +// along with this program. If not, see . + +#ifndef HEADER_SUPERTUX_SCRIPTING_TIME_SCHEDULER_HPP +#define HEADER_SUPERTUX_SCRIPTING_TIME_SCHEDULER_HPP #include -#include -namespace Scripting -{ +namespace scripting { /** * This class keeps a list of squirrel threads that are scheduled for a certain @@ -54,7 +49,7 @@ private: return wakeup_time > other.wakeup_time; } }; - + typedef std::vector ScheduleHeap; ScheduleHeap schedule; }; @@ -63,3 +58,4 @@ private: #endif +/* EOF */