Search:

Type: Posts; User: Muphin

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    891

    I remember hearing about that before a while...

    I remember hearing about that before a while back. I'm having a problem with it though.

    I'm running gentoo linux using kdevelop to write my app, and I don't think I have the vector include file. I...
  2. Replies
    3
    Views
    891

    Many Values to One Index

    Hi,

    I want to take all my SDL_Surface values and put them into one value with an index for every SDL_Surface I have, so that I can put them through a for loop.

    This might be impossible, but I'm...
  3. Replies
    2
    Views
    2,849

    http://www.andytather.co.uk/Panda/directxmax.aspx...

    http://www.andytather.co.uk/Panda/directxmax.aspx

    I use that, and it says it supports DX 9, which is the sdk I'm using.
  4. Replies
    2
    Views
    2,849

    3D Studio Max with .X files

    I've tried the pandasoft exporter, and the SDK exporter, but both of them give me the same error.

    I created a box, added a gradient texture, then exported it, but when I try to load it in the...
  5. Replies
    2
    Views
    3,705

    Yeah, I have a header and cpp for direct input...

    Yeah, I have a header and cpp for direct input just to make it easier, ill post them here



    //CInput8.cpp

    #include "CInput8.h"

    LPDIRECTINPUT lpdi;
    LPDIRECTINPUTDEVICE m_keyboard;
  6. Replies
    2
    Views
    3,705

    DirectInput help

    Ive got a problem with using keyUp and keyDown.

    I want a frame to move when the key is down, but have it stop when the key is released, not when the key is just up.

    How do I do this?
  7. Thread: Illegal Operand

    by Muphin
    Replies
    5
    Views
    1,626

    Now my compiler says that the identifier pow...

    Now my compiler says that the identifier pow could not be found.
  8. Thread: Illegal Operand

    by Muphin
    Replies
    5
    Views
    1,626

    Illegal Operand

    Drag = 0.5*p*v^2*A*Cd/100;


    the nature of this calculation isnt important, but what is important is that when this is compiled, I get an error saying

    '^': Illegal, left operand has type...
  9. Replies
    8
    Views
    1,026

    I was discussing this with a friend who knows a...

    I was discussing this with a friend who knows a little bit of C++.

    He says I should use classes, not structs. I think its a good idea.

    One thing he suggested is an accesser function, he says...
  10. Replies
    8
    Views
    1,026

    How so? all my directX frames need a name of...

    How so? all my directX frames need a name of their own. (the frame variable is inside the struct, plus a few values that I need to get.)
  11. Replies
    8
    Views
    1,026

    Yes, I could do this, but then I'd have to call...

    Yes, I could do this, but then I'd have to call the function hundreds of times, for every struct I have.
  12. Replies
    8
    Views
    1,026

    That isnt gonna work, I need cpp #2 to go through...

    That isnt gonna work, I need cpp #2 to go through every struct that was made in cpp #1 (there will be a lot) and read it's float value. If I extern them, I'd have to manually type in the name of the...
  13. Replies
    8
    Views
    1,026

    Getting Struct Variables

    I've tried posting this before, but I wasn't very clear.

    I have two cpp files, and two headers.

    both the cpp files include the headers of the other cpp files, so every function in each cpp can...
  14. Thread: Air Resistance?

    by Muphin
    Replies
    5
    Views
    4,672

    Ugh, this is informative, but confusing. I've...

    Ugh, this is informative, but confusing. I've learnt that the total force is equal to the mass of the object times acceleration due to gravity (9.81).

    So I figure I'd have to give each frame a...
  15. Thread: Air Resistance?

    by Muphin
    Replies
    5
    Views
    4,672

    Air Resistance?

    I'm still working on my game engine. I have gravity down, but now I need air resistance so that my objects can reach terminal velocity.

    My objects' shapes and sizes will vary, so I want air...
  16. Thread: Struct Values

    by Muphin
    Replies
    5
    Views
    2,464

    That does it, but brings up more problems. ...

    That does it, but brings up more problems.

    I'm using the struct not only for variables, but for DirectX frames.

    Now in the cpp where I create them, I create more than one of them, and with a...
  17. Thread: Struct Values

    by Muphin
    Replies
    5
    Views
    2,464

    Struct Values

    I defined a struct in a header file.

    And now in a cpp file that includes that header, I want to access the struct's values.

    These variables were given values in another cpp file that includes...
  18. Replies
    10
    Views
    3,477

    bump

    bump
  19. Replies
    10
    Views
    3,477

    It looks there like you're setting the weight to...

    It looks there like you're setting the weight to 1.1, I dont want that. See I will have many frame structs, with many different weights, so I want it to find the weight variable that I declared in a...
  20. Replies
    10
    Views
    3,477

    Correct, I just want to be able to access that...

    Correct, I just want to be able to access that variable, everything else works fine.
  21. Replies
    10
    Views
    3,477

    Heres my function void...

    Heres my function



    void Phy_Weight(LPDIRECT3DRMFRAME frScene, LPDIRECT3DRMFRAME Camera){
    LPDIRECT3DRMFRAMEARRAY SceneArray;
    FrameStruct frFrame;
    D3DVECTOR vectPos;
    D3DVECTOR vectVel;
  22. Replies
    10
    Views
    3,477

    i know what types they are, floating points.

    i know what types they are, floating points.
  23. Replies
    10
    Views
    3,477

    Get all values from a struct

    I made a function in a cpp file that needs to get a float value that is declared and defined in different cpp files and is inside a struct.

    It's a directX program I'm making, and I can get the...
  24. Replies
    4
    Views
    2,098

    GetElement is just a function included with the...

    GetElement is just a function included with the SDK, I have no idea where to find the code.

    And as for the basic physics, I don't won't to go thorugh with anything too complicated, I think just...
  25. Replies
    4
    Views
    2,098

    Physics Engine Problem

    I'm trying to make my own basic physics engine, featuring gravity, collision detection, and hopefully some ragdoll. This engine is made in directX 9 in case you didn't notice.

    My problem is with...
Results 1 to 25 of 33
Page 1 of 2 1 2