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

visātrākie kompilēšanas uzstādījumi vc++2k5e
Goto page Previous  1, 2, 3, 4  Next
 
dev.gamez.lv Forum Index -> Programmēšana
View previous topic :: View next topic  
Author Message
snake5
Indago dalībnieks
Indago dalībnieks


Joined: 27 Jun 2007
Posts: 2590

PostPosted: Wed Oct 03, 2007 6:24 pm    Post subject:

tas ir lēni Sad nvidia perfkit īsti neder ar GM progu... nu bbet kkkkkas cccits aaatliek Sad
_________________
"There are two choices here: "looks good" and "realism"." -- Paul Nettle
Back to top
View user's profile Visit poster's website
snake5
Indago dalībnieks
Indago dalībnieks


Joined: 27 Jun 2007
Posts: 2590

PostPosted: Wed Oct 03, 2007 7:26 pm    Post subject:

oi psc! debug konsole, kurā ir d3d callu logs, man apstādina gm progu!
mož ir vēl kāda iespēja uzzināt / kāds profileris?
_________________
"There are two choices here: "looks good" and "realism"." -- Paul Nettle
Back to top
View user's profile Visit poster's website
snake5
Indago dalībnieks
Indago dalībnieks


Joined: 27 Jun 2007
Posts: 2590

PostPosted: Wed Oct 03, 2007 7:33 pm    Post subject:


te grafisks attēlojums tai kadru raustīšanai! kādas idejas?
_________________
"There are two choices here: "looks good" and "realism"." -- Paul Nettle
Back to top
View user's profile Visit poster's website
DeRatizators



Joined: 27 Apr 2006
Posts: 492

PostPosted: Wed Oct 03, 2007 9:19 pm    Post subject:

Kad sāksi izmantot īstu grafisko dzini ?
_________________
Any PANCAKE has to be long and thin and short and fat. Not to mention being an excellent insulator and a superb conductor.
Back to top
View user's profile
snake5
Indago dalībnieks
Indago dalībnieks


Joined: 27 Jun 2007
Posts: 2590

PostPosted: Wed Oct 03, 2007 9:39 pm    Post subject:

ārprāc! cik reizes jau esmu skaidrojis: šī ir mana pēdējā spēle uz GM tāpēc PLZZ help ar šo problēmu!
_________________
"There are two choices here: "looks good" and "realism"." -- Paul Nettle
Back to top
View user's profile Visit poster's website
snake5
Indago dalībnieks
Indago dalībnieks


Joined: 27 Jun 2007
Posts: 2590

PostPosted: Thu Oct 04, 2007 7:50 pm    Post subject:

ew, te būs manuprāt vislēnākais kods:
(ja ir #define Xp extern "C" __declspec(dllexport) )
http://paste.php.lv/6192
plzz look & debug!
_________________
"There are two choices here: "looks good" and "realism"." -- Paul Nettle
Back to top
View user's profile Visit poster's website
bubu
Indago Uzvarētājs
Indago Uzvarētājs


Joined: 23 Mar 2004
Posts: 3223
Location: Riga

PostPosted: Thu Oct 04, 2007 8:57 pm    Post subject:

extern "C" norāda kompilētājam, ka nav jāveic funkcijas vārda mangling. Tas jādara tāpēc, ka citas valodas (ne-C++) var nesaprast C++ valodā izmantotās fīčas - templeitus, funkciju overloadingu, operatorus, utt.
__declspec(dllexport) norāda linkerim, ka nav jāeksportē šis simbols no dll faila.

snake5 wrote:
plzz look & debug!

debug yourself. Mums nav tava izpildāmā faila un koda, ko debugot un profilēt.
Back to top
View user's profile Send e-mail
snake5
Indago dalībnieks
Indago dalībnieks


Joined: 27 Jun 2007
Posts: 2590

PostPosted: Thu Oct 04, 2007 9:08 pm    Post subject:

bubu wrote:
extern "C" norāda kompilētājam, ka nav jāveic funkcijas vārda mangling. Tas jādara tāpēc, ka citas valodas (ne-C++) var nesaprast C++ valodā izmantotās fīčas - templeitus, funkciju overloadingu, operatorus, utt.
__declspec(dllexport) norāda linkerim, ka nav jāeksportē šis simbols no dll faila.

snake5 wrote:
plzz look & debug!

debug yourself. Mums nav tava izpildāmā faila un koda, ko debugot un profilēt.
man tikai vajag zināt, kas tajās funkcijās varētu būt lēns!
varbūt exports + tikai double priekš argumentiem, kuri piespiedu kārtā jāpārvērš float'os, ir lēni!
_________________
"There are two choices here: "looks good" and "realism"." -- Paul Nettle
Back to top
View user's profile Visit poster's website
Vecais_Dumais_Laacis
Guru
Guru


Joined: 29 Jan 2004
Posts: 800

PostPosted: Thu Oct 04, 2007 9:28 pm    Post subject:

sneik, nopietni. beidz lietot to ko lieto vai arii padalies.

izveic taksh profilingu vienreiz. un nevis grafikai bet kodam. tad zinaasi kur visvairaak laiks tiek pavadiits.
_________________
...un ja bites buutu laachi...
Back to top
View user's profile
snake5
Indago dalībnieks
Indago dalībnieks


Joined: 27 Jun 2007
Posts: 2590

PostPosted: Thu Oct 04, 2007 9:30 pm    Post subject:

ar ko izvilkt? un kā? man ir tikai vc2k5express, tur nav iekšā profilera
_________________
"There are two choices here: "looks good" and "realism"." -- Paul Nettle
Back to top
View user's profile Visit poster's website
Kamazs
Guru
Guru


Joined: 17 Jan 2003
Posts: 829
Location: The glorious ancient city of Loja

PostPosted: Fri Oct 05, 2007 9:26 am    Post subject:

sneik, tu jau kļūsti nekaunīgs -- viena lieta ir jautāt padomu, cita -- pieprasīt, lai citi visu izdara tavā vietā.

Un nevajag gvelzt par to, ka nav profailera, imo pavisam nesen bubu kaut kur meta linkus uz visādiem profaileriem vai arī ja nemeta, tad ASK GOOGLE.
_________________
...un es uzskatu, ka Fallout ir etalons
Back to top
View user's profile Send e-mail Visit poster's website
EDDY



Joined: 07 Oct 2005
Posts: 1610
Location: Dzimtā zeme, Latvija

PostPosted: Fri Oct 05, 2007 2:05 pm    Post subject:

Snake5, uzliec to bildi nākošreiz uz kādu imageshack serveri, slinkums vēl kačāt bildi, kuru es būtu varējis ātri apskatīt.
_________________
Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday
Back to top
View user's profile
snake5
Indago dalībnieks
Indago dalībnieks


Joined: 27 Jun 2007
Posts: 2590

PostPosted: Sat Oct 06, 2007 3:53 pm    Post subject:

ehh, nu ok...
manliekas, ka es pa brīvdienu izvilku problēmas cēloni un taisos to likvidēt
cēlonis: neŽēlīgi lielais externālo call'u skaits
_________________
"There are two choices here: "looks good" and "realism"." -- Paul Nettle
Back to top
View user's profile Visit poster's website
snake5
Indago dalībnieks
Indago dalībnieks


Joined: 27 Jun 2007
Posts: 2590

PostPosted: Sat Oct 06, 2007 9:02 pm    Post subject:

man vajag noapaļot skaitli
float...
double...
ar 100daļu precizitāti... kā? ātri?
_________________
"There are two choices here: "looks good" and "realism"." -- Paul Nettle
Back to top
View user's profile Visit poster's website
bubu
Indago Uzvarētājs
Indago Uzvarētājs


Joined: 23 Mar 2004
Posts: 3223
Location: Riga

PostPosted: Sat Oct 06, 2007 9:24 pm    Post subject:

floor(x*100 + 50.0)/100.0
Back to top
View user's profile Send e-mail
Display posts from previous:   
dev.gamez.lv Forum Index -> Programmēšana All times are GMT + 2 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
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