25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 

51 satır
1010 B

  1. //
  2. // Lol Engine
  3. //
  4. // Copyright: (c) 2013 Benjamin "Touky" Huet <huet.benjamin@gmail.com>
  5. // (c) 2013 Sam Hocevar <sam@hocevar.net>
  6. // This program is free software; you can redistribute it and/or
  7. // modify it under the terms of the Do What The Fuck You Want To
  8. // Public License, Version 2, as published by Sam Hocevar. See
  9. // http://www.wtfpl.net/ for more details.
  10. //
  11. //
  12. // The Scene setup class
  13. // ----------------
  14. //
  15. #if !defined __SCENESETUP_H__
  16. #define __SCENESETUP_H__
  17. namespace lol
  18. {
  19. class SceneSetup
  20. {
  21. friend class SceneSetupParser;
  22. public:
  23. //CTor/DTor
  24. SceneSetup();
  25. ~SceneSetup();
  26. static char const *GetName() { return "<scenesetup>"; }
  27. //--
  28. bool Compile(char const *command);
  29. //--
  30. bool Startup();
  31. bool Shutdown(bool destroy=false);
  32. //--
  33. int GetLightNb() { return m_lights.Count(); }
  34. Array<Light *> m_lights;
  35. Array<String, String> m_custom_cmd;
  36. };
  37. } /* namespace lol */
  38. #endif /* __SCENESETUP_H__ */