Directx for Linux confusion!

Everything else that doesn't fall into one of the other PB categories.
eevee
User
User
Posts: 69
Joined: Sat Jan 08, 2005 6:24 pm
Location: UK

Directx for Linux confusion!

Post by eevee »

I'm a bit confused.

I am currently writing a program that uses full screen mode under Windows but which will eventually end up on a Linux box.

As I understand it the InSprite/InKeyboard etc. instructions are some sort of DirectX initialisers. I also understand that DirectX is for Windows.

Yet all the screen mode instructions are clearly indicated as cross platform in the Help file.

Am I safe to carry on with Screen Mode? What happens with DirectX functions on conversion to Linux?
Regards,

Ernest
Pupil
Enthusiast
Enthusiast
Posts: 715
Joined: Fri Apr 25, 2003 3:56 pm

Post by Pupil »

PB is not using DX on the Linux platform it uses SDL instead..
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

I think it is possible to implement DirectX under Linux.
I've heard about a web page (i don't remember now) which talks about windows newests games running under linux. Perhaps, all the DirectX functions are converted to OpenGL or to SDL to run in Linux? Or since DirectX stuff is implemented into VGAs hardware, the conversion is more easy ? :?:

All this sounds to me to the conversions made in the past from Sinclair Spectrum games mainly to Amstrad, Commodore64 and MSX :wink:
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Fred
Administrator
Administrator
Posts: 18350
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

There is a sort of DX emulator (WineX and a commercial counter part http://www.transgaming.com/) but nothing native here. If you write your game using the PB commands (except Sprite3D lib), you willn't have a problem to recompile it on Linux.
Post Reply