• Lucid Dreaming - Dream Views




    Results 1 to 25 of 34

    Thread: C++ Problem

    Hybrid View

    1. #1
      Banned
      Join Date
      May 2007
      LD Count
      Loads
      Gender
      Location
      Digital Forest.
      Posts
      6,864
      Likes
      386
      Oh okay.

      Well I sure hope it did as it's a game engine for a video game that was once produced

      A few other people have managed to get it working, but I have limited contact with them.

    2. #2
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935
      I think most games are written in .NET which means a M$ compiler. I'm not sure if you can get that for free.

    3. #3
      Banned
      Join Date
      May 2007
      LD Count
      Loads
      Gender
      Location
      Digital Forest.
      Posts
      6,864
      Likes
      386
      All .NET compilers have a free version.

      But this is an old game, from the late 90's - early 00's; It still has support for VooDoo cards and Glide.

      All it uses is C++, inline asm, DirectX, and Glide.

    4. #4
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935
      Never even seen the Glide API I do everything in OpenGL.

      Try fixing the _asm{} to _asm_{} and then see if it works.

    5. #5
      Banned
      Join Date
      May 2007
      LD Count
      Loads
      Gender
      Location
      Digital Forest.
      Posts
      6,864
      Likes
      386
      I did, same thing. :-/

    6. #6
      Banned
      Join Date
      May 2007
      LD Count
      Loads
      Gender
      Location
      Digital Forest.
      Posts
      6,864
      Likes
      386
      Okay, I changed everything to asm, and it says "expected asm body before '{'

      I'm still using these:

      Code:
      asm {
             mov      edi, DestAddr
             mov      ecx, MixLen
             mov      esi, SrcAddr
           }

    7. #7
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935
      asm is a single command in GCC. There needs to be a semicolon after it.

      EDIT: Also, I'm pretty sure that they are parenthesis, not braces.

    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
    •