Win 2000
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
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);
If you make a variable and pass it, it will work fine.
ie:
char playername[]="player";
SniperNum = SpawnCharacter (playername);
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
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
However table fog isn''t working on voodoo cards right now because of the wbuffering.
Chris
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement