Win 2000

Started by
2 comments, last by Nat 23 years, 9 months ago
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
~~~º¥º -
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);


Author of Power Render (http:/www.powerrender.com)
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
~~~º¥º -
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
Author of Power Render (http:/www.powerrender.com)

This topic is closed to new replies.

Advertisement