Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

44 lignes
822 B

  1. //
  2. // Lol Engine
  3. //
  4. // Copyright: (c) 2010-2013 Sam Hocevar <sam@hocevar.net>
  5. // This program is free software; you can redistribute it and/or
  6. // modify it under the terms of the Do What The Fuck You Want To
  7. // Public License, Version 2, as published by Sam Hocevar. See
  8. // http://www.wtfpl.net/ for more details.
  9. //
  10. //
  11. // The DebugRecord class
  12. // ---------------------
  13. //
  14. #if !defined __LOL_DEBUGRECORD_H__
  15. #define __LOL_DEBUGRECORD_H__
  16. #include "entity.h"
  17. namespace lol
  18. {
  19. class DebugRecordData;
  20. class DebugRecord : public Entity
  21. {
  22. public:
  23. DebugRecord(char const *path, float fps);
  24. virtual ~DebugRecord();
  25. protected:
  26. virtual void TickGame(float seconds);
  27. virtual void TickDraw(float seconds);
  28. private:
  29. DebugRecordData *data;
  30. };
  31. } /* namespace lol */
  32. #endif // __LOL_DEBUGRECORD_H__