Code: Alles auswählen
;{ Enumeration
Enumeration
;Allgemein
#MainWindow
;3D-Umgebung
#ButtonSettings
#ButtonPlay
EndEnumeration
;}
#Title = ""
;{ Initialisierungen
InitEngine3D()
InitSprite()
InitKeyboard()
InitMouse()
;}
OpenWindow(#MainWindow, 0, 0, 1024, 768, #Title, #PB_Window_ScreenCentered|#PB_Window_MinimizeGadget)
OpenWindowedScreen(WindowID(#MainWindow), 0, 0, 1024, 768, 0, 0, 0)
ButtonGadget3D(#ButtonSettings, 50, 50, 100, 30, "Settings")
ButtonGadget3D(#ButtonPlay, 50, 100, 100, 30, "Play")
Repeat
ExamineMouse()
ExamineKeyboard()
WEvent = WaitWindowEvent(10)
Until WEvent = #PB_Event_CloseWindow
Ich muss wahrscheinlich nicht erwähnen, dass ich kein Laufwerk Y eingebunden habe...Assertation Failed!
Program: ...
File: y:\cegui\include\CEGUISingleton.h
Line: 79
Expression: ms_Singleton
For more information on how your program can cause an assertation failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application - JIT must be enabled)
Was fehlt?