Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: kake_fisk

Search: Search took 0.01 seconds.

  1. Thread: MP3 ID3 Tags

    by kake_fisk
    Replies
    5
    Views
    1,903

    Re: MP3 ID3 Tags

    I'm not completely with you now.
  2. Thread: MP3 ID3 Tags

    by kake_fisk
    Replies
    5
    Views
    1,903

    MP3 ID3 Tags

    How can I get the ID3 Tags from an mp3 file in c++?
  3. Replies
    7
    Views
    923

    Re: Add struct members at runtime

    This is my first game I've made in C++ and I've learnt while making it. (It's not finished)
    For now I'll just add extra variables to all objects, but just use them for my necessary one.
    In my next...
  4. Replies
    3
    Views
    1,626

    Re: Execute php page without opening browser

    I don't want to access the database. I want to add entries to the highscore.
    But if this is hard to achieve. I can just make a weak encryption.
  5. Replies
    3
    Views
    1,626

    Execute php page without opening browser

    Is it possible to execute a php page without opening a browser?
    I'm making online highscores with php.
    But I want to execute this page from a c++ game without opening any browser.
    This will...
  6. Replies
    5
    Views
    2,598

    Re: How to get the cpu information on linux

    @Mkumar
    You have a couple of windows only header files in your code like windows.h and winbase.h.
    I'm pretty sure you can't use these on linux.
    I'm not very known with the various header files...
  7. Replies
    7
    Views
    923

    Re: Add struct members at runtime

    So when using public Object, the Monster struct will also get an x and y property?
  8. Replies
    7
    Views
    923

    Add struct members at runtime

    How can I add struct member types at runtime in C++?
    Say this is my struct:



    struct Object
    {
    int x;
    int y;
    } spot = { 20, 40 };
  9. Replies
    3
    Views
    485

    Re: Directory variables

    Well, actually I just want to make a string that contains the path where the executable is located.
  10. Replies
    3
    Views
    485

    Directory variables

    Is there any variables in C++ like working_directory or program_directory?
  11. Re: Collision detection between a rectangle and line

    Ohh, that's a smart solution.
    It worked like a charm. Thanks.

    I'm sorry for explaining so bad in the first post.
    Thanks to everybody who posted in here.
  12. Re: Collision detection between a rectangle and line

    Oh, that's no problem.
    The object has a xprevious and yprevious property that updates automatically.
  13. Replies
    2
    Views
    3,845

    Re: What is UNC path?

    http://en.wikipedia.org/wiki/Path_(computing)#Uniform_Naming_Convention :)
  14. Re: Collision detection between a rectangle and line

    Well, I still have a problem understanding, sorry.
    But I think I can simplify this even more.

    I have stored the objects Bounding boxes like this:

    GameObject& a = obj_player;
    GameObject& b =...
  15. Replies
    10
    Views
    581

    Re: Defined value as function parameter

    There's no problem, I solved it by using unsigned int.
    But I just said I didn't want to change to #define HWSURFACE 1 or const int HWSURFACE = 0x00000001.

    Thanks for the help, the problem is...
  16. Re: Collision detection between a rectangle and line

    Oh, sorry if I posted too little information.
    My game is a 2D top down game. It has very simple rectangular sprites.
    The blocks are not moving (not really).
    I'm just not so good in math and i...
  17. Replies
    10
    Views
    581

    Re: Defined value as function parameter

    Good ideas, but I don't want to change it.
    Because It's from "SDL_video.h". It's a header file that comes with SDL. I don't want to go in and change it.
  18. Collision detection between a rectangle and line

    How can i check if a rectangle (the player) have collided with a line?
  19. Replies
    10
    Views
    581

    Re: Defined value as function parameter

    Thanks that worked! =D
    What is an unsigned int by the way?
  20. Replies
    10
    Views
    581

    Re: Defined value as function parameter

    The code above is unfinished.
    I want to add a parameter that either takes values like SDL_HWSURFACE or 0x00000001.
    But to do that i need to give the parameter a type. I don't know which type that...
  21. Replies
    10
    Views
    581

    Defined value as function parameter

    I'm making a function for resizing my SDL window.
    This is the code:



    void window_resize(int width, int height)
    {
    screen = SDL_SetVideoMode(width, height, SCREEN_BPP, SDL_HWSURFACE);
    }
  22. Replies
    5
    Views
    4,383

    Re: OpenGL fixed window size

    Try this:

    glutReshapeFunc(NULL);

    I'm not sure if it will work..
  23. Replies
    1
    Views
    2,382

    [SDL] My sprite doesn't move.

    Hi, i'm quite new to SDL, but i have some problems moving the sprite on keypress.
    Here's my code:


    #ifdef __cplusplus
    #include <cstdlib>
    #else
    #include <stdlib.h>
    #endif
    #ifdef...
Results 1 to 23 of 23


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center