}
- sprintf (mapname, "/Data/Users");
+ sprintf (mapname, "Data/Users");
FILE *tfile;
tfile=fopen( mapname, "wb" );
OPENAL_SetSFXMasterVolume((int)(volume*255));
- samp[footstepsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/footstepsnow1.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[footstepsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/footstepsnow1.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[footstepsound], 4.0f, 1000.0f);
- samp[footstepsound2] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/footstepsnow2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[footstepsound2] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/footstepsnow2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[footstepsound2], 4.0f, 1000.0f);
- samp[footstepsound3] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/footstepstone1.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[footstepsound3] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/footstepstone1.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[footstepsound3], 4.0f, 1000.0f);
- samp[footstepsound4] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/footstepstone2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[footstepsound4] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/footstepstone2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[footstepsound4], 4.0f, 1000.0f);
- samp[landsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/land.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[landsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/land.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[landsound], 4.0f, 1000.0f);
- samp[jumpsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/jump.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[jumpsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/jump.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[jumpsound], 4.0f, 1000.0f);
- samp[hawksound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/hawk.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[hawksound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/hawk.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[hawksound], 40.0f, 10000.0f);
- samp[whooshsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/whoosh.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[whooshsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/whoosh.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[whooshsound], 4.0f, 1000.0f);
OPENAL_Sample_SetMode(samp[whooshsound], OPENAL_LOOP_NORMAL);
- samp[landsound1] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/land1.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[landsound1] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/land1.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[landsound1], 4.0f, 1000.0f);
- samp[landsound2] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/land2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[landsound2] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/land2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[landsound2], 4.0f, 1000.0f);
- samp[breaksound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/broken.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[breaksound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/broken.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[breaksound], 8.0f, 2000.0f);
- samp[lowwhooshsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/Lowwhoosh.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[lowwhooshsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/Lowwhoosh.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[lowwhooshsound], 8.0f, 2000.0f);
- samp[midwhooshsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/midwhoosh.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[midwhooshsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/midwhoosh.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[midwhooshsound], 8.0f, 2000.0f);
- samp[highwhooshsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/highwhoosh.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[highwhooshsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/highwhoosh.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[highwhooshsound], 8.0f, 2000.0f);
- samp[movewhooshsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/movewhoosh.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[movewhooshsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/movewhoosh.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[movewhooshsound], 8.0f, 2000.0f);
- samp[heavyimpactsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/heavyimpact.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[heavyimpactsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/heavyimpact.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[heavyimpactsound], 8.0f, 2000.0f);
- samp[whooshhitsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/Whooshhit.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[whooshhitsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/Whooshhit.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[whooshhitsound], 8.0f, 2000.0f);
- samp[thudsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/thud.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[thudsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/thud.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[thudsound], 8.0f, 2000.0f);
- samp[alarmsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/alarm.ogg", OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[alarmsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/alarm.ogg", OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[alarmsound], 8.0f, 2000.0f);
- samp[breaksound2] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/break.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[breaksound2] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/break.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[breaksound2], 8.0f, 2000.0f);
- samp[knifedrawsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/knifedraw.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[knifedrawsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/knifedraw.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[knifedrawsound], 8.0f, 2000.0f);
- samp[knifesheathesound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/knifesheathe.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[knifesheathesound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/knifesheathe.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[knifesheathesound], 8.0f, 2000.0f);
- samp[fleshstabsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/Fleshstab.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[fleshstabsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/Fleshstab.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[fleshstabsound], 8.0f, 2000.0f);
- samp[fleshstabremovesound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/Fleshstabremove.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[fleshstabremovesound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/Fleshstabremove.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[fleshstabremovesound], 8.0f, 2000.0f);
- samp[knifeswishsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/knifeswish.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[knifeswishsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/knifeswish.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[knifeswishsound], 8.0f, 2000.0f);
- samp[knifeslicesound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/knifeslice.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[knifeslicesound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/knifeslice.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[knifeslicesound], 8.0f, 2000.0f);
- samp[swordslicesound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/swordslice.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[swordslicesound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/swordslice.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[swordslicesound], 8.0f, 2000.0f);
- samp[skidsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/skid.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[skidsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/skid.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[skidsound], 8.0f, 2000.0f);
- samp[snowskidsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/snowskid.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[snowskidsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/snowskid.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[snowskidsound], 8.0f, 2000.0f);
- samp[bushrustle] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/bushrustle.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[bushrustle] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/bushrustle.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[bushrustle], 4.0f, 1000.0f);
- samp[clank1sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/clank1.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[clank1sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/clank1.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[clank1sound], 8.0f, 2000.0f);
- samp[clank2sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/clank2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[clank2sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/clank2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[clank2sound], 8.0f, 2000.0f);
- samp[clank3sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/clank3.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[clank3sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/clank3.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[clank3sound], 8.0f, 2000.0f);
- samp[clank4sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/clank4.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[clank4sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/clank4.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[clank4sound], 8.0f, 2000.0f);
- samp[consolesuccesssound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/consolesuccess.ogg", OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[consolesuccesssound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/consolesuccess.ogg", OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[consolesuccesssound], 4.0f, 1000.0f);
- samp[consolefailsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/consolefail.ogg", OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[consolefailsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/consolefail.ogg", OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[consolefailsound], 4.0f, 1000.0f);
- samp[metalhitsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/MetalHit.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[metalhitsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/MetalHit.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[metalhitsound], 8.0f, 2000.0f);
- samp[clawslicesound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/clawslice.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[clawslicesound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/clawslice.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[clawslicesound], 8.0f, 2000.0f);
- samp[splattersound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/splatter.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[splattersound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/splatter.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[splattersound], 8.0f, 2000.0f);
- samp[growlsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/Growl.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[growlsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/Growl.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[growlsound], 1000.0f, 2000.0f);
- samp[growl2sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/Growl2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[growl2sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/Growl2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[growl2sound], 1000.0f, 2000.0f);
- samp[barksound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/bark.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[barksound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/bark.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[barksound], 1000.0f, 2000.0f);
- samp[bark2sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/bark2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[bark2sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/bark2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[bark2sound], 1000.0f, 2000.0f);
- samp[bark3sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/bark3.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[bark3sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/bark3.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[bark3sound], 1000.0f, 2000.0f);
- samp[snarlsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/snarl.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[snarlsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/snarl.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[snarlsound], 1000.0f, 2000.0f);
- samp[snarl2sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/snarl2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[snarl2sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/snarl2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[snarl2sound], 1000.0f, 2000.0f);
- samp[barkgrowlsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/barkgrowl.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[barkgrowlsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/barkgrowl.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[barkgrowlsound], 1000.0f, 2000.0f);
- samp[rabbitattacksound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/rabbitattack.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[rabbitattacksound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/rabbitattack.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[rabbitattacksound], 1000.0f, 2000.0f);
- samp[rabbitattack2sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/rabbitattack2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[rabbitattack2sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/rabbitattack2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[rabbitattack2sound], 1000.0f, 2000.0f);
- samp[rabbitattack3sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/rabbitattack3.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[rabbitattack3sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/rabbitattack3.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[rabbitattack3sound], 1000.0f, 2000.0f);
- samp[rabbitattack4sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/rabbitattack4.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[rabbitattack4sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/rabbitattack4.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[rabbitattack4sound], 1000.0f, 2000.0f);
- samp[rabbitpainsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/rabbitpain.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[rabbitpainsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/rabbitpain.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[rabbitpainsound], 1000.0f, 2000.0f);
- samp[rabbitpain1sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/rabbitpain2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[rabbitpain1sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/rabbitpain2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[rabbitpain1sound], 1000.0f, 2000.0f);
- /*samp[rabbitpain2sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/rabbitpain2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ /*samp[rabbitpain2sound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/rabbitpain2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[rabbitpain2sound], 1000.0f, 2000.0f);
*/
- samp[rabbitchitter] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/rabbitchitter.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[rabbitchitter] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/rabbitchitter.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[rabbitchitter], 1000.0f, 2000.0f);
- samp[rabbitchitter2] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/rabbitchitter2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[rabbitchitter2] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/rabbitchitter2.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[rabbitchitter2], 1000.0f, 2000.0f);
- samp[swordstaffsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/swordstaff.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[swordstaffsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/swordstaff.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[swordstaffsound], 8.0f, 2000.0f);
- samp[staffbodysound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/staffbody.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[staffbodysound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/staffbody.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[staffbodysound], 8.0f, 2000.0f);
- samp[staffheadsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/staffhead.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[staffheadsound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/staffhead.ogg", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[staffheadsound], 8.0f, 2000.0f);
- samp[staffbreaksound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "/Data/Sounds/staffbreak.wav", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[staffbreaksound] = OPENAL_Sample_LoadEx(OPENAL_FREE, "Data/Sounds/staffbreak.wav", OPENAL_HW3D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[staffbreaksound], 8.0f, 2000.0f);
}
accountactive=-1;
- sprintf (mapname, "/Data/Users");
+ sprintf (mapname, "Data/Users");
tfile=fopen( mapname, "rb" );
if(tfile)
{
int temptexdetail=texdetail;
texdetail=1;
- text.LoadFontTexture("/Data/Textures/Font.png");
+ text.LoadFontTexture("Data/Textures/Font.png");
text.BuildFont();
texdetail=temptexdetail;
OPENAL_SetSFXMasterVolume((int)(volume*255));
- strm[stream_music3] = OPENAL_Stream_Open(ConvertFileName("/Data/Sounds/music3.mp3"), OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=0;}
+ strm[stream_music3] = OPENAL_Stream_Open(ConvertFileName("Data/Sounds/music3.mp3"), OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=0;}
// OPENAL_Sample_SetMinMaxDistance(strm[stream_music3], 4.0f, 1000.0f);
OPENAL_Stream_SetMode(strm[stream_music3], OPENAL_LOOP_NORMAL);
FadeLoadingScreen(20);
if(ambientsound){
- strm[stream_wind] = OPENAL_Stream_Open(ConvertFileName("/Data/Sounds/wind.mp3"), OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ strm[stream_wind] = OPENAL_Stream_Open(ConvertFileName("Data/Sounds/wind.mp3"), OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
// OPENAL_Sample_SetMinMaxDistance(strm[stream_wind], 4.0f, 1000.0f);
OPENAL_Stream_SetMode(strm[stream_wind], OPENAL_LOOP_NORMAL);
FadeLoadingScreen(30);
- strm[stream_desertambient] = OPENAL_Stream_Open(ConvertFileName("/Data/Sounds/desertambient.mp3"), OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ strm[stream_desertambient] = OPENAL_Stream_Open(ConvertFileName("Data/Sounds/desertambient.mp3"), OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
// OPENAL_Sample_SetMinMaxDistance(strm[stream_desertambient], 4.0f, 1000.0f);
OPENAL_Stream_SetMode(strm[stream_desertambient], OPENAL_LOOP_NORMAL);
}
FadeLoadingScreen(40);
- samp[firestartsound] = OPENAL_Sample_Load(OPENAL_FREE, ("/Data/Sounds/firestart.ogg"), OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[firestartsound] = OPENAL_Sample_Load(OPENAL_FREE, ("Data/Sounds/firestart.ogg"), OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[firestartsound], 8.0f, 2000.0f);
- strm[stream_firesound] = OPENAL_Stream_Open("/Data/Sounds/fire.ogg", OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ strm[stream_firesound] = OPENAL_Stream_Open("Data/Sounds/fire.ogg", OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
// OPENAL_Sample_SetMinMaxDistance(strm[stream_firesound], 8.0f, 2000.0f);
OPENAL_Stream_SetMode(strm[stream_firesound], OPENAL_LOOP_NORMAL);
FadeLoadingScreen(50);
- samp[fireendsound] = OPENAL_Sample_Load(OPENAL_FREE, ("/Data/Sounds/fireend.ogg"), OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
+ samp[fireendsound] = OPENAL_Sample_Load(OPENAL_FREE, ("Data/Sounds/fireend.ogg"), OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=5;}
OPENAL_Sample_SetMinMaxDistance(samp[fireendsound], 8.0f, 2000.0f);
//if(musictoggle){
- strm[stream_music1grass] = OPENAL_Stream_Open(ConvertFileName("/Data/Sounds/music1grass.mp3"), OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=1;}
+ strm[stream_music1grass] = OPENAL_Stream_Open(ConvertFileName("Data/Sounds/music1grass.mp3"), OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=1;}
// OPENAL_Sample_SetMinMaxDistance(strm[stream_music1grass], 4.0f, 1000.0f);
OPENAL_Stream_SetMode(strm[stream_music1grass], OPENAL_LOOP_NORMAL);
- strm[stream_music1snow] = OPENAL_Stream_Open(ConvertFileName("/Data/Sounds/music1snow.mp3"), OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=2;}
+ strm[stream_music1snow] = OPENAL_Stream_Open(ConvertFileName("Data/Sounds/music1snow.mp3"), OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=2;}
// OPENAL_Sample_SetMinMaxDistance(strm[stream_music1snow], 4.0f, 1000.0f);
OPENAL_Stream_SetMode(strm[stream_music1snow], OPENAL_LOOP_NORMAL);
FadeLoadingScreen(60);
- strm[stream_music1desert] = OPENAL_Stream_Open(ConvertFileName("/Data/Sounds/music1desert.mp3"), OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=3;}
+ strm[stream_music1desert] = OPENAL_Stream_Open(ConvertFileName("Data/Sounds/music1desert.mp3"), OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=3;}
// OPENAL_Sample_SetMinMaxDistance(strm[stream_music1desert], 4.0f, 1000.0f);
OPENAL_Stream_SetMode(strm[stream_music1desert], OPENAL_LOOP_NORMAL);
FadeLoadingScreen(80);
- strm[stream_music2] = OPENAL_Stream_Open(ConvertFileName("/Data/Sounds/music2.ogg"), OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=4;}
+ strm[stream_music2] = OPENAL_Stream_Open(ConvertFileName("Data/Sounds/music2.ogg"), OPENAL_2D, 0, 0); if(visibleloading){LoadingScreen(); loadscreencolor=4;}
// OPENAL_Sample_SetMinMaxDistance(strm[stream_music2], 4.0f, 1000.0f);
OPENAL_Stream_SetMode(strm[stream_music2], OPENAL_LOOP_NORMAL);
FadeLoadingScreen(90);
- LoadTexture("/Data/Textures/Cursor.png",&cursortexture,0,1);
+ LoadTexture("Data/Textures/Cursor.png",&cursortexture,0,1);
- LoadTexture("/Data/Textures/MapCircle.png",&Mapcircletexture,0,1);
- LoadTexture("/Data/Textures/MapBox.png",&Mapboxtexture,0,1);
- LoadTexture("/Data/Textures/MapArrow.png",&Maparrowtexture,0,1);
+ LoadTexture("Data/Textures/MapCircle.png",&Mapcircletexture,0,1);
+ LoadTexture("Data/Textures/MapBox.png",&Mapboxtexture,0,1);
+ LoadTexture("Data/Textures/MapArrow.png",&Maparrowtexture,0,1);
temptexdetail=texdetail;
if(texdetail>2)texdetail=2;
- LoadTexture("/Data/Textures/Lugaru.png",&Mainmenuitems[0],0,0);
- LoadTexture("/Data/Textures/Newgame.png",&Mainmenuitems[1],0,0);
- LoadTexture("/Data/Textures/Options.png",&Mainmenuitems[2],0,0);
- LoadTexture("/Data/Textures/Quit.png",&Mainmenuitems[3],0,0);
- LoadTexture("/Data/Textures/World.png",&Mainmenuitems[7],0,0);
- LoadTexture("/Data/Textures/Eyelid.png",&Mainmenuitems[4],0,1);
- //LoadTexture("/Data/Textures/Eye.jpg",&Mainmenuitems[5],0,1);
+ LoadTexture("Data/Textures/Lugaru.png",&Mainmenuitems[0],0,0);
+ LoadTexture("Data/Textures/Newgame.png",&Mainmenuitems[1],0,0);
+ LoadTexture("Data/Textures/Options.png",&Mainmenuitems[2],0,0);
+ LoadTexture("Data/Textures/Quit.png",&Mainmenuitems[3],0,0);
+ LoadTexture("Data/Textures/World.png",&Mainmenuitems[7],0,0);
+ LoadTexture("Data/Textures/Eyelid.png",&Mainmenuitems[4],0,1);
+ //LoadTexture("Data/Textures/Eye.jpg",&Mainmenuitems[5],0,1);
texdetail=temptexdetail;
loaddistrib=0;
//temptexdetail=texdetail;
//texdetail=1;
i=abs(Random()%4);
- LoadTexture("/Data/Textures/fire.jpg",&loadscreentexture,1,0);
+ LoadTexture("Data/Textures/fire.jpg",&loadscreentexture,1,0);
//texdetail=temptexdetail;
temptexdetail=texdetail;
texdetail=1;
- text.LoadFontTexture("/Data/Textures/Font.png");
+ text.LoadFontTexture("Data/Textures/Font.png");
text.BuildFont();
texdetail=temptexdetail;
- /*LoadTexture("/Data/Textures/snow.png",&terraintexture,1);
+ /*LoadTexture("Data/Textures/snow.png",&terraintexture,1);
- LoadTexture("/Data/Textures/rock.png",&terraintexture2,1);
+ LoadTexture("Data/Textures/rock.png",&terraintexture2,1);
- LoadTexture("/Data/Textures/detail.png",&terraintexture3,1);
+ LoadTexture("Data/Textures/detail.png",&terraintexture3,1);
*/
LOG("Loading weapon data...");
- LoadTexture("/Data/Textures/knife.png",&weapons.knifetextureptr,0,1);
- LoadTexture("/Data/Textures/bloodknife.png",&weapons.bloodknifetextureptr,0,1);
- LoadTexture("/Data/Textures/lightbloodknife.png",&weapons.lightbloodknifetextureptr,0,1);
- LoadTexture("/Data/Textures/sword.jpg",&weapons.swordtextureptr,1,0);
- LoadTexture("/Data/Textures/Swordblood.jpg",&weapons.bloodswordtextureptr,1,0);
- LoadTexture("/Data/Textures/Swordbloodlight.jpg",&weapons.lightbloodswordtextureptr,1,0);
- LoadTexture("/Data/Textures/Staff.jpg",&weapons.stafftextureptr,1,0);
+ LoadTexture("Data/Textures/knife.png",&weapons.knifetextureptr,0,1);
+ LoadTexture("Data/Textures/bloodknife.png",&weapons.bloodknifetextureptr,0,1);
+ LoadTexture("Data/Textures/lightbloodknife.png",&weapons.lightbloodknifetextureptr,0,1);
+ LoadTexture("Data/Textures/sword.jpg",&weapons.swordtextureptr,1,0);
+ LoadTexture("Data/Textures/Swordblood.jpg",&weapons.bloodswordtextureptr,1,0);
+ LoadTexture("Data/Textures/Swordbloodlight.jpg",&weapons.lightbloodswordtextureptr,1,0);
+ LoadTexture("Data/Textures/Staff.jpg",&weapons.stafftextureptr,1,0);
- weapons.throwingknifemodel.load((char *)"/Data/Models/throwingknife.solid",1);
+ weapons.throwingknifemodel.load((char *)"Data/Models/throwingknife.solid",1);
weapons.throwingknifemodel.Scale(.001,.001,.001);
//weapons.throwingknifemodel.Rotate(0,0,-90);
weapons.throwingknifemodel.Rotate(90,0,0);
weapons.throwingknifemodel.CalculateNormals(1);
//weapons.throwingknifemodel.ScaleNormals(-1,-1,-1);
- weapons.swordmodel.load((char *)"/Data/Models/sword.solid",1);
+ weapons.swordmodel.load((char *)"Data/Models/sword.solid",1);
weapons.swordmodel.Scale(.001,.001,.001);
//weapons.swordmodel.Rotate(0,0,-90);
weapons.swordmodel.Rotate(90,0,0);
weapons.swordmodel.CalculateNormals(1);
//weapons.swordmodel.ScaleNormals(-1,-1,-1);
- weapons.staffmodel.load((char *)"/Data/Models/staff.solid",1);
+ weapons.staffmodel.load((char *)"Data/Models/staff.solid",1);
weapons.staffmodel.Scale(.005,.005,.005);
//weapons.staffmodel.Rotate(0,0,-90);
weapons.staffmodel.Rotate(90,0,0);
//temptexdetail=texdetail;
//if(texdetail>4)texdetail=4;
- LoadTexture("/Data/Textures/shadow.png",&terrain.shadowtexture,0,1);
+ LoadTexture("Data/Textures/shadow.png",&terrain.shadowtexture,0,1);
- LoadTexture("/Data/Textures/blood.png",&terrain.bloodtexture,0,1);
+ LoadTexture("Data/Textures/blood.png",&terrain.bloodtexture,0,1);
- LoadTexture("/Data/Textures/break.png",&terrain.breaktexture,0,1);
+ LoadTexture("Data/Textures/break.png",&terrain.breaktexture,0,1);
- LoadTexture("/Data/Textures/blood.png",&terrain.bloodtexture2,0,1);
+ LoadTexture("Data/Textures/blood.png",&terrain.bloodtexture2,0,1);
- LoadTexture("/Data/Textures/footprint.png",&terrain.footprinttexture,0,1);
+ LoadTexture("Data/Textures/footprint.png",&terrain.footprinttexture,0,1);
- LoadTexture("/Data/Textures/bodyprint.png",&terrain.bodyprinttexture,0,1);
+ LoadTexture("Data/Textures/bodyprint.png",&terrain.bodyprinttexture,0,1);
- /*LoadTexture("/Data/Textures/cloud.png",&sprites.cloudtexture,1);
+ /*LoadTexture("Data/Textures/cloud.png",&sprites.cloudtexture,1);
- LoadTexture("/Data/Textures/cloudimpact.png",&sprites.cloudimpacttexture,1);
+ LoadTexture("Data/Textures/cloudimpact.png",&sprites.cloudimpacttexture,1);
- LoadTexture("/Data/Textures/bloodparticle.png",&sprites.bloodtexture,1);
+ LoadTexture("Data/Textures/bloodparticle.png",&sprites.bloodtexture,1);
- LoadTexture("/Data/Textures/snowflake.png",&sprites.snowflaketexture,1);
+ LoadTexture("Data/Textures/snowflake.png",&sprites.snowflaketexture,1);
- LoadTexture("/Data/Textures/flame.png",&sprites.flametexture,1);
+ LoadTexture("Data/Textures/flame.png",&sprites.flametexture,1);
- LoadTexture("/Data/Textures/smoke.png",&sprites.smoketexture,1);
+ LoadTexture("Data/Textures/smoke.png",&sprites.smoketexture,1);
//texdetail=temptexdetail;
- LoadTexture("/Data/Textures/shine.png",&sprites.shinetexture,1);*/
+ LoadTexture("Data/Textures/shine.png",&sprites.shinetexture,1);*/
- LoadTexture("/Data/Textures/hawk.png",&hawktexture,0,1);
+ LoadTexture("Data/Textures/hawk.png",&hawktexture,0,1);
- LoadTexture("/Data/Textures/logo.png",&logotexture,0,1);
+ LoadTexture("Data/Textures/logo.png",&logotexture,0,1);
- //LoadTexture("/Data/Textures/box.jpg",&objects.boxtextureptr,1,0);
+ //LoadTexture("Data/Textures/box.jpg",&objects.boxtextureptr,1,0);
- LoadTexture("/Data/Textures/cloud.png",&sprites.cloudtexture,1,1);
- LoadTexture("/Data/Textures/cloudimpact.png",&sprites.cloudimpacttexture,1,1);
- LoadTexture("/Data/Textures/bloodparticle.png",&sprites.bloodtexture,1,1);
- LoadTexture("/Data/Textures/snowflake.png",&sprites.snowflaketexture,1,1);
- LoadTexture("/Data/Textures/flame.png",&sprites.flametexture,1,1);
- LoadTexture("/Data/Textures/bloodflame.png",&sprites.bloodflametexture,1,1);
- LoadTexture("/Data/Textures/smoke.png",&sprites.smoketexture,1,1);
- LoadTexture("/Data/Textures/shine.png",&sprites.shinetexture,1,0);
- LoadTexture("/Data/Textures/splinter.png",&sprites.splintertexture,1,1);
- LoadTexture("/Data/Textures/leaf.png",&sprites.leaftexture,1,1);
- LoadTexture("/Data/Textures/tooth.png",&sprites.toothtexture,1,1);
+ LoadTexture("Data/Textures/cloud.png",&sprites.cloudtexture,1,1);
+ LoadTexture("Data/Textures/cloudimpact.png",&sprites.cloudimpacttexture,1,1);
+ LoadTexture("Data/Textures/bloodparticle.png",&sprites.bloodtexture,1,1);
+ LoadTexture("Data/Textures/snowflake.png",&sprites.snowflaketexture,1,1);
+ LoadTexture("Data/Textures/flame.png",&sprites.flametexture,1,1);
+ LoadTexture("Data/Textures/bloodflame.png",&sprites.bloodflametexture,1,1);
+ LoadTexture("Data/Textures/smoke.png",&sprites.smoketexture,1,1);
+ LoadTexture("Data/Textures/shine.png",&sprites.shinetexture,1,0);
+ LoadTexture("Data/Textures/splinter.png",&sprites.splintertexture,1,1);
+ LoadTexture("Data/Textures/leaf.png",&sprites.leaftexture,1,1);
+ LoadTexture("Data/Textures/tooth.png",&sprites.toothtexture,1,1);
rotation=0;
rotation2=0;
viewer.x=terrain.size/2*terrain.scale;
viewer.z=terrain.size/2*terrain.scale;
- hawk.load((char *)"/Data/Models/hawk.solid",1);
+ hawk.load((char *)"Data/Models/hawk.solid",1);
hawk.Scale(.03,.03,.03);
hawk.Rotate(90,1,1);
hawk.CalculateNormals(0);
hawkcoords.y=terrain.getHeight(hawkcoords.x,hawkcoords.z)+25;
- eye.load((char *)"/Data/Models/eye.solid",1);
+ eye.load((char *)"Data/Models/eye.solid",1);
eye.Scale(.03,.03,.03);
eye.CalculateNormals(0);
- cornea.load((char *)"/Data/Models/cornea.solid",1);
+ cornea.load((char *)"Data/Models/cornea.solid",1);
cornea.Scale(.03,.03,.03);
cornea.CalculateNormals(0);
- iris.load((char *)"/Data/Models/iris.solid",1);
+ iris.load((char *)"Data/Models/iris.solid",1);
iris.Scale(.03,.03,.03);
iris.CalculateNormals(0);
- LoadSave("/Data/Textures/Bloodfur.png",0,1,&bloodText[0],0);
- LoadSave("/Data/Textures/Wolfbloodfur.png",0,1,&wolfbloodText[0],0);
+ LoadSave("Data/Textures/Bloodfur.png",0,1,&bloodText[0],0);
+ LoadSave("Data/Textures/Wolfbloodfur.png",0,1,&wolfbloodText[0],0);
oldenvironment=-4;
rabbitcoords=player[0].coords;
rabbitcoords.y=terrain.getHeight(rabbitcoords.x,rabbitcoords.z);
- animation[runanim].Load((char *)"/Data/Animations/Run",middleheight,neutral);
-
- animation[bounceidleanim].Load((char *)"/Data/Animations/Idle",middleheight,neutral);
- animation[stopanim].Load((char *)"/Data/Animations/Stop",middleheight,neutral);
-
- animation[jumpupanim].Load((char *)"/Data/Animations/JumpUp",highheight,neutral);
- animation[jumpdownanim].Load((char *)"/Data/Animations/JumpDown",highheight,neutral);
-
- animation[landanim].Load((char *)"/Data/Animations/Landing",lowheight,neutral);
- animation[landhardanim].Load((char *)"/Data/Animations/Landhard",lowheight,neutral);
- animation[climbanim].Load((char *)"/Data/Animations/Climb",lowheight,neutral);
- animation[hanganim].Load((char *)"/Data/Animations/Hangon",lowheight,neutral);
- animation[spinkickanim].Load((char *)"/Data/Animations/SpinKick",middleheight,normalattack);
-
- animation[getupfromfrontanim].Load((char *)"/Data/Animations/GetUpFromFront",lowheight,neutral);
- animation[getupfrombackanim].Load((char *)"/Data/Animations/GetUpFromBack",lowheight,neutral);
- animation[crouchanim].Load((char *)"/Data/Animations/Crouch",lowheight,neutral);
- animation[sneakanim].Load((char *)"/Data/Animations/Sneak",lowheight,neutral);
- animation[rollanim].Load((char *)"/Data/Animations/Roll",lowheight,neutral);
- animation[flipanim].Load((char *)"/Data/Animations/Flip",highheight,neutral);
- animation[frontflipanim].Load((char *)"/Data/Animations/Flip",highheight,neutral);
- animation[spinkickreversedanim].Load((char *)"/Data/Animations/SpinKickCaught",middleheight,reversed);
-
- animation[spinkickreversalanim].Load((char *)"/Data/Animations/SpinKickCatch",middleheight,reversal);
- animation[lowkickanim].Load((char *)"/Data/Animations/lowkick",middleheight,normalattack);
- animation[sweepanim].Load((char *)"/Data/Animations/sweep",lowheight,normalattack);
- animation[sweepreversedanim].Load((char *)"/Data/Animations/SweepCaught",lowheight,reversed);
- animation[sweepreversalanim].Load((char *)"/Data/Animations/SweepCatch",middleheight,reversal);
- animation[rabbitkickanim].Load((char *)"/Data/Animations/RabbitKick",middleheight,normalattack);
- animation[rabbitkickreversedanim].Load((char *)"/Data/Animations/RabbitKickCaught",middleheight,reversed);
- animation[rabbitkickreversalanim].Load((char *)"/Data/Animations/RabbitKickCatch",lowheight,reversal);
- animation[upunchanim].Load((char *)"/Data/Animations/Upunch",middleheight,normalattack);
- animation[staggerbackhighanim].Load((char *)"/Data/Animations/Staggerbackhigh",middleheight,neutral);
- animation[upunchreversedanim].Load((char *)"/Data/Animations/UpunchCaught",middleheight,reversed);
-
- animation[upunchreversalanim].Load((char *)"/Data/Animations/UpunchCatch",middleheight,reversal);
- animation[hurtidleanim].Load((char *)"/Data/Animations/Hurtidle",middleheight,neutral);
- animation[backhandspringanim].Load((char *)"/Data/Animations/Backhandspring",middleheight,neutral);
- animation[fightidleanim].Load((char *)"/Data/Animations/Fightidle",middleheight,neutral);
- animation[walkanim].Load((char *)"/Data/Animations/Walk",middleheight,neutral);
-
- animation[fightsidestep].Load((char *)"/Data/Animations/Fightsidestep",middleheight,neutral);
- animation[killanim].Load((char *)"/Data/Animations/Kill",middleheight,normalattack);
- animation[sneakattackanim].Load((char *)"/Data/Animations/Sneakattack",middleheight,reversal);
- animation[sneakattackedanim].Load((char *)"/Data/Animations/Sneakattacked",middleheight,reversed);
- animation[drawrightanim].Load((char *)"/Data/Animations/drawright",middleheight,neutral);
- animation[knifeslashstartanim].Load((char *)"/Data/Animations/slashstart",middleheight,normalattack);
- animation[crouchdrawrightanim].Load((char *)"/Data/Animations/crouchdrawright",lowheight,neutral);
- animation[crouchstabanim].Load((char *)"/Data/Animations/crouchstab",lowheight,normalattack);
-
- animation[knifefollowanim].Load((char *)"/Data/Animations/slashfollow",middleheight,reversal);
- animation[knifefollowedanim].Load((char *)"/Data/Animations/slashfollowed",middleheight,reversed);
- animation[knifethrowanim].Load((char *)"/Data/Animations/knifethrow",middleheight,normalattack);
- animation[removeknifeanim].Load((char *)"/Data/Animations/removeknife",middleheight,neutral);
- animation[crouchremoveknifeanim].Load((char *)"/Data/Animations/crouchremoveknife",lowheight,neutral);
- animation[jumpreversedanim].Load((char *)"/Data/Animations/JumpCaught",middleheight,reversed);
- animation[jumpreversalanim].Load((char *)"/Data/Animations/JumpCatch",middleheight,reversal);
- animation[staggerbackhardanim].Load((char *)"/Data/Animations/Staggerbackhard",middleheight,neutral);
-
- animation[dropkickanim].Load((char *)"/Data/Animations/Dropkick",middleheight,normalattack);
- animation[winduppunchanim].Load((char *)"/Data/Animations/Winduppunch",middleheight,normalattack);
- animation[winduppunchblockedanim].Load((char *)"/Data/Animations/Winduppunchblocked",middleheight,normalattack);
- animation[blockhighleftanim].Load((char *)"/Data/Animations/Blockhighleft",middleheight,normalattack);
- animation[blockhighleftstrikeanim].Load((char *)"/Data/Animations/Blockhighleftstrike",middleheight,normalattack);
- animation[backflipanim].Load((char *)"/Data/Animations/Backflip",highheight,neutral);
- animation[walljumpbackanim].Load((char *)"/Data/Animations/Walljumpback",highheight,neutral);
- animation[walljumpfrontanim].Load((char *)"/Data/Animations/Walljumpfront",highheight,neutral);
- animation[rightflipanim].Load((char *)"/Data/Animations/Rightflip",highheight,neutral);
- animation[walljumprightanim].Load((char *)"/Data/Animations/Walljumpright",highheight,neutral);
- animation[leftflipanim].Load((char *)"/Data/Animations/Leftflip",highheight,neutral);
- animation[walljumpleftanim].Load((char *)"/Data/Animations/Walljumpleft",highheight,neutral);
- animation[walljumprightkickanim].Load((char *)"/Data/Animations/Walljumprightkick",highheight,neutral);
- animation[walljumpleftkickanim].Load((char *)"/Data/Animations/Walljumpleftkick",highheight,neutral);
- animation[knifefightidleanim].Load((char *)"/Data/Animations/Knifefightidle",middleheight,neutral);
- animation[knifesneakattackanim].Load((char *)"/Data/Animations/Knifesneakattack",middleheight,reversal);
- animation[knifesneakattackedanim].Load((char *)"/Data/Animations/Knifesneakattacked",middleheight,reversed);
- animation[swordfightidleanim].Load((char *)"/Data/Animations/swordfightidle",middleheight,neutral);
- animation[drawleftanim].Load((char *)"/Data/Animations/drawleft",middleheight,neutral);
- animation[swordslashanim].Load((char *)"/Data/Animations/swordslash",middleheight,normalattack);
- animation[swordgroundstabanim].Load((char *)"/Data/Animations/swordgroundstab",lowheight,normalattack);
- animation[dodgebackanim].Load((char *)"/Data/Animations/dodgeback",middleheight,neutral);
- animation[swordsneakattackanim].Load((char *)"/Data/Animations/Swordsneakattack",middleheight,reversal);
- animation[swordsneakattackedanim].Load((char *)"/Data/Animations/Swordsneakattacked",middleheight,reversed);
- animation[swordslashreversedanim].Load((char *)"/Data/Animations/swordslashCaught",middleheight,reversed);
- animation[swordslashreversalanim].Load((char *)"/Data/Animations/swordslashCatch",middleheight,reversal);
- animation[knifeslashreversedanim].Load((char *)"/Data/Animations/knifeslashCaught",middleheight,reversed);
- animation[knifeslashreversalanim].Load((char *)"/Data/Animations/knifeslashCatch",middleheight,reversal);
- animation[swordfightidlebothanim].Load((char *)"/Data/Animations/swordfightidleboth",middleheight,neutral);
- animation[swordslashparryanim].Load((char *)"/Data/Animations/sworduprightparry",middleheight,normalattack);
- animation[swordslashparriedanim].Load((char *)"/Data/Animations/swordslashparried",middleheight,normalattack);
- animation[wolfidle].Load((char *)"/Data/Animations/Wolfidle",middleheight,neutral);
- animation[wolfcrouchanim].Load((char *)"/Data/Animations/Wolfcrouch",lowheight,neutral);
- animation[wolflandanim].Load((char *)"/Data/Animations/Wolflanding",lowheight,neutral);
- animation[wolflandhardanim].Load((char *)"/Data/Animations/Wolflandhard",lowheight,neutral);
- animation[wolfrunanim].Load((char *)"/Data/Animations/Wolfrun",middleheight,neutral);
- animation[wolfrunninganim].Load((char *)"/Data/Animations/Wolfrunning",middleheight,neutral);
- animation[rabbitrunninganim].Load((char *)"/Data/Animations/Rabbitrunning",middleheight,neutral);
- animation[wolfstopanim].Load((char *)"/Data/Animations/Wolfstop",middleheight,neutral);
- animation[rabbittackleanim].Load((char *)"/Data/Animations/Rabbittackle",middleheight,neutral);
- animation[rabbittacklinganim].Load((char *)"/Data/Animations/Rabbittackling",middleheight,reversal);
- animation[rabbittackledbackanim].Load((char *)"/Data/Animations/Rabbittackledback",middleheight,reversed);
- animation[rabbittackledfrontanim].Load((char *)"/Data/Animations/Rabbittackledfront",middleheight,reversed);
- animation[wolfslapanim].Load((char *)"/Data/Animations/Wolfslap",middleheight,normalattack);
- animation[staffhitanim].Load((char *)"/Data/Animations/StaffHit",middleheight,normalattack);
- animation[staffgroundsmashanim].Load((char *)"/Data/Animations/StaffGroundSmash",lowheight,normalattack);
- animation[staffspinhitanim].Load((char *)"/Data/Animations/Spinwhack",middleheight,normalattack);
- animation[staffhitreversedanim].Load((char *)"/Data/Animations/StaffHitCaught",middleheight,reversed);
- animation[staffhitreversalanim].Load((char *)"/Data/Animations/StaffHitCatch",middleheight,reversal);
- animation[staffspinhitreversedanim].Load((char *)"/Data/Animations/SpinWhackCaught",middleheight,reversed);
- animation[staffspinhitreversalanim].Load((char *)"/Data/Animations/SpinWhackCatch",middleheight,reversal);
-
- animation[sitanim].Load((char *)"/Data/Animations/Sit",lowheight,neutral);
- animation[sleepanim].Load((char *)"/Data/Animations/Sleep",lowheight,neutral);
- animation[talkidleanim].Load((char *)"/Data/Animations/TalkIdle",middleheight,neutral);
-
- animation[sitwallanim].Load((char *)"/Data/Animations/Dying",lowheight,neutral);
- animation[dead1anim].Load((char *)"/Data/Animations/Dead1",lowheight,neutral);
- animation[dead2anim].Load((char *)"/Data/Animations/Dead2",lowheight,neutral);
- animation[dead3anim].Load((char *)"/Data/Animations/Dead3",lowheight,neutral);
- animation[dead4anim].Load((char *)"/Data/Animations/Dead4",lowheight,neutral);
+ animation[runanim].Load((char *)"Data/Animations/Run",middleheight,neutral);
+
+ animation[bounceidleanim].Load((char *)"Data/Animations/Idle",middleheight,neutral);
+ animation[stopanim].Load((char *)"Data/Animations/Stop",middleheight,neutral);
+
+ animation[jumpupanim].Load((char *)"Data/Animations/JumpUp",highheight,neutral);
+ animation[jumpdownanim].Load((char *)"Data/Animations/JumpDown",highheight,neutral);
+
+ animation[landanim].Load((char *)"Data/Animations/Landing",lowheight,neutral);
+ animation[landhardanim].Load((char *)"Data/Animations/Landhard",lowheight,neutral);
+ animation[climbanim].Load((char *)"Data/Animations/Climb",lowheight,neutral);
+ animation[hanganim].Load((char *)"Data/Animations/Hangon",lowheight,neutral);
+ animation[spinkickanim].Load((char *)"Data/Animations/SpinKick",middleheight,normalattack);
+
+ animation[getupfromfrontanim].Load((char *)"Data/Animations/GetUpFromFront",lowheight,neutral);
+ animation[getupfrombackanim].Load((char *)"Data/Animations/GetUpFromBack",lowheight,neutral);
+ animation[crouchanim].Load((char *)"Data/Animations/Crouch",lowheight,neutral);
+ animation[sneakanim].Load((char *)"Data/Animations/Sneak",lowheight,neutral);
+ animation[rollanim].Load((char *)"Data/Animations/Roll",lowheight,neutral);
+ animation[flipanim].Load((char *)"Data/Animations/Flip",highheight,neutral);
+ animation[frontflipanim].Load((char *)"Data/Animations/Flip",highheight,neutral);
+ animation[spinkickreversedanim].Load((char *)"Data/Animations/SpinKickCaught",middleheight,reversed);
+
+ animation[spinkickreversalanim].Load((char *)"Data/Animations/SpinKickCatch",middleheight,reversal);
+ animation[lowkickanim].Load((char *)"Data/Animations/lowkick",middleheight,normalattack);
+ animation[sweepanim].Load((char *)"Data/Animations/sweep",lowheight,normalattack);
+ animation[sweepreversedanim].Load((char *)"Data/Animations/SweepCaught",lowheight,reversed);
+ animation[sweepreversalanim].Load((char *)"Data/Animations/SweepCatch",middleheight,reversal);
+ animation[rabbitkickanim].Load((char *)"Data/Animations/RabbitKick",middleheight,normalattack);
+ animation[rabbitkickreversedanim].Load((char *)"Data/Animations/RabbitKickCaught",middleheight,reversed);
+ animation[rabbitkickreversalanim].Load((char *)"Data/Animations/RabbitKickCatch",lowheight,reversal);
+ animation[upunchanim].Load((char *)"Data/Animations/Upunch",middleheight,normalattack);
+ animation[staggerbackhighanim].Load((char *)"Data/Animations/Staggerbackhigh",middleheight,neutral);
+ animation[upunchreversedanim].Load((char *)"Data/Animations/UpunchCaught",middleheight,reversed);
+
+ animation[upunchreversalanim].Load((char *)"Data/Animations/UpunchCatch",middleheight,reversal);
+ animation[hurtidleanim].Load((char *)"Data/Animations/Hurtidle",middleheight,neutral);
+ animation[backhandspringanim].Load((char *)"Data/Animations/Backhandspring",middleheight,neutral);
+ animation[fightidleanim].Load((char *)"Data/Animations/Fightidle",middleheight,neutral);
+ animation[walkanim].Load((char *)"Data/Animations/Walk",middleheight,neutral);
+
+ animation[fightsidestep].Load((char *)"Data/Animations/Fightsidestep",middleheight,neutral);
+ animation[killanim].Load((char *)"Data/Animations/Kill",middleheight,normalattack);
+ animation[sneakattackanim].Load((char *)"Data/Animations/Sneakattack",middleheight,reversal);
+ animation[sneakattackedanim].Load((char *)"Data/Animations/Sneakattacked",middleheight,reversed);
+ animation[drawrightanim].Load((char *)"Data/Animations/drawright",middleheight,neutral);
+ animation[knifeslashstartanim].Load((char *)"Data/Animations/slashstart",middleheight,normalattack);
+ animation[crouchdrawrightanim].Load((char *)"Data/Animations/crouchdrawright",lowheight,neutral);
+ animation[crouchstabanim].Load((char *)"Data/Animations/crouchstab",lowheight,normalattack);
+
+ animation[knifefollowanim].Load((char *)"Data/Animations/slashfollow",middleheight,reversal);
+ animation[knifefollowedanim].Load((char *)"Data/Animations/slashfollowed",middleheight,reversed);
+ animation[knifethrowanim].Load((char *)"Data/Animations/knifethrow",middleheight,normalattack);
+ animation[removeknifeanim].Load((char *)"Data/Animations/removeknife",middleheight,neutral);
+ animation[crouchremoveknifeanim].Load((char *)"Data/Animations/crouchremoveknife",lowheight,neutral);
+ animation[jumpreversedanim].Load((char *)"Data/Animations/JumpCaught",middleheight,reversed);
+ animation[jumpreversalanim].Load((char *)"Data/Animations/JumpCatch",middleheight,reversal);
+ animation[staggerbackhardanim].Load((char *)"Data/Animations/Staggerbackhard",middleheight,neutral);
+
+ animation[dropkickanim].Load((char *)"Data/Animations/Dropkick",middleheight,normalattack);
+ animation[winduppunchanim].Load((char *)"Data/Animations/Winduppunch",middleheight,normalattack);
+ animation[winduppunchblockedanim].Load((char *)"Data/Animations/Winduppunchblocked",middleheight,normalattack);
+ animation[blockhighleftanim].Load((char *)"Data/Animations/Blockhighleft",middleheight,normalattack);
+ animation[blockhighleftstrikeanim].Load((char *)"Data/Animations/Blockhighleftstrike",middleheight,normalattack);
+ animation[backflipanim].Load((char *)"Data/Animations/Backflip",highheight,neutral);
+ animation[walljumpbackanim].Load((char *)"Data/Animations/Walljumpback",highheight,neutral);
+ animation[walljumpfrontanim].Load((char *)"Data/Animations/Walljumpfront",highheight,neutral);
+ animation[rightflipanim].Load((char *)"Data/Animations/Rightflip",highheight,neutral);
+ animation[walljumprightanim].Load((char *)"Data/Animations/Walljumpright",highheight,neutral);
+ animation[leftflipanim].Load((char *)"Data/Animations/Leftflip",highheight,neutral);
+ animation[walljumpleftanim].Load((char *)"Data/Animations/Walljumpleft",highheight,neutral);
+ animation[walljumprightkickanim].Load((char *)"Data/Animations/Walljumprightkick",highheight,neutral);
+ animation[walljumpleftkickanim].Load((char *)"Data/Animations/Walljumpleftkick",highheight,neutral);
+ animation[knifefightidleanim].Load((char *)"Data/Animations/Knifefightidle",middleheight,neutral);
+ animation[knifesneakattackanim].Load((char *)"Data/Animations/Knifesneakattack",middleheight,reversal);
+ animation[knifesneakattackedanim].Load((char *)"Data/Animations/Knifesneakattacked",middleheight,reversed);
+ animation[swordfightidleanim].Load((char *)"Data/Animations/swordfightidle",middleheight,neutral);
+ animation[drawleftanim].Load((char *)"Data/Animations/drawleft",middleheight,neutral);
+ animation[swordslashanim].Load((char *)"Data/Animations/swordslash",middleheight,normalattack);
+ animation[swordgroundstabanim].Load((char *)"Data/Animations/swordgroundstab",lowheight,normalattack);
+ animation[dodgebackanim].Load((char *)"Data/Animations/dodgeback",middleheight,neutral);
+ animation[swordsneakattackanim].Load((char *)"Data/Animations/Swordsneakattack",middleheight,reversal);
+ animation[swordsneakattackedanim].Load((char *)"Data/Animations/Swordsneakattacked",middleheight,reversed);
+ animation[swordslashreversedanim].Load((char *)"Data/Animations/swordslashCaught",middleheight,reversed);
+ animation[swordslashreversalanim].Load((char *)"Data/Animations/swordslashCatch",middleheight,reversal);
+ animation[knifeslashreversedanim].Load((char *)"Data/Animations/knifeslashCaught",middleheight,reversed);
+ animation[knifeslashreversalanim].Load((char *)"Data/Animations/knifeslashCatch",middleheight,reversal);
+ animation[swordfightidlebothanim].Load((char *)"Data/Animations/swordfightidleboth",middleheight,neutral);
+ animation[swordslashparryanim].Load((char *)"Data/Animations/sworduprightparry",middleheight,normalattack);
+ animation[swordslashparriedanim].Load((char *)"Data/Animations/swordslashparried",middleheight,normalattack);
+ animation[wolfidle].Load((char *)"Data/Animations/Wolfidle",middleheight,neutral);
+ animation[wolfcrouchanim].Load((char *)"Data/Animations/Wolfcrouch",lowheight,neutral);
+ animation[wolflandanim].Load((char *)"Data/Animations/Wolflanding",lowheight,neutral);
+ animation[wolflandhardanim].Load((char *)"Data/Animations/Wolflandhard",lowheight,neutral);
+ animation[wolfrunanim].Load((char *)"Data/Animations/Wolfrun",middleheight,neutral);
+ animation[wolfrunninganim].Load((char *)"Data/Animations/Wolfrunning",middleheight,neutral);
+ animation[rabbitrunninganim].Load((char *)"Data/Animations/Rabbitrunning",middleheight,neutral);
+ animation[wolfstopanim].Load((char *)"Data/Animations/Wolfstop",middleheight,neutral);
+ animation[rabbittackleanim].Load((char *)"Data/Animations/Rabbittackle",middleheight,neutral);
+ animation[rabbittacklinganim].Load((char *)"Data/Animations/Rabbittackling",middleheight,reversal);
+ animation[rabbittackledbackanim].Load((char *)"Data/Animations/Rabbittackledback",middleheight,reversed);
+ animation[rabbittackledfrontanim].Load((char *)"Data/Animations/Rabbittackledfront",middleheight,reversed);
+ animation[wolfslapanim].Load((char *)"Data/Animations/Wolfslap",middleheight,normalattack);
+ animation[staffhitanim].Load((char *)"Data/Animations/StaffHit",middleheight,normalattack);
+ animation[staffgroundsmashanim].Load((char *)"Data/Animations/StaffGroundSmash",lowheight,normalattack);
+ animation[staffspinhitanim].Load((char *)"Data/Animations/Spinwhack",middleheight,normalattack);
+ animation[staffhitreversedanim].Load((char *)"Data/Animations/StaffHitCaught",middleheight,reversed);
+ animation[staffhitreversalanim].Load((char *)"Data/Animations/StaffHitCatch",middleheight,reversal);
+ animation[staffspinhitreversedanim].Load((char *)"Data/Animations/SpinWhackCaught",middleheight,reversed);
+ animation[staffspinhitreversalanim].Load((char *)"Data/Animations/SpinWhackCatch",middleheight,reversal);
+
+ animation[sitanim].Load((char *)"Data/Animations/Sit",lowheight,neutral);
+ animation[sleepanim].Load((char *)"Data/Animations/Sleep",lowheight,neutral);
+ animation[talkidleanim].Load((char *)"Data/Animations/TalkIdle",middleheight,neutral);
+
+ animation[sitwallanim].Load((char *)"Data/Animations/Dying",lowheight,neutral);
+ animation[dead1anim].Load((char *)"Data/Animations/Dead1",lowheight,neutral);
+ animation[dead2anim].Load((char *)"Data/Animations/Dead2",lowheight,neutral);
+ animation[dead3anim].Load((char *)"Data/Animations/Dead3",lowheight,neutral);
+ animation[dead4anim].Load((char *)"Data/Animations/Dead4",lowheight,neutral);
//Fix knife stab, too lazy to do it manually
XYZ moveamount;
moveamount=0;
OPENAL_SetVolume(channels[stream_wind], 256);
}
- LoadTexture("/Data/Textures/snowtree.png",&objects.treetextureptr,0,1);
- LoadTexture("/Data/Textures/bushsnow.png",&objects.bushtextureptr,0,1);
- LoadTexture("/Data/Textures/bouldersnow.jpg",&objects.rocktextureptr,1,0);
- LoadTexture("/Data/Textures/snowbox.jpg",&objects.boxtextureptr,1,0);
+ LoadTexture("Data/Textures/snowtree.png",&objects.treetextureptr,0,1);
+ LoadTexture("Data/Textures/bushsnow.png",&objects.bushtextureptr,0,1);
+ LoadTexture("Data/Textures/bouldersnow.jpg",&objects.rocktextureptr,1,0);
+ LoadTexture("Data/Textures/snowbox.jpg",&objects.boxtextureptr,1,0);
OPENAL_Sample_Free(samp[footstepsound]);
OPENAL_Sample_Free(samp[footstepsound2]);
OPENAL_Sample_Free(samp[footstepsound3]);
OPENAL_Sample_Free(samp[footstepsound4]);
- samp[footstepsound] = OPENAL_Sample_Load(OPENAL_FREE, "/Data/Sounds/footstepsnow1.ogg", OPENAL_HW3D, 0, 0);
- samp[footstepsound2] = OPENAL_Sample_Load(OPENAL_FREE, "/Data/Sounds/footstepsnow2.ogg", OPENAL_HW3D, 0, 0);
- samp[footstepsound3] = OPENAL_Sample_Load(OPENAL_FREE, "/Data/Sounds/footstepstone1.ogg", OPENAL_HW3D, 0, 0);
- samp[footstepsound4] = OPENAL_Sample_Load(OPENAL_FREE, "/Data/Sounds/footstepstone2.ogg", OPENAL_HW3D, 0, 0);
+ samp[footstepsound] = OPENAL_Sample_Load(OPENAL_FREE, "Data/Sounds/footstepsnow1.ogg", OPENAL_HW3D, 0, 0);
+ samp[footstepsound2] = OPENAL_Sample_Load(OPENAL_FREE, "Data/Sounds/footstepsnow2.ogg", OPENAL_HW3D, 0, 0);
+ samp[footstepsound3] = OPENAL_Sample_Load(OPENAL_FREE, "Data/Sounds/footstepstone1.ogg", OPENAL_HW3D, 0, 0);
+ samp[footstepsound4] = OPENAL_Sample_Load(OPENAL_FREE, "Data/Sounds/footstepstone2.ogg", OPENAL_HW3D, 0, 0);
OPENAL_Sample_SetMinMaxDistance(samp[footstepsound], 4.0f, 1000.0f);
OPENAL_Sample_SetMinMaxDistance(samp[footstepsound2], 4.0f, 1000.0f);
OPENAL_Sample_SetMinMaxDistance(samp[footstepsound3], 4.0f, 1000.0f);
OPENAL_Sample_SetMinMaxDistance(samp[footstepsound4], 4.0f, 1000.0f);
- LoadTexture("/Data/Textures/snow.jpg",&terraintexture,1,0);
+ LoadTexture("Data/Textures/snow.jpg",&terraintexture,1,0);
- LoadTexture("/Data/Textures/rock.jpg",&terraintexture2,1,0);
+ LoadTexture("Data/Textures/rock.jpg",&terraintexture2,1,0);
- //LoadTexture("/Data/Textures/detailgrain.png",&terraintexture3,1);
+ //LoadTexture("Data/Textures/detailgrain.png",&terraintexture3,1);
temptexdetail=texdetail;
if(texdetail>1)texdetail=4;
- skybox.load( "/Data/Textures/Skybox(snow):Front.jpg",
- "/Data/Textures/Skybox(snow):Left.jpg",
- "/Data/Textures/Skybox(snow):Back.jpg",
- "/Data/Textures/Skybox(snow):Right.jpg",
- "/Data/Textures/Skybox(snow):Up.jpg",
- "/Data/Textures/Skybox(snow):Down.jpg",
- "/Data/Textures/Skybox(snow):Cloud.jpg",
- "/Data/Textures/Skybox(snow):Reflect.jpg");
+ skybox.load( "Data/Textures/Skybox(snow):Front.jpg",
+ "Data/Textures/Skybox(snow):Left.jpg",
+ "Data/Textures/Skybox(snow):Back.jpg",
+ "Data/Textures/Skybox(snow):Right.jpg",
+ "Data/Textures/Skybox(snow):Up.jpg",
+ "Data/Textures/Skybox(snow):Down.jpg",
+ "Data/Textures/Skybox(snow):Cloud.jpg",
+ "Data/Textures/Skybox(snow):Reflect.jpg");
if(environment==desertenvironment){
windvector=0;
windvector.z=2;
- LoadTexture("/Data/Textures/deserttree.png",&objects.treetextureptr,0,1);
- LoadTexture("/Data/Textures/bushdesert.png",&objects.bushtextureptr,0,1);
- LoadTexture("/Data/Textures/boulderdesert.jpg",&objects.rocktextureptr,1,0);
- LoadTexture("/Data/Textures/desertbox.jpg",&objects.boxtextureptr,1,0);
+ LoadTexture("Data/Textures/deserttree.png",&objects.treetextureptr,0,1);
+ LoadTexture("Data/Textures/bushdesert.png",&objects.bushtextureptr,0,1);
+ LoadTexture("Data/Textures/boulderdesert.jpg",&objects.rocktextureptr,1,0);
+ LoadTexture("Data/Textures/desertbox.jpg",&objects.boxtextureptr,1,0);
if(ambientsound){
OPENAL_Sample_Free(samp[footstepsound2]);
OPENAL_Sample_Free(samp[footstepsound3]);
OPENAL_Sample_Free(samp[footstepsound4]);
- samp[footstepsound] = OPENAL_Sample_Load(OPENAL_FREE, "/Data/Sounds/footstepsnow1.ogg", OPENAL_HW3D, 0, 0);
- samp[footstepsound2] = OPENAL_Sample_Load(OPENAL_FREE, "/Data/Sounds/footstepsnow2.ogg", OPENAL_HW3D, 0, 0);
- samp[footstepsound3] = OPENAL_Sample_Load(OPENAL_FREE, "/Data/Sounds/footstepsnow1.ogg", OPENAL_HW3D, 0, 0);
- samp[footstepsound4] = OPENAL_Sample_Load(OPENAL_FREE, "/Data/Sounds/footstepsnow2.ogg", OPENAL_HW3D, 0, 0);
+ samp[footstepsound] = OPENAL_Sample_Load(OPENAL_FREE, "Data/Sounds/footstepsnow1.ogg", OPENAL_HW3D, 0, 0);
+ samp[footstepsound2] = OPENAL_Sample_Load(OPENAL_FREE, "Data/Sounds/footstepsnow2.ogg", OPENAL_HW3D, 0, 0);
+ samp[footstepsound3] = OPENAL_Sample_Load(OPENAL_FREE, "Data/Sounds/footstepsnow1.ogg", OPENAL_HW3D, 0, 0);
+ samp[footstepsound4] = OPENAL_Sample_Load(OPENAL_FREE, "Data/Sounds/footstepsnow2.ogg", OPENAL_HW3D, 0, 0);
OPENAL_Sample_SetMinMaxDistance(samp[footstepsound], 4.0f, 1000.0f);
OPENAL_Sample_SetMinMaxDistance(samp[footstepsound2], 4.0f, 1000.0f);
OPENAL_Sample_SetMinMaxDistance(samp[footstepsound3], 4.0f, 1000.0f);
OPENAL_Sample_SetMinMaxDistance(samp[footstepsound4], 4.0f, 1000.0f);
- LoadTexture("/Data/Textures/sand.jpg",&terraintexture,1,0);
+ LoadTexture("Data/Textures/sand.jpg",&terraintexture,1,0);
- LoadTexture("/Data/Textures/sandslope.jpg",&terraintexture2,1,0);
+ LoadTexture("Data/Textures/sandslope.jpg",&terraintexture2,1,0);
- //LoadTexture("/Data/Textures/detailgrain.png",&terraintexture3,1);
+ //LoadTexture("Data/Textures/detailgrain.png",&terraintexture3,1);
temptexdetail=texdetail;
if(texdetail>1)texdetail=4;
- skybox.load( "/Data/Textures/Skybox(sand):Front.jpg",
- "/Data/Textures/Skybox(sand):Left.jpg",
- "/Data/Textures/Skybox(sand):Back.jpg",
- "/Data/Textures/Skybox(sand):Right.jpg",
- "/Data/Textures/Skybox(sand):Up.jpg",
- "/Data/Textures/Skybox(sand):Down.jpg",
- "/Data/Textures/Skybox(sand):Cloud.jpg",
- "/Data/Textures/Skybox(sand):Reflect.jpg");
+ skybox.load( "Data/Textures/Skybox(sand):Front.jpg",
+ "Data/Textures/Skybox(sand):Left.jpg",
+ "Data/Textures/Skybox(sand):Back.jpg",
+ "Data/Textures/Skybox(sand):Right.jpg",
+ "Data/Textures/Skybox(sand):Up.jpg",
+ "Data/Textures/Skybox(sand):Down.jpg",
+ "Data/Textures/Skybox(sand):Cloud.jpg",
+ "Data/Textures/Skybox(sand):Reflect.jpg");
if(environment==grassyenvironment){
windvector=0;
windvector.z=2;
- LoadTexture("/Data/Textures/tree.png",&objects.treetextureptr,0,1);
- LoadTexture("/Data/Textures/bush.png",&objects.bushtextureptr,0,1);
- LoadTexture("/Data/Textures/boulder.jpg",&objects.rocktextureptr,1,0);
- LoadTexture("/Data/Textures/grassbox.jpg",&objects.boxtextureptr,1,0);
+ LoadTexture("Data/Textures/tree.png",&objects.treetextureptr,0,1);
+ LoadTexture("Data/Textures/bush.png",&objects.bushtextureptr,0,1);
+ LoadTexture("Data/Textures/boulder.jpg",&objects.rocktextureptr,1,0);
+ LoadTexture("Data/Textures/grassbox.jpg",&objects.boxtextureptr,1,0);
if(ambientsound){
PlayStreamEx( stream_wind, strm[stream_wind], NULL, true);
OPENAL_Sample_Free(samp[footstepsound2]);
OPENAL_Sample_Free(samp[footstepsound3]);
OPENAL_Sample_Free(samp[footstepsound4]);
- samp[footstepsound] = OPENAL_Sample_Load(OPENAL_FREE, "/Data/Sounds/footstepgrass1.ogg", OPENAL_HW3D, 0, 0);
- samp[footstepsound2] = OPENAL_Sample_Load(OPENAL_FREE, "/Data/Sounds/footstepgrass2.ogg", OPENAL_HW3D, 0, 0);
- samp[footstepsound3] = OPENAL_Sample_Load(OPENAL_FREE, "/Data/Sounds/footstepstone1.ogg", OPENAL_HW3D, 0, 0);
- samp[footstepsound4] = OPENAL_Sample_Load(OPENAL_FREE, "/Data/Sounds/footstepstone2.ogg", OPENAL_HW3D, 0, 0);
+ samp[footstepsound] = OPENAL_Sample_Load(OPENAL_FREE, "Data/Sounds/footstepgrass1.ogg", OPENAL_HW3D, 0, 0);
+ samp[footstepsound2] = OPENAL_Sample_Load(OPENAL_FREE, "Data/Sounds/footstepgrass2.ogg", OPENAL_HW3D, 0, 0);
+ samp[footstepsound3] = OPENAL_Sample_Load(OPENAL_FREE, "Data/Sounds/footstepstone1.ogg", OPENAL_HW3D, 0, 0);
+ samp[footstepsound4] = OPENAL_Sample_Load(OPENAL_FREE, "Data/Sounds/footstepstone2.ogg", OPENAL_HW3D, 0, 0);
OPENAL_Sample_SetMinMaxDistance(samp[footstepsound], 4.0f, 1000.0f);
OPENAL_Sample_SetMinMaxDistance(samp[footstepsound2], 4.0f, 1000.0f);
OPENAL_Sample_SetMinMaxDistance(samp[footstepsound3], 4.0f, 1000.0f);
OPENAL_Sample_SetMinMaxDistance(samp[footstepsound4], 4.0f, 1000.0f);
- LoadTexture("/Data/Textures/grassdirt.jpg",&terraintexture,1,0);
+ LoadTexture("Data/Textures/grassdirt.jpg",&terraintexture,1,0);
- LoadTexture("/Data/Textures/mossrock.jpg",&terraintexture2,1,0);
+ LoadTexture("Data/Textures/mossrock.jpg",&terraintexture2,1,0);
- //LoadTexture("/Data/Textures/detail.png",&terraintexture3,1);
+ //LoadTexture("Data/Textures/detail.png",&terraintexture3,1);
temptexdetail=texdetail;
if(texdetail>1)texdetail=4;
- skybox.load( "/Data/Textures/Skybox(grass):Front.jpg",
- "/Data/Textures/Skybox(grass):Left.jpg",
- "/Data/Textures/Skybox(grass):Back.jpg",
- "/Data/Textures/Skybox(grass):Right.jpg",
- "/Data/Textures/Skybox(grass):Up.jpg",
- "/Data/Textures/Skybox(grass):Down.jpg",
- "/Data/Textures/Skybox(grass):Cloud.jpg",
- "/Data/Textures/Skybox(grass):Reflect.jpg");
+ skybox.load( "Data/Textures/Skybox(grass):Front.jpg",
+ "Data/Textures/Skybox(grass):Left.jpg",
+ "Data/Textures/Skybox(grass):Back.jpg",
+ "Data/Textures/Skybox(grass):Right.jpg",
+ "Data/Textures/Skybox(grass):Up.jpg",
+ "Data/Textures/Skybox(grass):Down.jpg",
+ "Data/Textures/Skybox(grass):Cloud.jpg",
+ "Data/Textures/Skybox(grass):Reflect.jpg");
}
temptexdetail=texdetail;
texdetail=1;
- terrain.load("/Data/Textures/heightmap.png");
+ terrain.load("Data/Textures/heightmap.png");
texdetail=temptexdetail;
}
void Game::Loadlevel(int which){
stealthloading=0;
- if(which==0)Loadlevel((char *)"/Data/Maps/map1");
- else if(which==1)Loadlevel((char *)"/Data/Maps/map2");
- else if(which==2)Loadlevel((char *)"/Data/Maps/map3");
- else if(which==3)Loadlevel((char *)"/Data/Maps/map4");
- else if(which==4)Loadlevel((char *)"/Data/Maps/map5");
- else if(which==5)Loadlevel((char *)"/Data/Maps/map6");
- else if(which==6)Loadlevel((char *)"/Data/Maps/map7");
- else if(which==7)Loadlevel((char *)"/Data/Maps/map8");
- else if(which==8)Loadlevel((char *)"/Data/Maps/map9");
- else if(which==9)Loadlevel((char *)"/Data/Maps/map10");
- else if(which==10)Loadlevel((char *)"/Data/Maps/map11");
- else if(which==11)Loadlevel((char *)"/Data/Maps/map12");
- else if(which==12)Loadlevel((char *)"/Data/Maps/map13");
- else if(which==13)Loadlevel((char *)"/Data/Maps/map14");
- else if(which==14)Loadlevel((char *)"/Data/Maps/map15");
- else if(which==15)Loadlevel((char *)"/Data/Maps/map16");
- else if(which==-1){tutoriallevel=-1;Loadlevel((char *)"/Data/Maps/tutorial");}
- else Loadlevel((char *)"/Data/Maps/mapsave");
+ if(which==0)Loadlevel((char *)"Data/Maps/map1");
+ else if(which==1)Loadlevel((char *)"Data/Maps/map2");
+ else if(which==2)Loadlevel((char *)"Data/Maps/map3");
+ else if(which==3)Loadlevel((char *)"Data/Maps/map4");
+ else if(which==4)Loadlevel((char *)"Data/Maps/map5");
+ else if(which==5)Loadlevel((char *)"Data/Maps/map6");
+ else if(which==6)Loadlevel((char *)"Data/Maps/map7");
+ else if(which==7)Loadlevel((char *)"Data/Maps/map8");
+ else if(which==8)Loadlevel((char *)"Data/Maps/map9");
+ else if(which==9)Loadlevel((char *)"Data/Maps/map10");
+ else if(which==10)Loadlevel((char *)"Data/Maps/map11");
+ else if(which==11)Loadlevel((char *)"Data/Maps/map12");
+ else if(which==12)Loadlevel((char *)"Data/Maps/map13");
+ else if(which==13)Loadlevel((char *)"Data/Maps/map14");
+ else if(which==14)Loadlevel((char *)"Data/Maps/map15");
+ else if(which==15)Loadlevel((char *)"Data/Maps/map16");
+ else if(which==-1){tutoriallevel=-1;Loadlevel((char *)"Data/Maps/tutorial");}
+ else Loadlevel((char *)"Data/Maps/mapsave");
whichlevel=which;
}
won=0;
//campaign=0;
- animation[bounceidleanim].Load((char *)"/Data/Animations/Idle",middleheight,neutral);
+ animation[bounceidleanim].Load((char *)"Data/Animations/Idle",middleheight,neutral);
numdialogues=0;
//if(Random()%2==0)player[i].creature=wolftype;
//else player[i].creature=rabbittype;
if(i==0&&mapvers<9)player[i].creature=rabbittype;
- if(player[i].creature!=wolftype)player[i].skeleton.Load((char *)"/Data/Skeleton/Basic Figure",(char *)"/Data/Skeleton/Basic Figurelow",(char *)"/Data/Skeleton/Rabbitbelt",(char *)"/Data/Models/Body.solid",(char *)"/Data/Models/Body2.solid",(char *)"/Data/Models/Body3.solid",(char *)"/Data/Models/Body4.solid",(char *)"/Data/Models/Body5.solid",(char *)"/Data/Models/Body6.solid",(char *)"/Data/Models/Body7.solid",(char *)"/Data/Models/Bodylow.solid",(char *)"/Data/Models/Belt.solid",0);
+ if(player[i].creature!=wolftype)player[i].skeleton.Load((char *)"Data/Skeleton/Basic Figure",(char *)"Data/Skeleton/Basic Figurelow",(char *)"Data/Skeleton/Rabbitbelt",(char *)"Data/Models/Body.solid",(char *)"Data/Models/Body2.solid",(char *)"Data/Models/Body3.solid",(char *)"Data/Models/Body4.solid",(char *)"Data/Models/Body5.solid",(char *)"Data/Models/Body6.solid",(char *)"Data/Models/Body7.solid",(char *)"Data/Models/Bodylow.solid",(char *)"Data/Models/Belt.solid",0);
else
{
if(player[i].creature!=wolftype){
- player[i].skeleton.Load((char *)"/Data/Skeleton/Basic Figure",(char *)"/Data/Skeleton/Basic Figurelow",(char *)"/Data/Skeleton/Rabbitbelt",(char *)"/Data/Models/Body.solid",(char *)"/Data/Models/Body2.solid",(char *)"/Data/Models/Body3.solid",(char *)"/Data/Models/Body4.solid",(char *)"/Data/Models/Body5.solid",(char *)"/Data/Models/Body6.solid",(char *)"/Data/Models/Body7.solid",(char *)"/Data/Models/Bodylow.solid",(char *)"/Data/Models/Belt.solid",1);
- LoadTexture("/Data/Textures/Belt.png",&player[i].skeleton.drawmodelclothes.textureptr,1,1);
+ player[i].skeleton.Load((char *)"Data/Skeleton/Basic Figure",(char *)"Data/Skeleton/Basic Figurelow",(char *)"Data/Skeleton/Rabbitbelt",(char *)"Data/Models/Body.solid",(char *)"Data/Models/Body2.solid",(char *)"Data/Models/Body3.solid",(char *)"Data/Models/Body4.solid",(char *)"Data/Models/Body5.solid",(char *)"Data/Models/Body6.solid",(char *)"Data/Models/Body7.solid",(char *)"Data/Models/Bodylow.solid",(char *)"Data/Models/Belt.solid",1);
+ LoadTexture("Data/Textures/Belt.png",&player[i].skeleton.drawmodelclothes.textureptr,1,1);
}
if(player[i].creature==wolftype){
- player[i].skeleton.Load((char *)"/Data/Skeleton/Basic Figure Wolf",(char *)"/Data/Skeleton/Basic Figure Wolf Low",(char *)"/Data/Skeleton/Rabbitbelt",(char *)"/Data/Models/Wolf.solid",(char *)"/Data/Models/Wolf2.solid",(char *)"/Data/Models/Wolf3.solid",(char *)"/Data/Models/Wolf4.solid",(char *)"/Data/Models/Wolf5.solid",(char *)"/Data/Models/Wolf6.solid",(char *)"/Data/Models/Wolf7.solid",(char *)"/Data/Models/Wolflow.solid",(char *)"/Data/Models/Belt.solid",0);
+ player[i].skeleton.Load((char *)"Data/Skeleton/Basic Figure Wolf",(char *)"Data/Skeleton/Basic Figure Wolf Low",(char *)"Data/Skeleton/Rabbitbelt",(char *)"Data/Models/Wolf.solid",(char *)"Data/Models/Wolf2.solid",(char *)"Data/Models/Wolf3.solid",(char *)"Data/Models/Wolf4.solid",(char *)"Data/Models/Wolf5.solid",(char *)"Data/Models/Wolf6.solid",(char *)"Data/Models/Wolf7.solid",(char *)"Data/Models/Wolflow.solid",(char *)"Data/Models/Belt.solid",0);
}
}
if(player[i].creature==rabbittype)
{
if(player[i].whichskin==0){
- LoadTextureSave("/Data/Textures/Fur3.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Fur3.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
}
else if(player[i].whichskin==1){
- LoadTextureSave("/Data/Textures/Fur.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Fur.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
}
else if(player[i].whichskin==2){
- LoadTextureSave("/Data/Textures/Fur2.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Fur2.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
}
else if(player[i].whichskin==3){
- LoadTextureSave("/Data/Textures/Lynx.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Lynx.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
}
else if(player[i].whichskin==4){
- LoadTextureSave("/Data/Textures/Otter.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Otter.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
}
else if(player[i].whichskin==5){
- LoadTextureSave("/Data/Textures/Opal.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Opal.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
}
else if(player[i].whichskin==6){
- LoadTextureSave("/Data/Textures/Sable.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Sable.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
}
else if(player[i].whichskin==7){
- LoadTextureSave("/Data/Textures/Chocolate.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Chocolate.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
}
else if(player[i].whichskin==8){
- LoadTextureSave("/Data/Textures/BW2.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/BW2.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
}
else if(player[i].whichskin==9){
- LoadTextureSave("/Data/Textures/WB2.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/WB2.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
}
}
if(player[i].creature==wolftype)
{
//k=abs(Random()%3);
if(player[i].whichskin==0){
- LoadTextureSave("/Data/Textures/Wolf.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Wolf.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
}
else if(player[i].whichskin==1){
- LoadTextureSave("/Data/Textures/Darkwolf.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Darkwolf.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
}
else if(player[i].whichskin==2){
- LoadTextureSave("/Data/Textures/Snowwolf.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Snowwolf.jpg",&player[i].skeleton.drawmodel.textureptr,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
}
}
player[i].proportionlegs.z=0;
}
- player[i].tempanimation.Load((char *)"/Data/Animations/Tempanim",0,0);
+ player[i].tempanimation.Load((char *)"Data/Animations/Tempanim",0,0);
player[i].headmorphness=0;
player[i].targetheadmorphness=1;
oldmusicvolume[3]=0;
- /*LoadTexture("/Data/Textures/cloud.png",&sprites.cloudtexture,1,1);
- LoadTexture("/Data/Textures/cloudimpact.png",&sprites.cloudimpacttexture,1,1);
- LoadTexture("/Data/Textures/bloodparticle.png",&sprites.bloodtexture,1,1);
- LoadTexture("/Data/Textures/snowflake.png",&sprites.snowflaketexture,1,1);
- LoadTexture("/Data/Textures/flame.png",&sprites.flametexture,1,1);
- LoadTexture("/Data/Textures/bloodflame.png",&sprites.bloodflametexture,1,1);
- LoadTexture("/Data/Textures/smoke.png",&sprites.smoketexture,1,1);
- LoadTexture("/Data/Textures/shine.png",&sprites.shinetexture,1,0);
+ /*LoadTexture("Data/Textures/cloud.png",&sprites.cloudtexture,1,1);
+ LoadTexture("Data/Textures/cloudimpact.png",&sprites.cloudimpacttexture,1,1);
+ LoadTexture("Data/Textures/bloodparticle.png",&sprites.bloodtexture,1,1);
+ LoadTexture("Data/Textures/snowflake.png",&sprites.snowflaketexture,1,1);
+ LoadTexture("Data/Textures/flame.png",&sprites.flametexture,1,1);
+ LoadTexture("Data/Textures/bloodflame.png",&sprites.bloodflametexture,1,1);
+ LoadTexture("Data/Textures/smoke.png",&sprites.smoketexture,1,1);
+ LoadTexture("Data/Textures/shine.png",&sprites.shinetexture,1,0);
*/
if(!firstload)
if(newscreenwidth<0)newscreenwidth=screenwidth;
if(newscreenheight<0)newscreenheight=screenheight;
- ofstream opstream(ConvertFileName("/Data/config.txt", "w"));
+ ofstream opstream(ConvertFileName("Data/config.txt", "w"));
opstream << "Screenwidth:\n";
opstream << newscreenwidth;
opstream << "\nScreenheight:\n";
if(newscreenheight<0)newscreenheight=screenheight;
- ofstream opstream(ConvertFileName("/Data/config.txt", "w"));
+ ofstream opstream(ConvertFileName("Data/config.txt", "w"));
opstream << "Screenwidth:\n";
opstream << newscreenwidth;
opstream << "\nScreenheight:\n";
if(newscreenwidth<0)newscreenwidth=screenwidth;
if(newscreenheight<0)newscreenheight=screenheight;
- ofstream opstream(ConvertFileName("/Data/config.txt", "w"));
+ ofstream opstream(ConvertFileName("Data/config.txt", "w"));
opstream << "Screenwidth:\n";
opstream << newscreenwidth;
opstream << "\nScreenheight:\n";
donesomething=1;
}*/
if(Compare(consoletext[0],"cellar door ",0,11)||Compare(consoletext[0],"cellardoor ",0,10)){
- LoadTextureSave("/Data/Textures/Furdarko.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Furdarko.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
donesomething=1;
}
/*if(Compare(consoletext[0],"Pants ",0,5)){
- AddClothes("/Data/Textures/Pants.png",0,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
+ AddClothes("Data/Textures/Pants.png",0,1,&player[i].skeleton.skinText[0],&player[i].skeleton.skinsize);
player[i].DoMipmaps(5,0,0,player[i].skeleton.skinsize,player[i].skeleton.skinsize);
donesomething=1;
}*/
player[0].numclothes=0;
if(player[0].whichskin==0){
- LoadTextureSave("/Data/Textures/Fur3.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Fur3.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
}
else if(player[0].whichskin==1){
- LoadTextureSave("/Data/Textures/Fur.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Fur.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
}
else if(player[0].whichskin==2){
- LoadTextureSave("/Data/Textures/Fur2.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Fur2.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
}
else if(player[0].whichskin==3){
- LoadTextureSave("/Data/Textures/Lynx.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Lynx.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
}
else if(player[0].whichskin==4){
- LoadTextureSave("/Data/Textures/Otter.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Otter.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
}
else if(player[0].whichskin==5){
- LoadTextureSave("/Data/Textures/Opal.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Opal.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
}
else if(player[0].whichskin==6){
- LoadTextureSave("/Data/Textures/Sable.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Sable.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
}
else if(player[0].whichskin==7){
- LoadTextureSave("/Data/Textures/Chocolate.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Chocolate.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
}
else if(player[0].whichskin==8){
- LoadTextureSave("/Data/Textures/BW2.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/BW2.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
}
else if(player[0].whichskin==9){
- LoadTextureSave("/Data/Textures/WB2.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/WB2.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
}
editoractive=typeactive;
}
player[closest].numclothes=0;
if(player[closest].whichskin==0){
- LoadTextureSave("/Data/Textures/Fur3.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Fur3.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==1){
- LoadTextureSave("/Data/Textures/Fur.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Fur.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==2){
- LoadTextureSave("/Data/Textures/Fur2.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Fur2.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==3){
- LoadTextureSave("/Data/Textures/Lynx.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Lynx.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==4){
- LoadTextureSave("/Data/Textures/Otter.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Otter.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==5){
- LoadTextureSave("/Data/Textures/Opal.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Opal.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==6){
- LoadTextureSave("/Data/Textures/Sable.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Sable.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==7){
- LoadTextureSave("/Data/Textures/Chocolate.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Chocolate.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==8){
- LoadTextureSave("/Data/Textures/BW2.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/BW2.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==9){
- LoadTextureSave("/Data/Textures/WB2.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/WB2.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
donesomething=1;
player[closest].numclothes=0;
if(player[closest].whichskin==0){
- LoadTextureSave("/Data/Textures/Fur3.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Fur3.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==1){
- LoadTextureSave("/Data/Textures/Fur.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Fur.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==2){
- LoadTextureSave("/Data/Textures/Fur2.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Fur2.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==3){
- LoadTextureSave("/Data/Textures/Lynx.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Lynx.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==4){
- LoadTextureSave("/Data/Textures/Otter.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Otter.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==5){
- LoadTextureSave("/Data/Textures/Opal.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Opal.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==6){
- LoadTextureSave("/Data/Textures/Sable.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Sable.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==7){
- LoadTextureSave("/Data/Textures/Chocolate.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Chocolate.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==8){
- LoadTextureSave("/Data/Textures/BW2.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/BW2.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==9){
- LoadTextureSave("/Data/Textures/WB2.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/WB2.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
donesomething=1;
if(Compare(consoletext[0],"funnybunny ",0,10)||Compare(consoletext[0],"funny bunny ",0,11)){
player[0].skeleton.id=0;
- player[0].skeleton.Load((char *)"/Data/Skeleton/Basic Figure",(char *)"/Data/Skeleton/Basic Figurelow",(char *)"/Data/Skeleton/Rabbitbelt",(char *)"/Data/Models/Body.solid",(char *)"/Data/Models/Body2.solid",(char *)"/Data/Models/Body3.solid",(char *)"/Data/Models/Body4.solid",(char *)"/Data/Models/Body5.solid",(char *)"/Data/Models/Body6.solid",(char *)"/Data/Models/Body7.solid",(char *)"/Data/Models/Bodylow.solid",(char *)"/Data/Models/Belt.solid",1);
- LoadTextureSave("/Data/Textures/fur3.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ player[0].skeleton.Load((char *)"Data/Skeleton/Basic Figure",(char *)"Data/Skeleton/Basic Figurelow",(char *)"Data/Skeleton/Rabbitbelt",(char *)"Data/Models/Body.solid",(char *)"Data/Models/Body2.solid",(char *)"Data/Models/Body3.solid",(char *)"Data/Models/Body4.solid",(char *)"Data/Models/Body5.solid",(char *)"Data/Models/Body6.solid",(char *)"Data/Models/Body7.solid",(char *)"Data/Models/Bodylow.solid",(char *)"Data/Models/Belt.solid",1);
+ LoadTextureSave("Data/Textures/fur3.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
player[0].creature=rabbittype;
player[0].scale=.2;
}
if(Compare(consoletext[0],"wolfieisgod ",0,11)||Compare(consoletext[0],"wolfie is god ",0,12)){
player[0].skeleton.id=0;
- player[0].skeleton.Load((char *)"/Data/Skeleton/Basic Figure Wolf",(char *)"/Data/Skeleton/Basic Figure Wolf Low",(char *)"/Data/Skeleton/Rabbitbelt",(char *)"/Data/Models/Wolf.solid",(char *)"/Data/Models/Wolf2.solid",(char *)"/Data/Models/Wolf3.solid",(char *)"/Data/Models/Wolf4.solid",(char *)"/Data/Models/Wolf5.solid",(char *)"/Data/Models/Wolf6.solid",(char *)"/Data/Models/Wolf7.solid",(char *)"/Data/Models/Wolflow.solid",(char *)"/Data/Models/Belt.solid",0);
- LoadTextureSave("/Data/Textures/Wolf.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ player[0].skeleton.Load((char *)"Data/Skeleton/Basic Figure Wolf",(char *)"Data/Skeleton/Basic Figure Wolf Low",(char *)"Data/Skeleton/Rabbitbelt",(char *)"Data/Models/Wolf.solid",(char *)"Data/Models/Wolf2.solid",(char *)"Data/Models/Wolf3.solid",(char *)"Data/Models/Wolf4.solid",(char *)"Data/Models/Wolf5.solid",(char *)"Data/Models/Wolf6.solid",(char *)"Data/Models/Wolf7.solid",(char *)"Data/Models/Wolflow.solid",(char *)"Data/Models/Belt.solid",0);
+ LoadTextureSave("Data/Textures/Wolf.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
player[0].creature=wolftype;
player[0].proportionhead=1.1;
donesomething=1;
}
/*if(Compare(consoletext[0],"kungfu ",0,6)||Compare(consoletext[0],"kung fu ",0,7)){
- LoadTextureSave("/Data/Textures/Kungfu.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Kungfu.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
donesomething=1;
}
if(Compare(consoletext[0],"rambo ",0,5)){
- LoadTextureSave("/Data/Textures/Leather.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Leather.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
donesomething=1;
}
if(Compare(consoletext[0],"david ",0,5)){
- LoadTextureSave("/Data/Textures/David.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/David.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
donesomething=1;
}*/
if(Compare(consoletext[0],"wolf ",0,4)){
- LoadTextureSave("/Data/Textures/Wolf.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Wolf.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
donesomething=1;
}
if(Compare(consoletext[0],"darkwolf ",0,8)){
- LoadTextureSave("/Data/Textures/DarkWolf.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/DarkWolf.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
donesomething=1;
}
if(Compare(consoletext[0],"snowwolf ",0,8)){
- LoadTextureSave("/Data/Textures/Snowwolf.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Snowwolf.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
donesomething=1;
}/*
if(Compare(consoletext[0],"lizardwolf ",0,10)){
- LoadTextureSave("/Data/Textures/Lizardwolf.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Lizardwolf.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
donesomething=1;
}*/
if(Compare(consoletext[0],"white ",0,5)){
- LoadTextureSave("/Data/Textures/fur.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/fur.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
donesomething=1;
}
if(Compare(consoletext[0],"brown ",0,5)){
- LoadTextureSave("/Data/Textures/fur3.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/fur3.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
donesomething=1;
}
if(Compare(consoletext[0],"black ",0,5)){
- LoadTextureSave("/Data/Textures/fur2.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/fur2.jpg",&player[0].skeleton.drawmodel.textureptr,1,&player[0].skeleton.skinText[0],&player[0].skeleton.skinsize);
donesomething=1;
}
if(consolechars[0]>0){
if(newscreenwidth<0)newscreenwidth=screenwidth;
if(newscreenheight<0)newscreenheight=screenheight;
- ofstream opstream(ConvertFileName("/Data/config.txt", "w"));
+ ofstream opstream(ConvertFileName("Data/config.txt", "w"));
opstream << "Screenwidth:\n";
opstream << newscreenwidth;
opstream << "\nScreenheight:\n";
if(player[closest].creature==rabbittype){
if(player[closest].whichskin==0){
- LoadTextureSave("/Data/Textures/Fur3.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Fur3.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==1){
- LoadTextureSave("/Data/Textures/Fur.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Fur.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==2){
- LoadTextureSave("/Data/Textures/Fur2.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Fur2.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==3){
- LoadTextureSave("/Data/Textures/Lynx.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Lynx.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==4){
- LoadTextureSave("/Data/Textures/Otter.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Otter.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==5){
- LoadTextureSave("/Data/Textures/Opal.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Opal.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==6){
- LoadTextureSave("/Data/Textures/Sable.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Sable.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==7){
- LoadTextureSave("/Data/Textures/Chocolate.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Chocolate.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==8){
- LoadTextureSave("/Data/Textures/BW2.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/BW2.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==9){
- LoadTextureSave("/Data/Textures/WB2.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/WB2.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
}
if(player[closest].creature==wolftype){
k=abs(Random()%3);
if(player[closest].whichskin==0){
- LoadTextureSave("/Data/Textures/Wolf.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Wolf.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==1){
- LoadTextureSave("/Data/Textures/Darkwolf.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Darkwolf.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
else if(player[closest].whichskin==2){
- LoadTextureSave("/Data/Textures/Snowwolf.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Snowwolf.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
}
}
}
if(player[closest].creature==rabbittype){
player[closest].skeleton.id=closest;
- player[closest].skeleton.Load((char *)"/Data/Skeleton/Basic Figure Wolf",(char *)"/Data/Skeleton/Basic Figure Wolf Low",(char *)"/Data/Skeleton/Rabbitbelt",(char *)"/Data/Models/Wolf.solid",(char *)"/Data/Models/Wolf2.solid",(char *)"/Data/Models/Wolf3.solid",(char *)"/Data/Models/Wolf4.solid",(char *)"/Data/Models/Wolf5.solid",(char *)"/Data/Models/Wolf6.solid",(char *)"/Data/Models/Wolf7.solid",(char *)"/Data/Models/Wolflow.solid",(char *)"/Data/Models/Belt.solid",0);
- LoadTextureSave("/Data/Textures/Wolf.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[closest],&player[closest].skeleton.skinsize);
+ player[closest].skeleton.Load((char *)"Data/Skeleton/Basic Figure Wolf",(char *)"Data/Skeleton/Basic Figure Wolf Low",(char *)"Data/Skeleton/Rabbitbelt",(char *)"Data/Models/Wolf.solid",(char *)"Data/Models/Wolf2.solid",(char *)"Data/Models/Wolf3.solid",(char *)"Data/Models/Wolf4.solid",(char *)"Data/Models/Wolf5.solid",(char *)"Data/Models/Wolf6.solid",(char *)"Data/Models/Wolf7.solid",(char *)"Data/Models/Wolflow.solid",(char *)"Data/Models/Belt.solid",0);
+ LoadTextureSave("Data/Textures/Wolf.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[closest],&player[closest].skeleton.skinsize);
player[closest].whichskin=0;
player[closest].creature=wolftype;
else
{
player[closest].skeleton.id=closest;
- player[closest].skeleton.Load((char *)"/Data/Skeleton/Basic Figure",(char *)"/Data/Skeleton/Basic Figurelow",(char *)"/Data/Skeleton/Rabbitbelt",(char *)"/Data/Models/Body.solid",(char *)"/Data/Models/Body2.solid",(char *)"/Data/Models/Body3.solid",(char *)"/Data/Models/Body4.solid",(char *)"/Data/Models/Body5.solid",(char *)"/Data/Models/Body6.solid",(char *)"/Data/Models/Body7.solid",(char *)"/Data/Models/Bodylow.solid",(char *)"/Data/Models/Belt.solid",1);
- LoadTextureSave("/Data/Textures/Fur3.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
+ player[closest].skeleton.Load((char *)"Data/Skeleton/Basic Figure",(char *)"Data/Skeleton/Basic Figurelow",(char *)"Data/Skeleton/Rabbitbelt",(char *)"Data/Models/Body.solid",(char *)"Data/Models/Body2.solid",(char *)"Data/Models/Body3.solid",(char *)"Data/Models/Body4.solid",(char *)"Data/Models/Body5.solid",(char *)"Data/Models/Body6.solid",(char *)"Data/Models/Body7.solid",(char *)"Data/Models/Bodylow.solid",(char *)"Data/Models/Belt.solid",1);
+ LoadTextureSave("Data/Textures/Fur3.jpg",&player[closest].skeleton.drawmodel.textureptr,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize);
player[closest].whichskin=0;
player[closest].creature=rabbittype;
/*
if(IsKeyDown(theKeyMap, MAC_S_KEY)&&IsKeyDown(theKeyMap, MAC_COMMAND_KEY)&&!slomotogglekeydown){
FILE *tfile;
- //tfile=fopen( "/Data/Maps/mapsave", "wb" );
- if(whichlevel==0)tfile=fopen( "/Data/Maps/map1", "wb" );
- else if(whichlevel==1)tfile=fopen( "/Data/Maps/map2", "wb" );
- else if(whichlevel==2)tfile=fopen( "/Data/Maps/map3", "wb" );
- else if(whichlevel==3)tfile=fopen( "/Data/Maps/map4", "wb" );
- else if(whichlevel==4)tfile=fopen( "/Data/Maps/map5", "wb" );
- else tfile=fopen( "/Data/Maps/mapsave", "wb" );
+ //tfile=fopen( "Data/Maps/mapsave", "wb" );
+ if(whichlevel==0)tfile=fopen( "Data/Maps/map1", "wb" );
+ else if(whichlevel==1)tfile=fopen( "Data/Maps/map2", "wb" );
+ else if(whichlevel==2)tfile=fopen( "Data/Maps/map3", "wb" );
+ else if(whichlevel==3)tfile=fopen( "Data/Maps/map4", "wb" );
+ else if(whichlevel==4)tfile=fopen( "Data/Maps/map5", "wb" );
+ else tfile=fopen( "Data/Maps/mapsave", "wb" );
fwrite( &player[0].coords, 1, sizeof(XYZ), tfile );
fwrite( &player[0].rotation, 1, sizeof(float), tfile );
player[numplayers].creature=rabbittype;
player[numplayers].howactive=editoractive;
player[numplayers].skeleton.id=numplayers;
- player[numplayers].skeleton.Load((char *)"/Data/Skeleton/Basic Figure",(char *)"/Data/Skeleton/Basic Figurelow",(char *)"/Data/Skeleton/Rabbitbelt",(char *)"/Data/Models/Body.solid",(char *)"/Data/Models/Body2.solid",(char *)"/Data/Models/Body3.solid",(char *)"/Data/Models/Body4.solid",(char *)"/Data/Models/Body5.solid",(char *)"/Data/Models/Body6.solid",(char *)"/Data/Models/Body7.solid",(char *)"/Data/Models/Bodylow.solid",(char *)"/Data/Models/Belt.solid",1);
+ player[numplayers].skeleton.Load((char *)"Data/Skeleton/Basic Figure",(char *)"Data/Skeleton/Basic Figurelow",(char *)"Data/Skeleton/Rabbitbelt",(char *)"Data/Models/Body.solid",(char *)"Data/Models/Body2.solid",(char *)"Data/Models/Body3.solid",(char *)"Data/Models/Body4.solid",(char *)"Data/Models/Body5.solid",(char *)"Data/Models/Body6.solid",(char *)"Data/Models/Body7.solid",(char *)"Data/Models/Bodylow.solid",(char *)"Data/Models/Belt.solid",1);
//texsize=512*512*3/texdetail/texdetail;
//if(!player[numplayers].loaded)player[numplayers].skeleton.skinText = new GLubyte[texsize];
k=abs(Random()%2)+1;
if(k==0){
- LoadTextureSave("/Data/Textures/Fur3.jpg",&player[numplayers].skeleton.drawmodel.textureptr,1,&player[numplayers].skeleton.skinText[0],&player[numplayers].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Fur3.jpg",&player[numplayers].skeleton.drawmodel.textureptr,1,&player[numplayers].skeleton.skinText[0],&player[numplayers].skeleton.skinsize);
player[numplayers].whichskin=0;
}
else if(k==1){
- LoadTextureSave("/Data/Textures/Fur.jpg",&player[numplayers].skeleton.drawmodel.textureptr,1,&player[numplayers].skeleton.skinText[0],&player[numplayers].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Fur.jpg",&player[numplayers].skeleton.drawmodel.textureptr,1,&player[numplayers].skeleton.skinText[0],&player[numplayers].skeleton.skinsize);
player[numplayers].whichskin=1;
}
else {
- LoadTextureSave("/Data/Textures/Fur2.jpg",&player[numplayers].skeleton.drawmodel.textureptr,1,&player[numplayers].skeleton.skinText[0],&player[numplayers].skeleton.skinsize);
+ LoadTextureSave("Data/Textures/Fur2.jpg",&player[numplayers].skeleton.drawmodel.textureptr,1,&player[numplayers].skeleton.skinText[0],&player[numplayers].skeleton.skinsize);
player[numplayers].whichskin=2;
}
- LoadTexture("/Data/Textures/Belt.png",&player[numplayers].skeleton.drawmodelclothes.textureptr,1,1);
+ LoadTexture("Data/Textures/Belt.png",&player[numplayers].skeleton.drawmodelclothes.textureptr,1,1);
player[numplayers].power=1;
player[numplayers].speedmult=1;
player[numplayers].currentanimation=bounceidleanim;
player[numplayers].proportionlegs.z=0;
}
- player[numplayers].tempanimation.Load((char *)"/Data/Animations/Tempanim",0,0);
+ player[numplayers].tempanimation.Load((char *)"Data/Animations/Tempanim",0,0);
player[numplayers].damagetolerance=200;
startbonustotal=0;
- ifstream ipstream(ConvertFileName("/Data/Campaigns:main.txt"));
+ ifstream ipstream(ConvertFileName("Data/Campaigns:main.txt"));
//campaignnumlevels=0;
//accountcampaignchoicesmade[accountactive]=0;
ipstream.ignore(256,':');