3mpty
|
|
Posted on: June 14, 2008, 04:11:40 pm |
|
|
Location: Italy Joined: Jun 2008
Posts: 5
|
Hi, I'm new here and I have only some question...
From the sources of ENIGMA I can easily see that it's based on winzoz APIs and OpenGL (Am I wrong?), so, let's say that OpenGL API is equal on every platform (or at least this is what I know) and the REAL matter is the windoze api... Always from sources I can see that you guys used the APIs only for creating the window (and all the related stuff) and MessageBoxes.
There's a really simple library named SDL (and you probably know it) that is available on a lot of different platforms that can do everything (I mean, from the window/input stuff to OpenGL) ad the messagebox dependency can be avoided using some macro or emulated under SDL using images. Another alternative (a little more difficult, but maybe better) can be FLTK that is very small and can be linked statically without problem (yes, always cross-platform, with OGL support and also a "MessageBox" equivalent).
I really like the work you're doing but why are you cutting off linux/mac users from this?
I have some experience on SDL and I think that in few hours (or maybe more) I can rewrite all the OS-based code to make it cross-platform... the problem is that I haven't a fast connection (yeah, 56k sucks) and it's very difficult for me to use things like CVS or SVN... So, if the admins of the project think that my idea is good I can try to edit the sources in the downloadable zip and then someone can integrate my changes into the repository
I don't know if it will work but I'll know this only if I try.
So, now it's time for the admins to speak...
P.S.: Sorry for my bad English
EDIT: ah, SDL also allows a simple use of sound/music (and there's a small library based on it that has got additional features)
|
|
« Last Edit: June 14, 2008, 04:14:38 pm by 3mpty »
|
Logged
|
|
|
|
|
|
|
|
|
|
|
|
3mpty
|
|
Reply #9 Posted on: June 16, 2008, 06:32:04 am |
|
|
Location: Italy Joined: Jun 2008
Posts: 5
|
Ah, ok. I read somewhere on the web in the past that the features that aren't available on the hardware are always implemented using software by the vendor... Well, so this isn't always true
|
|
|
Logged
|
|
|
|
|
|
|
3mpty
|
|
Reply #13 Posted on: June 17, 2008, 06:51:10 am |
|
|
Location: Italy Joined: Jun 2008
Posts: 5
|
The other problem is that d3d isn't exactly cross-platform.
Wined3d lol. OK, maybe not. I don't want people getting funny ideas about Winelib.
Yesterday I compiled ENIGMA with wineg++ (v1.0rc4) and it was all OK... but when I run it the window is created but after that the program stops... The ENIGMA compiler work well with the normal g++ but it need some patch to the source code (mainly because linux is case-sensitive and there's some case mistake like "G++" instead of "g++")... And, another thing, I suggest you to use "/" in the paths instead of "\\" because the first work on both winzoz and linux while the second not..
|
|
|
Logged
|
|
|
|
|
|