This Trac instance is not used for development anymore!

We migrated our development workflow to git and Gitea.
To test the future redirection, replace trac by ariadne in the page URL.

Changeset 322 for ps


Ignore:
Timestamp:
05/30/04 02:46:58 (21 years ago)
Author:
janwas
Message:

ran everything though mark's newline stomper.

Location:
ps/trunk/source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/source/graphics/Model.cpp

    r317 r322  
    265265{
    266266    // 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);
    273268
    274269    // check if we're already using this point, and replace
  • ps/trunk/source/lib/sysdep/win/wposix.cpp

    r277 r322  
    263263
    264264__declspec(naked) pthread_t pthread_self(void)
    265 { __asm jmp     dword ptr [GetCurrentThreadId] }
     265{ __asm jmp     dword ptr [GetCurrentThread] }
    266266
    267267
  • ps/trunk/source/main.cpp

    r309 r322  
    421421}
    422422
    423 extern "C" char* _getcwd(char*, int);
    424423
    425424int main(int argc, char* argv[])
     
    427426    const int ERR_MSG_SIZE = 1000;
    428427    wchar_t err_msg[ERR_MSG_SIZE];
    429 
    430 
    431 
    432 
    433428
    434429    lib_init();
     
    440435
    441436    detect();
    442 
    443 
    444437
    445438    // init SDL
     
    515508    }
    516509
     510
    517511    new CConfig;
    518512
     
    520514    vfs_mount("", "mods/official/", 0);
    521515////    dir_add_watch("mods\\official", false);
     516
     517
     518//Handle xx = tex_load("art/textures/skins/structural/null.png");
    522519
    523520#ifndef NO_GUI
     
    559556
    560557    g_EntityTemplateCollection.loadTemplates();
    561 
    562 
    563558
    564559
  • ps/trunk/source/renderer/Renderer.cpp

    r317 r322  
    109109    m_Options.m_NoVBO=false;
    110110    m_Options.m_NoPBuffer=false;
    111     m_Options.m_Shadows=false;
     111    m_Options.m_Shadows=true;
    112112    m_Options.m_ShadowColor=RGBColor(0.4f,0.4f,0.4f);
    113113}
     
    837837void CRenderer::RenderModelsStreams(u32 streamflags)
    838838{
     839    glMatrixMode(GL_MODELVIEW);
     840
    839841    for (uint i=0;i<m_Models.size();++i) {
    840842        CModel* model=m_Models[i];
     
    13451347    }
    13461348}
    1347 
Note: See TracChangeset for help on using the changeset viewer.