Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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