[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - HexenC don't compiling with HCC!

HexenC don't compiling with HCC!

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

HexenC don't compiling with HCC!

Postby Naykin » Wed Apr 17, 2013 3:48 am

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:)
Naykin
 
Posts: 16
Joined: Fri Mar 22, 2013 7:28 am

Re: HexenC don't compiling with HCC!

Postby Naykin » Wed Apr 17, 2013 4:10 am

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?
Naykin
 
Posts: 16
Joined: Fri Mar 22, 2013 7:28 am

Re: HexenC don't compiling with HCC!

Postby mankrip » Wed Apr 17, 2013 5:05 am

Judging from the filesize, that one at FilePlanet seems to be the engine source, not the gamecode source.
Ph'nglui mglw'nafh mankrip Hell's end wgah'nagl fhtagn.
==-=-=-=-=-=-=-=-=-=-==
/ /
User avatar
mankrip
 
Posts: 915
Joined: Fri Jul 04, 2008 3:02 am

Re: HexenC don't compiling with HCC!

Postby Naykin » Wed Apr 17, 2013 5:11 am

File on the Fileplanet include ALL, gamecode too)

And another think: Why in the game sountrack play just 1 time, no loop?
Naykin
 
Posts: 16
Joined: Fri Mar 22, 2013 7:28 am

Re: HexenC don't compiling with HCC!

Postby Spike » Wed Apr 17, 2013 10:46 am

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.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: HexenC don't compiling with HCC!

Postby Naykin » Wed Apr 17, 2013 3:07 pm

Spike, thanks) If Source on this site fully working, i use it.
Naykin
 
Posts: 16
Joined: Fri Mar 22, 2013 7:28 am

Re: HexenC don't compiling with HCC!

Postby Baker » Thu Apr 18, 2013 2:13 pm

By the way, you spelled "napkin wrong". Just wanted to point that out :P
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 ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: HexenC don't compiling with HCC!

Postby Naykin » Thu Apr 25, 2013 12:14 pm

What does the napkin? My nik is "Naykin". I came up with it itself.
Naykin
 
Posts: 16
Joined: Fri Mar 22, 2013 7:28 am

Re: HexenC don't compiling with HCC!

Postby Baker » Thu Apr 25, 2013 12:36 pm

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? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: HexenC don't compiling with HCC!

Postby Naykin » Fri Apr 26, 2013 7:16 pm

Yeah, i undstnd.))))
Naykin
 
Posts: 16
Joined: Fri Mar 22, 2013 7:28 am


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest