SDL or Allegro

This is a discussion on SDL or Allegro within the Game Programming forums, part of the General Programming Boards category; Originally Posted by bithub I did not say SDL is not a library. I said it was not a graphics ...

  1. #16
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    Quote Originally Posted by bithub
    I did not say SDL is not a library. I said it was not a graphics library.
    my point still stands. If a library can be used for graphics, it is totaly legit to call it a graphics library.

  2. #17
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,801
    Actully I belive that both Allegro and SDL use DirectX for windows graphics but even though I still think they are libraries like perspective said
    Woop?

  3. #18
    ---
    Join Date
    May 2004
    Posts
    1,379
    If it is not a library, then what would you call it, bithub?

    www.libsdl.org

    Simple DirectMedia Layer is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used by MPEG playback software, emulators, and many popular games, including the award winning Linux port of "Civilization: Call To Power."

  4. #19
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,584
    Allegro uses DX? Now I've heard everything.

  5. #20
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Well, I am pretty sure that SDL is not dependant on any other libraries except when it comes to 3d. SDL gets access to 3d hardware by going through OpenGL. But other than that its functions and the low-level things they do are completely independant.

    [note] These are my personal opinions and should not be held against me [/note]
    What is C++?

  6. #21
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    If you check out the source to SDL, you'll find out it uses DirectX if that is available and if not goes with GDI instead. This is all under Win32 of course and I'm not sure what it uses under the other platforms.

  7. #22
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,801
    Taken From Allegro's website http://www.talula.demon.co.uk/allegr...en/readme.html
    # DOS graphics drivers for VGA mode 13h, mode-X (twenty three tweaked VGA resolutions plus unchained 640x400 Xtended mode), and SVGA modes with 8, 15, 16, 24, and 32 bit color depths, taking full advantage of VBE 2.0 linear framebuffers and the VBE/AF hardware accelerator API if they are available. Additional video hardware support is available from the FreeBE/AF project (http://www.talula.demon.co.uk/freebe/).
    # Windows graphics drivers using DirectX in fullscreen and windowed modes, plus routines for drawing onto GDI device contexts.
    # Unix graphics drivers for X, DGA, fbcon, SVGAlib, VBE/AF, mode-X, and standard VGA.
    # BeOS graphics drivers using BWindowScreen in fullscreen and BDirectWindow in windowed modes.
    # MacOS X native graphics drivers using CGDirectDisplay API for direct fullscreen gfx access and QuickDraw in a Cocoa window in windowed mode.
    400th post Party?
    Woop?

  8. #23
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Well, isnt this interesting.

    I guess it stands to reason. I just really had no idea. I have used allegro, and now that I think of it allegro does have 3d support, so that could be routed through DirectX.

    Ah, the truths are uncovered.
    What is C++?

  9. #24
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,801
    Actully if you want to do 3d in Allegro You would use allegroGL which uses big shocker OpenGL I think that Allegro just uses the 2d stuff of DX same with SDL
    Woop?

  10. #25
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Oh this is confusing...

    Next you'll tell me that I can use directX with DevCpp...
    Oh the humanity.

    I think im just going to stick with a WinAPI/OpenGL combo...
    What is C++?

  11. #26
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,801
    Actully you can use direct x with dev-c++ but hey openGL and win32 is not a bad combo even though i can't do it
    Woop?

  12. #27
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Actully you can use direct x with dev-c++
    Holy mother of shiznit... I give up..
    What is C++?

  13. #28
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,801
    Im sorry i ruinied your day but heres a link to a whole bunch of add-ons to Dev I gave it out earlier in rod's thread but you should check it too http://devpaks.org/
    Woop?

  14. #29
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,584
    Geez people just get MSVC, dump DOS, Allegro and all that and choose:

    OpenGL or Direct3D.

    It's that simple.

  15. #30
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Well, unless we start some kind of fund raiser for vicious, MSVC is out of the question.

    And I do choose OpenGL, I fins it quite wonderful. I would try DirectX but its hard to find any up-to-date tutorials that will work with the 9 SDK and I havent quite gotten it set up with Dev yet either.
    What is C++?

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. SDL or Allegro: Difficult decision
    By Chris87 in forum C Programming
    Replies: 14
    Last Post: 01-04-2009, 09:53 PM
  2. Allegro And SDL
    By 7EVEN in forum Game Programming
    Replies: 5
    Last Post: 08-10-2005, 10:22 AM
  3. SDL or Allegro
    By fungus_mungus in forum Game Programming
    Replies: 7
    Last Post: 04-02-2005, 12:18 PM
  4. Crossplatform Sound Library -- other than SDL and Allegro
    By frenchfry164 in forum Game Programming
    Replies: 4
    Last Post: 10-14-2003, 04:27 PM
  5. Allegro or SDL?
    By napkin111 in forum Game Programming
    Replies: 11
    Last Post: 11-01-2002, 06:08 PM

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