Profile | Register | Calendar | FAQ | Search | Home 

VWBB : Powered by vBulletin version 2.2.6 VWBB > FreeSpace Watch > FreeSpace 1/2 MODs Discussion > Compiling the source code
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
darkchrono4
I'm New! Laugh At Me!

Registered: Jan 2004
Location:
Posts: 2

Compiling the source code

What do you have to do to get the code to compile with Visual Studio.Net 2003? I've changed the output folder to the install of my game but I get a bunch of errors like: 'c:\Downloads\Fs2\source\code\Graphics\2d.h(401): error C2383: 'screen::gf_set_palette' : default-arguments are not allowed on this symbol.' I'm not quite sure what I am doing wrong.

Report this post to a moderator | IP: Logged

Old Post 01-06-2004 05:47 AM
darkchrono4 is offline Click Here to See the Profile for darkchrono4 Click here to Send darkchrono4 a Private Message Find more posts by darkchrono4 Add darkchrono4 to your buddy list Edit/Delete Message Reply w/Quote
Snipes
Lycanthrope

Registered: Oct 2000
Location: Tania Austrailis
Posts: 3322

Ask over at [url=http://3dap.com/hlp/]HLP[/url], where there's a huge subforum dedicated directly to the source code project.

__________________
[url="http://freespace.volitionwatch.com/us/"]United Space[/url]
Newsie, Modder, Slave to Yogi
------------------
"Snipes ...Is The Dark Continent."

Last edited by Snipes on 01-06-2004 at 07:15 PM

Report this post to a moderator | IP: Logged

Old Post 01-06-2004 07:14 PM
Snipes is offline Click Here to See the Profile for Snipes Click here to Send Snipes a Private Message Visit Snipes's homepage! Find more posts by Snipes Add Snipes to your buddy list Edit/Delete Message Reply w/Quote
Goober5000
Face

Registered: Jan 2002
Location:
Posts: 156

Try compiling it under Visual C++ 6. It's possible that the codebase may not work under .NET.

__________________
Goober5000, previously known here as Sesquipedalian, now changing his handle to make room for the HLP persona known as Sesquipedalian to register as Sesquipedalian. :)

Still play FS1? Check out my upcoming campaign, [url=http://www.geocities.com/ipw47/campaign.html]Fortunes of War[/url].
Play FS2 instead? Check out my finished minicampaign, [url=http://www.geocities.com/ipw47/dem.html]Deus Ex Machina[/url]. :D

Report this post to a moderator | IP: Logged

Old Post 01-07-2004 04:22 AM
Goober5000 is offline Click Here to See the Profile for Goober5000 Click here to Send Goober5000 a Private Message Find more posts by Goober5000 Add Goober5000 to your buddy list Edit/Delete Message Reply w/Quote
darkchrono4
I'm New! Laugh At Me!

Registered: Jan 2004
Location:
Posts: 2

Yeah, there are some things done with the code that aren't really compliant with the C++ specifications. VS6 lets those things go where as .NET 2003 doesn't. The problem I found is you can't define variables to pointers to functions when declaring the function. And then in the actual code where those functions are used its kind of like they are overloaded. The predefined variables from the headers are left out. So it seems as if I have to goto each of the function calls and add the extra variables to them.

Report this post to a moderator | IP: Logged

Old Post 01-07-2004 06:36 PM
darkchrono4 is offline Click Here to See the Profile for darkchrono4 Click here to Send darkchrono4 a Private Message Find more posts by darkchrono4 Add darkchrono4 to your buddy list Edit/Delete Message Reply w/Quote
All times are EST. The time now is 01:37 AM. Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Subscribe to this Thread

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 
Contact Us - Volition Watch >
Powered by: vBulletin Version 2.2.6 - Copyright ©2000-2002, Jelsoft Enterprises Limited.