Qustion about begin

Discuss anything not covered by any of the other categories.
mh
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Post by mh »

sevenx wrote:I understand,now. And what normal engine for programming on C or C++ ? Can is it be GLQuake or FitzQuake ? Advise ,please.
I'd recommend FitzQuake over GLQuake any day. FitzQuake is reasonably simple to work with, cleanly packaged, and fixes quite a lot of the things that are wrong with GLQuake (there are a few things left, but fixing them gets more and more complex). If you pick GLQuake you would more or less have to do a total rewrite of the rendering code before it would be usable. Not fun.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
revelator
Posts: 2621
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Post by revelator »

as mh points out the original source is pretty much unworkable on current operating systems (to much changed in drivers etc.)

i wouldnt recommend starting from the original source, but if you wish something closely to an unmodified version i believe tomaz cleansrc is still around ?. even with that a few things might be neesesary to fix still but atleast its not a monumental task like starting all over.

fitz is also a good starting engine but it does have local modifications not in the original source like external texture support and other things.

if you need any help on using codeblocks ill be happy to assist but it might take a few days as i dont have access to my main PC atm. (upgrading it atm). so im writing from my old spare PC which unfortunatly doesnt have my compiler installed.
sevenx
Posts: 40
Joined: Thu Jan 20, 2011 10:30 pm
Contact:

Post by sevenx »

mh, thank, i will be know it.

And reckless , I finally compiled darkplace codeblocks workspace with your "codeblocks mingw" , thank you very much !!!

And i have few questions to you.
What are codeblocks mean ?
And why use them, if i have original darkplace .
Or codeblocks is a modification of code ? I don't understand it...

And the second question. After compilation , i run it (compiled darkplaces codeblocks) and all is good, but i have one error . Watch a photo,please.

Image
revelator
Posts: 2621
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Post by revelator »

congrats :)

hum let me see if i can explain codeblocks.

CodeBlocks is an IDE, in leymans terms its an editor like microsofts msvc with the capability to use certain compilers to build your source code.

CodeBlocks itself cannot compile anything but its able to call say mingw for that part (basically doing the same as when you write mingw32-make release DP_MAKE_TARGET=mingw) on the commandline.

as for the peculiar error darkplaces shows there. did you put the darkplaces executables in the quake dir ?.

its telling you it cannot find the game data.

the darkplaces executables need to be copied to C:\quake then it should work :)
sevenx
Posts: 40
Joined: Thu Jan 20, 2011 10:30 pm
Contact:

Post by sevenx »

Okey. Thank you,reckless. And i want to ask.

Is this tutorial good for engine programming http://www.quake-1.com/docs/quakesrc.org/ ? Or if you know better tutorials for engine programming, can you send links me?

I have some links from mh , but maybe you know else .
Baker
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Post by Baker »

This thread kind of reminds me of a guy who left his boat untied at a dock and the guy doesn't speak your language and you tell him his boat is drifting away and he doesn't understand what you are saying so he says "thank you" and keeps walking.

And you want to help, but the boat is now almost on the horizon. :(

I suppose I'll keep reading the thread, knowing that any attempts to help will probably only make the problem worse. :?
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
revelator
Posts: 2621
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Post by revelator »

the ones you linked are from our old site and while some might still bear some significance a lot of improvements have been done through time its still good for references though.

as for other sites well look in the tutorial section here :) we dont have a lot of ready made examples for users to dip right into but atleast you have the programmers right at your hand if something is unclear ;).

its also the best way if someones serious about learning :)
revelator
Posts: 2621
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Post by revelator »

hehe baker :) well i can only imagine what a total pain in the butt i been myself when i first started visiting quakesrc some 10 years back
my boat must be in alaska by now :P

but i think i would repay the coders who helped here badly if i couldnt put up with lack of knowledge :)

hey even now i sometimes run into something my quake fu cant solve :P
sevenx
Posts: 40
Joined: Thu Jan 20, 2011 10:30 pm
Contact:

Post by sevenx »

Baker, I want to know everything, so I'm asking about all, even twice.

Reckless, okey, i understand. Thank.
Baker
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Post by Baker »

If you want to do engine coding, having a couple of goals is important.

If you plan on making a game, you might consider focusing on mapping as a start followed by QuakeC and modeling.

It isn't that engine modification isn't important, it is that engine modification is generally to support a game or improve the toolset (when it isn't to fix system issues or make general incremental improvements) or at least the idea of one.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
sevenx
Posts: 40
Joined: Thu Jan 20, 2011 10:30 pm
Contact:

Post by sevenx »

Okey, i understand.
Post Reply