Can a console app run on a text only linux server?

BlitzMax Forums/BlitzMax Programming/Can a console app run on a text only linux server?

ozak(Posted 2005) [#1]
I want to do an online game, and the server will run on a textmode linux server, so I was wondering if a straight console app in blitzmax would still run, even though there's no X windows or other graphics support?


FlameDuck(Posted 2005) [#2]
Yes.


Robert(Posted 2005) [#3]
You would have to make sure that none of the libraries which rely on X windows were linked in though, using the FrameWork command.

BRL.Max2D, BRL.graphics, BRL.BlitzGL, BRL.glgraphics, Pub.OpenGL, Pub.Glew, BRL.System and any modules dependant upon those could not be used.

Unfortunately the absence of BRL.System means that you cannot use the MilliSecs command for timing, but you could always get the code for that out of brl.mod/system.mod/system.linux.c (it is only a few lines)