Rotating a postcard

BlitzMax Modules Forums/MiniB3D/Rotating a postcard

Cut and paste this code then run it in MaxIde to compile the minib3D mod. (Assuming you have MinGW installed follow the instruction here for installing MinGW http://www.blitzbasic.com/Community/posts.php?topic=53442 ).

SuperStrict

Framework BRL.StandardIO
Import BRL.FileSystem

Global Stream : TStream

Const MODCFG : String = "cfg/modservers.cfg"
Const SYNC   : String = "bin/syncmods.exe"
Const BMK    : String = "bin/bmk.exe"
Const DOC    : String = "bin/docmods.exe"

Try
Print("Compiling...")
system_(BMK + " makemods -a sidesign.minib3d")
Print("~nOK")

Print("Docing...")
'system_(DOC)
Print("~nOK")

Catch Exception:Object
   Print("~nError: ")
   Print(" " + Exception.ToString())

End Try

Print("~n~n- ready -")