- Timestamp:
- 05/30/04 02:46:58 (21 years ago)
- Location:
- ps/trunk/source
- Files:
-
- 4 edited
-
graphics/Model.cpp (modified) (1 diff)
-
lib/sysdep/win/wposix.cpp (modified) (1 diff)
-
main.cpp (modified) (6 diffs)
-
renderer/Renderer.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/source/graphics/Model.cpp
r317 r322 265 265 { 266 266 // position model according to prop point position 267 CMatrix3D proptransform=point->m_Transform;; 268 if (m_BoneMatrices && point->m_BoneIndex!=0xff) { 269 proptransform.Concatenate(m_BoneMatrices[point->m_BoneIndex]); 270 } 271 proptransform.Concatenate(m_Transform); 272 model->SetTransform(proptransform); 267 model->SetTransform(point->m_Transform); 273 268 274 269 // check if we're already using this point, and replace -
ps/trunk/source/lib/sysdep/win/wposix.cpp
r277 r322 263 263 264 264 __declspec(naked) pthread_t pthread_self(void) 265 { __asm jmp dword ptr [GetCurrentThread Id] }265 { __asm jmp dword ptr [GetCurrentThread] } 266 266 267 267 -
ps/trunk/source/main.cpp
r309 r322 421 421 } 422 422 423 extern "C" char* _getcwd(char*, int);424 423 425 424 int main(int argc, char* argv[]) … … 427 426 const int ERR_MSG_SIZE = 1000; 428 427 wchar_t err_msg[ERR_MSG_SIZE]; 429 430 431 432 433 428 434 429 lib_init(); … … 440 435 441 436 detect(); 442 443 444 437 445 438 // init SDL … … 515 508 } 516 509 510 517 511 new CConfig; 518 512 … … 520 514 vfs_mount("", "mods/official/", 0); 521 515 //// dir_add_watch("mods\\official", false); 516 517 518 //Handle xx = tex_load("art/textures/skins/structural/null.png"); 522 519 523 520 #ifndef NO_GUI … … 559 556 560 557 g_EntityTemplateCollection.loadTemplates(); 561 562 563 558 564 559 -
ps/trunk/source/renderer/Renderer.cpp
r317 r322 109 109 m_Options.m_NoVBO=false; 110 110 m_Options.m_NoPBuffer=false; 111 m_Options.m_Shadows= false;111 m_Options.m_Shadows=true; 112 112 m_Options.m_ShadowColor=RGBColor(0.4f,0.4f,0.4f); 113 113 } … … 837 837 void CRenderer::RenderModelsStreams(u32 streamflags) 838 838 { 839 glMatrixMode(GL_MODELVIEW); 840 839 841 for (uint i=0;i<m_Models.size();++i) { 840 842 CModel* model=m_Models[i]; … … 1345 1347 } 1346 1348 } 1347
Note:
See TracChangeset
for help on using the changeset viewer.
