Difference between revisions of "4/Code"

From Worms Knowledge Base

Jump to: navigation, search
(shells)
(Shell)
 
Line 7: Line 7:
 
== Shell ==
 
== Shell ==
  
The "shell" handles OS window management, input handling, and various other platform-dependent tasks.
+
The "shell" handles OS window management, input handling, and various other platform-dependent tasks. Shells are related to graphics framework used.
Shells:
+
Possible shells:
 
* SDL
 
* SDL
* Windows/QT/GTK (for example)
+
** SDL with OpenGL
 +
* Windows API
 +
** GDI
 +
** OpenGL
 +
** DirectDraw
 +
** Direct2D / DirectWrite
 +
* QT
 +
* GTK

Latest revision as of 14:26, 28 August 2010

(Up to 4)

Main

  • main / WinMain are in framework
    • Use a static constructor to initialize the framework

Shell

The "shell" handles OS window management, input handling, and various other platform-dependent tasks. Shells are related to graphics framework used. Possible shells:

  • SDL
    • SDL with OpenGL
  • Windows API
    • GDI
    • OpenGL
    • DirectDraw
    • Direct2D / DirectWrite
  • QT
  • GTK
Personal tools