Hello everyone:) I started learn QuakeC(HexenC) to make mod for Hexen 2 and immediately got a problem: HCC and FteQCC just not compiling base sources. Where there may be a bug?
I apologize for my bad english:)
HexenC don't compiling with HCC!
Re: HexenC don't compiling with HCC!
OK, I try 2 complects source code H2: http://www.inside3d.com/h2tut/hcc.zip (Its working!) and this http://www.fileplanet.com/51987/50000/f ... ource-Code (include souces and compillers. Dont work). How are they different?
Re: HexenC don't compiling with HCC!
Judging from the filesize, that one at FilePlanet seems to be the engine source, not the gamecode source.
Re: HexenC don't compiling with HCC!
File on the Fileplanet include ALL, gamecode too)
And another think: Why in the game sountrack play just 1 time, no loop?
And another think: Why in the game sountrack play just 1 time, no loop?
Re: HexenC don't compiling with HCC!
Regarding fteqcc, you need -TH2 on the commandline so that it knows its meant to accept hexenc keywords and to use the hexen2 opcodes+crc rules (if you're using the gui version, there's a checkbox in the options menu).
Alternatively, you can also place '#pragma TARGET H2' and '#pragma keyword enable thinktime' at the top of whichever hc file is the first to compile.
Without doing one of those things, fteqcc will assume you're compiling for quake.
Regarding hcc, you should probably use a version from http://uhexen2.sourceforge.net/ and indeed you should definitely grab the gamecode source from that site instead of other versions. The vanilla hexenc code is riddled with bugs, hopefully the HoT version will have the more noticable bugs fixed, or at least hidden.
Alternatively, you can also place '#pragma TARGET H2' and '#pragma keyword enable thinktime' at the top of whichever hc file is the first to compile.
Without doing one of those things, fteqcc will assume you're compiling for quake.
Regarding hcc, you should probably use a version from http://uhexen2.sourceforge.net/ and indeed you should definitely grab the gamecode source from that site instead of other versions. The vanilla hexenc code is riddled with bugs, hopefully the HoT version will have the more noticable bugs fixed, or at least hidden.
Re: HexenC don't compiling with HCC!
Spike, thanks) If Source on this site fully working, i use it.
Re: HexenC don't compiling with HCC!
By the way, you spelled "napkin wrong". Just wanted to point that out
The night is young. How else can I annoy the world before sunsrise? Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
Re: HexenC don't compiling with HCC!
What does the napkin? My nik is "Naykin". I came up with it itself.
Re: HexenC don't compiling with HCC!
Sometimes I joke when I shouldn't. That post was one of those times.
The night is young. How else can I annoy the world before sunsrise? Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
Re: HexenC don't compiling with HCC!
Yeah, i undstnd.))))