Results 1 to 10 of 15

Thread: Csfml.pas

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #8
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    Hey there piradyne - took the liberty of modifying your header so it plays nice on linux and with the default library layout. I stuck in a tar.gz up here: https://www.dropbox.com/s/yiv2r0m13j...csfml_2.tar.gz

    I put the testbed program in it too along with the assets it needs. I should point out the .so files in there are for csfml2 for 64 bit gcc. If you're on a 32 bit box - you're going to want to replace 'em for the appropriate versions.

    And a quick screenie of everything working more or less as it should: Screenshot-1.jpg

    Edit: Almost forgot to look at this keyboard problem... Be right back with an update once I have that nailed

    Edit2: Solved it!

    Code:
    type     
      TsfKeyCode = longword;
    And in the testbed:
    Code:
    writeln('KeyCode: ',SwapEndian(event.key.code));
    It has an offset of 1 but I guess you can't get everything XD
    Last edited by code_glitch; 05-07-2014 at 02:27 PM.
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

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
  •