Drop Table Engine 1.0
Loading...
Searching...
No Matches
app.d File Reference
import std.stdio;

Functions

 exit (1)
 
app. RunLoop ()
 
 catch (Exception e)
 
 send (pid, true)
 
 writeln ("Exiting main thread")
 

Variables

 else
 
auto pid = spawn(&monitorAndRecompile, args[1], thisTid)
 
 try
 
auto title = json.parseJSON()["title"].str
 
auto initScene = json.parseJSON()["initScene"].str
 
GameApplication app = GameApplication(title, initScene, args[1])
 

Function Documentation

◆ catch()

catch ( Exception e)

◆ exit()

exit ( 1 )

◆ RunLoop()

app. RunLoop ( )

◆ send()

send ( pid ,
true  )

◆ writeln()

writeln ( "Exiting main thread" )

Variable Documentation

◆ app

GameApplication app = GameApplication(title, initScene, args[1])

◆ else

else
Initial value:
{
writeln("Starting with args:\n",args)
writeln("Exiting main thread")

◆ initScene

auto initScene = json.parseJSON()["initScene"].str

◆ pid

auto pid = spawn(&monitorAndRecompile, args[1], thisTid)

◆ title

auto title = json.parseJSON()["title"].str

◆ try

try
Initial value:
{
auto json = cast(string)std.file.read(args[1] ~ "/metadata.json")