您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

52 行
1.1 KiB

  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. vec4 m_clear_color;
  34. array<Light *> m_lights;
  35. array<String, String> m_custom_cmd;
  36. bool m_show_gizmo;
  37. bool m_show_lights;
  38. };
  39. } /* namespace lol */
  40. #endif /* __SCENESETUP_H__ */