Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 17th, 2012  |  syntax: D  |  size: 0.38 KB  |  hits: 36  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. module torment.main;
  2.  
  3. version(Posix){
  4.         pragma( lib, "dl" );
  5. }
  6.  
  7. pragma( lib, "DerelictUtil" );
  8. pragma( lib, "DerelictGLFW3" );
  9.  
  10. import torment.renderer.renderer;
  11.  
  12. import derelict.glfw3.glfw3;
  13.  
  14. import std.stdio;
  15.  
  16. void
  17. main() {
  18.         writefln( "Launching Torment Circus..\n" );
  19.        
  20.         GLFWwindow context;
  21.        
  22.         context = tcInitRendererAndContext( 800, 600, false ); // Fuck yes FP
  23. }