Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Updated JEDI-SDL.inc for D2009

  1. #11

    Updated JEDI-SDL.inc for D2009

    done and tested on Mac OS X,i just need to apply it to sourceforge.
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

  2. #12

    Re: Updated JEDI-SDL.inc for D2009

    You have to declare an AnsiString first, since now there is a native UNICODE support on Delphi 2009. Like in this example :

    procedure Dummy;
    var
    name : AnsiString;
    begin
    name := 'Projet SDL';
    SDL_WM_SetCaption(PAnsiChar(name), nil);
    end;

  3. #13

    Re: Updated JEDI-SDL.inc for D2009

    Jedi-SDL work in Delphi 2010 ?

    I will upgrade my games to SDL and Delphi 2010, but I do not know if SDL works with delphi 2010.

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

  4. #14

    Re: Updated JEDI-SDL.inc for D2009

    Add this to jedi-sdl.inc to get it working with D2010:
    Code:
    {$IFDEF ver210}
      {$DEFINE Delphi}   {Delphi 2009}
      {$DEFINE Delphi32}
      {$DEFINE Delphi4UP}
      {$DEFINE Delphi5UP}
      {$DEFINE Delphi6UP}
      {$DEFINE Delphi7UP}
      {$DEFINE Delphi8UP}
      {$DEFINE Delphi9UP}
      {$DEFINE Delphi10UP}
      {$DEFINE Delphi11UP}
      {$DEFINE Delphi12UP}
      {$DEFINE Delphi14UP}
      {$WARN UNSAFE_TYPE OFF} {Disable warning for unsafe types in Delphi 7}
      {$DEFINE Has_Int64}
      {$DEFINE HAS_TYPES}
    {$ENDIF ver210}
    Vampyre Imaging Library
    Earth Under Fire (PGD Big Boss 3rd place)
    Domains Of Chaos (PGD Multiplexity 5th place)

  5. #15
    Seems like this new .inc is not included in the latest JEDI-SDL version. Or at least I didn't find it.

    Now trying to copy the changes to my jedi-sdl.inc and prep it for D2010.

    Also, I noticed that the source-code in the start-post is mangled. Probably caused by the forum migration. I've encountered the same issue in other threads and PM's aswell. Is there a tool to get the original code back?
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

Page 2 of 2 FirstFirst 12

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
  •