You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

scenesetup.h 1.1 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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__ */