Type: Posts; User: thedodgeruk

Search: Search took 0.01 seconds.

  1. dxgi.dll is taking all my render time , help please

    hi there
    i have a odd problem , i have written a game engine for a project , when i run an analizer from visual studio over it .
    and my loop 47% off the time , now thisis after loading , so the...
  2. Replies

    parse a template class via xml

    i cant see how its possible but would like to make sure

    i am using an xml parser to set up a game scene
    but need to be able to do

  3. Replies

    cheers , it looks like is the same thing as...

    cheers , it looks like is the same thing as templates , dont seam to like it when you put them in the cpp file
  4. Replies

    tryed making a it a static and got exact same...

    tryed making a it a static and got exact same thing
  5. Replies

    sort with vector pointers

    bool MySort(CModel* entity1 , CModel* entity2)
    return entity1->m_pDiffuseMap < entity2->m_pDiffuseMap;


    std::sort (m_modelvector.begin(), m_modelvector.end(), MySort);
  6. Replies

    visual studio probelm i think

    when i complie i get this message now
    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppClean.targets(74,5): warning : Access to the path 'D:\3rd year project entity ver 1 -...
  7. need a random number generator thats not compleatly random

    i have seen a diagram in a book many years ago to do with curves.

    say i want to random generate a number between 1 and 10 , there is more chance of it picking a lower number than a high number...
  8. keep getting "groupProjectDebug.exe has triggered a breakpoint" but there is none ??

    i keep getting:

    groupProjectDebug.exe has triggered a breakpoint

    but there are no break points in the program , i have tryed putting one in and then

    delete all break points but this...
  9. cheers , i made it protected , i thought what...

    cheers , i made it protected , i thought what i wanted was not possible , was trying to make it like the way a singleton works , but could not get it right :)
  10. just the constructor

    just the constructor
  11. how to make an inherited constructor private?

    i have a base class and every thing is inherited from it .

    i want to make that base class private but when i try the inherited class complains when it trys to pass arguments back to it from when...
  12. no , erm . when you start using the methods ,...

    no , erm .

    when you start using the methods , intellesences comes up telling you what kind of arguments are needed to be filled in , but there is also a way that more informartion can be...
  13. how do get help up when you create your own methods

    im using visual studio 2010

    im creating methods in a class.

    when i access the methods, i would like not only intelesence to help me compleate the methods i am calling but also some kind of...
  14. is there an easy way to find funtions that never get called?

    i have finished my ai program , and i needs cleaning up , i think there might be some functions that are declared but never called anywere.

    is there an easy way to find them
  15. Replies

    trying to return an array of floats

    float& GetMatrix(IModel* model)
    float matrix[4][4]; //// not my code
    model->GetMatrix( &matrix[0][0] ); // not my code

    return &matrix;

  16. Replies

    transfer a vector into a matrix

    i have a vector and want to transfer it to a matrix.

    its a directional vector for moving localZ.

    so i put it into matrix[2][0] and matrix[2][1] and matrix[2][2] //Z

    so when i move...
  17. when creating a class, what order do you put things in?

    i take it is



    but is it methods or members first
  18. Replies

    pointers to funtions

    i have this code

    #include <stdio.h>
    #include <iostream>
    using namespace std;

    void DisplayMine()
  19. Replies

    memory leak , help please?

    #include <iostream>
    #include <string>
    #include <deque>
    using namespace std;

    #define _CRTDBG_MAP_ALLOC
    #include <crtdbg.h>

    struct myStruct
Results 1 to 19 of 19