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.
 
 
 

49 lines
961 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. //private:
  33. Array<Light *> m_lights;
  34. Array<String, String> m_custom_cmd;
  35. };
  36. } /* namespace lol */
  37. #endif /* __SCENESETUP_H__ */