Page 7 of 7 FirstFirst ... 567
Results 61 to 64 of 64

Thread: SDL 2.0 Headers for [Object] Pascal?

  1. #61
    This is my SDL2 for Delphi XE4 with support for MACOS: http://www.remakesonline.com/descargas/SDL2.zip

    Only work with latest SDL2 library (
    Sun Aug 18 2013) because SDL_CreateWindow now return new param between "title" and "x" param ¿?.

    It include:
    Code:
    sdl2.inc
     SDL2.pas
     SDL2_Image.pas
     SDL2_Mixer.pas
     SDL2_Net.pas
     SDL2_Ttf.pas

    Kotai
    Last edited by kotai; 27-08-2013 at 08:04 PM.
    www.kotai.es
    www.remakesonline.com -> Nemesis Online & Bubble Bobble Online & Castlevania Online & Penguin Adventure Online
    www.miniracingonline.com

  2. #62
    Now my headers should work with Delphi + MacOS, too. Could you test them, kotai?

  3. #63
    Hi.

    I don't test (I use last sdl.dll and I have more functions and my test program not work) but I think it not work because you can no add "_" at begin of function names:

    My SDL:
    Code:
    function SDL_Init(flags: UInt32): SInt32 cdecl; external SDL_LibName {$IFDEF MACOS} name '_SDL_Init' {$ENDIF};
    Your SDL:
    Code:
    function SDL_Init(flags: UInt32): SInt32 cdecl; external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name 'SDL_Init' {$ENDIF} {$ENDIF};
    In name '_SDL_Init' you put name 'SDL_Init' without "_"

    Kotai.
    www.kotai.es
    www.remakesonline.com -> Nemesis Online & Bubble Bobble Online & Castlevania Online & Penguin Adventure Online
    www.miniracingonline.com

  4. #64

Page 7 of 7 FirstFirst ... 567

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •