X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscripting%2Ftime_scheduler.hpp;h=0729011bde8835482d71962b846a1c93395c096f;hb=08813a74da6ac1fd045a105e4e8105f1d7f716f0;hp=c431f14e8009402d4b4faf65f13f0be766c38d80;hpb=dd793c93ac07637402de084f20c0e17d57fb069e;p=supertux.git diff --git a/src/scripting/time_scheduler.hpp b/src/scripting/time_scheduler.hpp index c431f14e8..0729011bd 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 @@ -41,8 +36,6 @@ public: static TimeScheduler* instance; - void set_pause(bool paused); - private: struct ScheduleEntry { /// weak reference to the squirrel vm object @@ -59,11 +52,10 @@ private: typedef std::vector ScheduleHeap; ScheduleHeap schedule; - bool paused; - float last_update; - float internal_time; }; } #endif + +/* EOF */