api game programming

This is a discussion on api game programming within the Windows Programming forums, part of the Platform Specific Boards category; how far does the winapi get as far as game programming without directx? does it even support 3d?...

  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    127

    api game programming

    how far does the winapi get as far as game programming without directx? does it even support 3d?

  2. #2
    Registered Abuser
    Join Date
    Jun 2006
    Location
    Toronto
    Posts
    591
    Windows GDI
    and OpenGL of course, but only if you're not using Vista (which translates OpenGL into DirectX10)

  3. #3
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    versions prior to vista support OpenGL directly, vista just translates it, which effectively makes OpenGL slower on vista than on other operating systems all else being the same.

    Any particular reason to avoid DIrectX?
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

  4. #4
    Registered User
    Join Date
    Jun 2008
    Posts
    127
    i dont really want to get to serious in game programming and i dont think it it would be worth it just for the basic games i want to make with just the api...

  5. #5
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,543
    Your best bet is to dive into OpenGL/DirectX, even with simple games. It will benefit in the long run and you understand the API more fully then.
    Windows GDI is complex and wasn't designed for game programming.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how do the game engine and the api interact?
    By Shadow12345 in forum Game Programming
    Replies: 9
    Last Post: 12-07-2010, 11:08 PM
  2. Need book to program game into multiplayer...
    By edomingox in forum Game Programming
    Replies: 3
    Last Post: 10-02-2008, 09:26 AM
  3. HELP!wanting to make full screen game windowed
    By rented in forum Game Programming
    Replies: 3
    Last Post: 06-11-2004, 04:19 AM
  4. Text Based Game, Windows API.
    By Pendragon_Tl in forum Windows Programming
    Replies: 3
    Last Post: 10-23-2002, 09:39 PM
  5. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-24-2002, 11:00 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21