example.h 532 B

123456789101112131415161718192021222324
  1. #pragma once
  2. #include "oxygine-framework.h"
  3. using namespace oxygine;
  4. using namespace std;
  5. void example_init();
  6. void example_preinit();
  7. void example_destroy();
  8. void example_update();
  9. extern Resources gameResources;
  10. const int VirtualWidth = 960;
  11. const int VirtualHeight = 640;
  12. DECLARE_SMART(MySceneA, spMySceneA);
  13. DECLARE_SMART(MySceneB, spMySceneB);
  14. DECLARE_SMART(MyDialog, spMyDialog);
  15. extern spMySceneA SceneA;
  16. extern spMySceneB SceneB;
  17. extern spMyDialog dialogA;
  18. spButton createButton(const string& name, const string& txt);