Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Nat

Win 2000

This topic is 6622 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi Guys, Yestrday .. I tried my PR applications in Win2000. I could finally fix the problems today. One problem is ..in SpawnCharacter if I used this SniperNum = SpawnCharacter ("player"); then the program was crashing .. using CAPS solves the problem i.e SniperNum = SpawnCharacter ("PLAYER"); Seems like strupr() does not work that well in win2000 .. Nat

Share this post


Link to post
Share on other sites
Advertisement
That''s because you''re trying to use strupr on a constant string parameter.

If you make a variable and pass it, it will work fine.
ie:

char playername[]="player";

SniperNum = SpawnCharacter (playername);


Share this post


Link to post
Share on other sites
Well! the same thing worked in win98 ..so it is win2000 feature .. right!

Also in the latest the land1 demo the fog is good ... how can I duplicate it in my application ... I mean objects are being in the fog and not becoming trasparent ..which was the case before ..

Nat

Edited by - nat on June 27, 2000 1:44:42 PM

Share this post


Link to post
Share on other sites
It is using table based fog in addition to alpha fog. Just look at the code from land1 and you''ll see some special fog functions to enable both at the same time.

However table fog isn''t working on voodoo cards right now because of the wbuffering.

Chris

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!