LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   A thought on Linux and gaming (https://www.linuxquestions.org/questions/linux-games-33/a-thought-on-linux-and-gaming-98504/)

Thetargos 10-15-2003 12:09 AM

Quote:

Originally posted by lectraplayer
PS: I know this project is off topic, but if this project is going to get moving, I must learn what libraries are in Linux C++. What are they and what are their M$ Development Studio equivalents? Where can I find that? I have gotten used to using, like, iostream.h, fstream.h, math.h, etc. and those are not in my flavor of Linux. The thread I have started on that has not gotten any activity.
Just use these lines:
Code:

#include <iostream>
#include <vector>
#include <string>
#inlcude <fstream>
using namespace std;

That should free the contents of those files located in the std namespace for you to use, like cout, cin, cerr, etc.

Abe_the_Man 10-15-2003 12:47 AM

Just a question for you mossy. I just downloaded blender and some demos. I already seen a couple on windows, but i thought i'd try em on my new vid card on linux. So how do i run em?? When i open it, mozilla starts up and asks me what to do with it "save it or open it with an application". They are supposted to be standalones, so what do i do to view them?? (sorry to get off topic)

Anyway, blender does look pretty cool. Definitely look at the walkthrough demo (i seen it on my sisters xp machine when i was compiling one day). It sure would be nice to use open source programs for game development!

arioch 10-15-2003 07:19 AM

-thetargos
dude i have a feeling that wine hates me (at least im not alone on that :cool: ). I am avoiding it like the plague. Maybe when the beta comes out I'll give it another shot.

Kroppus 10-15-2003 08:13 AM

Ok, here's another ide i've been toying with.
I don't know if any of you have or are playing any of the tebletop games from Games Workshop? Warhammer Fantasy Battle, Mordeheim, Warhammer 40K or Necromunda, just to mention a few. :)
I've been thinking of making a mod for UT and now UT2K3.
I'm a bit slow now and then.
So far i've made some models of "space-marines" and i'm working on a few more.
The wish is to make it something like CS or Battlefiled 1942.
So that it's not a "free for all" but need a bit thinking or was it strategy.

lectraplayer 10-15-2003 09:31 AM

Quote:

Originally posted by Thetargos
Just use these lines:
Code:

#include <iostream>
#include <vector>
#include <string>
#inlcude <fstream>
using namespace std;

That should free the contents of those files located in the std namespace for you to use, like cout, cin, cerr, etc.

OK, so THAT'S what I was doing wrong. I was using iostream.h and not just iostream.:newbie:

Thetargos 10-15-2003 02:28 PM

Quote:

Originally posted by lectraplayer
OK, so THAT'S what I was doing wrong. I was using iostream.h and not just iostream.:newbie:
The key part on this, is the using namespace std; statement. If you like you may go download this incredible C++ on-line book as PDF: Thinking in C++ by Bruce Eckel @ www.bruceeckel.com, the book is free for you to download!

[edit]
Remember that in order to use the standrad C library, you will need to type this:
#include <cstdio> instead of #include <stdio.h> (which may alo be included) or #include <cstdlib> ;)

LavaDevil94 10-15-2003 02:50 PM

did i say sourceforge.net for web hosting?

Thetargos 10-15-2003 02:54 PM

I think you did say something about that if a project is accepted you'd get (or in this case we'd get :D) 100 Mb of space storage...

LavaDevil94 10-15-2003 03:09 PM

ya, sorry for repeating. its a good place for something like this. only open-source projects allowed!

Thetargos 10-15-2003 03:10 PM

Quote:

Originally posted by arioch
-thetargos
dude i have a feeling that wine hates me (at least im not alone on that :cool: ). I am avoiding it like the plague. Maybe when the beta comes out I'll give it another shot.

What does it seem to be problem?

I currently have 4 versions of Wine installed in my system: WineX 3.1 installed from RPM, WineHQ's Wine latest RPM, WIneX3 installed through P2P, WineX 3.1c installed via P2P... All programs I have attempted to run, run quite good :D

LavaDevil94 10-15-2003 03:20 PM

when i run a windoze exe w/ winex (thats what i have), the konsole gives me no output and it just hangs and i have 2 kill it manually.

Thetargos 10-15-2003 03:23 PM

I've noticed it depends greatly on the program you may want to run... even more if ti relies on more native dll's than those provided by Wine (if you don't have a working windows install, that is)

mossy 10-15-2003 03:41 PM

"So how do i run em??"
em It was abit late last night I did not get too much time on it - went thru most of the options etc and then installed DCgui [cool] filesharing prog.
I would imagine you could open it thru the FILE menu or right click and associate your files to blender.

I will check out the walkthru as I will need it!!!
"It sure would be nice to use open source programs for game development!"
It - IS - nice eh!


Kroppus - yeah I agree on the UT 2K mod like a CS or Battlefield.

LavaDevil94 - agreed on sourceforge.net for web hosting. We would need to supply and maintain our own forum - I presume? If so - any ideas? Do you think LQ would dedicate a backroom thread with sub categories - prolly not eh - cos if this thing took off it would get large.


I am going to get more familiar with blender tonight and tomorrow.

Please post any tips you find about using it - that are particularly interesting.
I will do the same - Or should we start a thread for that??




ALSO - we should prolly make a list of who's in and what they can/will do.


add me:

mossy - design and create characters, 3d images, Graphics, icons layout some web design etc etc.

LavaDevil94 10-15-2003 03:57 PM

im learning c++ (i compiled hello world yesterday) so maybe i could help.

mossy 10-15-2003 04:10 PM

SO sign yourself up I suppose? ~



LavaDevil94 - c++ compiling/ engine? programming/libraries etc?

mossy - design and create characters, 3d images, Graphics, icons layout some web design etc etc.


All times are GMT -5. The time now is 07:46 AM.