dev.gamez.lv Forum Index dev.gamez.lv
Latvian Game Developers Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 

speeles karte

 
dev.gamez.lv Forum Index -> Programmēšana
View previous topic :: View next topic  
Author Message
xerox
Guest





PostPosted: Sat Oct 15, 2005 3:54 pm    Post subject: speeles karte

Kaadam ir kaadi linki par to kaa var uztaisiit savu karshu ielaadeetaaju?
Ir tas pats BSP, bet man vajag kaut ko stirpri parastaaku. Lai glabaa tikai verticies. un tad ar kaut kaadu triangle strip visu uzrednereet.
Back to top
elvman
Indago Uzvarētājs
Indago Uzvarētājs


Joined: 09 Apr 2003
Posts: 1278
Location: Kuldiga

PostPosted: Sat Oct 15, 2005 7:13 pm    Post subject:

Buus jaataisa pasham savs formaats.

Piemeers:
Code:
FILE *pFile=fopen("level.map","wb");
if (pFile)
{
fwrite(pVertices,nVertexCount,1,pFile);//nVertices - vertexi, nVertexCount - vertexu skaits
fclose(pFile);
}

Ljoti primitiivs piemeers bet no taa vajadzeetu saakt.
_________________
long time; /* know C */
Back to top
View user's profile Visit poster's website
Display posts from previous:   
dev.gamez.lv Forum Index -> Programmēšana All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group