25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

50 lines
1015 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. #pragma once
  12. //
  13. // The Scene setup class
  14. // ----------------
  15. //
  16. namespace lol
  17. {
  18. class SceneSetup
  19. {
  20. friend class SceneSetupParser;
  21. public:
  22. //CTor/DTor
  23. SceneSetup();
  24. ~SceneSetup();
  25. static char const *GetName() { return "<scenesetup>"; }
  26. //--
  27. bool Compile(char const *command);
  28. //--
  29. bool Startup();
  30. bool Shutdown(bool destroy=false);
  31. //--
  32. vec4 m_clear_color;
  33. array<Light *> m_lights;
  34. array<String, String> m_custom_cmd;
  35. bool m_show_gizmo;
  36. bool m_show_lights;
  37. };
  38. } /* namespace lol */