Results 1 to 10 of 64

Thread: SDL 2.0 Headers for [Object] Pascal?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Quote Originally Posted by BeRo View Post
    Here my also-SDL20-staticlink-capable SDL 2.0 (and SDL 1.2 hybrid per IFDEF) headers, which I've made in early 2012 for my c64 emulator Micro64 ( http://www.micro64.de ) on base of the old SDL 1.2 headers: http://rootserver.rosseaux.net/stuff/sdl.pas
    Hey thanks, but why is SDL_BLITSURFACE commented out? There seems also no SDL_LOADBMP in SDL2.0? Is this not available anymore or just missing in your header?
    Best regards,
    Cybermonkey

  2. #2
    Quote Originally Posted by Cybermonkey View Post
    Hey thanks, but why is SDL_BLITSURFACE commented out? There seems also no SDL_LOADBMP in SDL2.0? Is this not available anymore or just missing in your header?
    SDL_BLITSURFACE = SDL_UPPERBLIT;

    But SDL_LOADBMP is there. (I have translated it in my header)

  3. #3
    Hm, I got:
    Target OS: Win32 for i386
    Compiling sdl2test.pas
    Compiling sdl.pas
    sdl2test.pas(14,21) Error: Identifier not found "SDL_LOADBMP"
    sdl2test.pas(59) Fatal: There were 1 errors compiling module, stopping
    Fatal: Compilation aborted
    Also a text research shows SDL_LOADBMP in the 1.2 part.
    Best regards,
    Cybermonkey

  4. #4
    Quote Originally Posted by Cybermonkey View Post
    Hm, I got:

    Also a text research shows SDL_LOADBMP in the 1.2 part.
    Well, try with my headers, it should work.

  5. #5
    Quote Originally Posted by End View Post
    Well, try with my headers, it should work.
    Oh, sorry, I tried the header from BeRo, but in your headers SDL_DELAY is missing. Seems I have to wait a little bit longer until they are finished.
    Best regards,
    Cybermonkey

  6. #6
    Quote Originally Posted by Cybermonkey View Post
    Oh, sorry, I tried the header from BeRo, but in your headers SDL_DELAY is missing. Seems I have to wait a little bit longer until they are finished.
    Yes, today I'll translate sdl_timer => SDL_DELAY.

  7. #7
    Quote Originally Posted by End View Post
    Yes, today I'll translate sdl_timer => SDL_DELAY.
    Well, this was fast. SDL_Timer.h is translated, so you can access now SDL_Delay and the other Time-Functions.

  8. #8
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    Wow this effort is moving really fast. Nice work guys!
    Jason McMillen
    Pascal Game Development
    Co-Founder





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
  •