Search:

Type: Posts; User: Christian Knudsen

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. So updating the compiler from 2.4.0 to 2.6.0 and...

    So updating the compiler from 2.4.0 to 2.6.0 and also not compiling with any debug information seems to have fixed the issue. Weird.
  2. Man, this sure is weird. His system can compress...

    Man, this sure is weird. His system can compress a file that already exists, but if the code has to create the file first, it doesn't work.


    PROGRAM compressiontest;

    USES sdl, zipper;

    VAR...
  3. The report back is that my code can definitely...

    The report back is that my code can definitely access the .dat file with FileExists(), so that's not it. :(
  4. Yeah, it does seem like TZipper can't read the...

    Yeah, it does seem like TZipper can't read the save file. I've sent an executable that tests the path/file name to the user with the issue.
  5. paszlib on Linux 64-bit creates empty archive

    I'm working on a game where I use paszlib to compress the save files. This works fine on the Windows and Linux setups I've tested it on myself, but a user reported that the game crashed whenever he...
  6. It was the texture's internal format. I had to...

    It was the texture's internal format. I had to change it to GL_RGBA instead of 4.
  7. GL_INVALID_OPERATION at glFramebufferTexture2DEXT

    I'm trying to get a basic FBO up and running, but I'm getting a GL_INVALID_OPERATION error when trying to assign a texture to the FBO. I'm on WindowsXP and am programming in Freepascal with SDL as...
  8. Replies
    1
    Views
    606

    Never mind. I'm an idiot. :s

    Never mind. I'm an idiot. :s
  9. Replies
    1
    Views
    606

    QWord bug?

    I'm using fpc version 2.4.4 on Windows XP 32-bit.

    When run, this small piece of code produces exitcode=215:



    PROGRAM test;

    VAR x : byte;
    y : qword;
  10. Never mind. I figured it out. It's bitwise, of...

    Never mind. I figured it out. It's bitwise, of course.
  11. Can't get SDL_APPINPUTFOCUS to work

    I'm using FreePascal with SDL and am trying to keep track of whether or not my program has mouse and input focus and whether or not it's minimized. Keeping track of mouse focus seems to work fine,...
  12. Replies
    26
    Views
    1,689

    I might end up doing this if the current code...

    I might end up doing this if the current code becomes a bottleneck. The code is only called very rarely during runtime, though, (once whenever a weapon has ended firing to check if the light source...
  13. Replies
    26
    Views
    1,689

    Doing the *10 and Round() when comparing the...

    Doing the *10 and Round() when comparing the value is fine, since I'm just doing the compare once. And I don't really need the 100% correct float value when passing it in the gl call -- it doesn't...
  14. Replies
    26
    Views
    1,689

    Without getting into too many details of my...

    Without getting into too many details of my program, the piece of code posted here was used to check whether or not that particular light source in the game belonged to the firing of a weapon (not...
  15. Replies
    26
    Views
    1,689

    ...and that would be my situation. :)

    ...and that would be my situation. :)
  16. Replies
    26
    Views
    1,689

    Ouch. That's a bad bug to have in your CPU! I'm...

    Ouch. That's a bad bug to have in your CPU! I'm sure somebody lost their job over this! :D

    I believe my old computer was a Pentium 90MHz. Didn't really experience any problems with this, though,...
  17. Replies
    26
    Views
    1,689

    Nah, I'm on a Celeron. Yeah, I went the...

    Nah, I'm on a Celeron.



    Yeah, I went the Round() way. It's not a problem at all, but it just made me curious as to the cause of it and the internal workings of the CPU.
  18. Replies
    26
    Views
    1,689

    Thanks for the reply. I understand why the...

    Thanks for the reply. I understand why the computer wouldn't be able to hold an infinite amount of decimal points, but when given the simple number of 0.3 with just one decimal, it just seems weird...
  19. Replies
    26
    Views
    1,689

    Yep, that's what I did instead. Everything's...

    Yep, that's what I did instead. Everything's working now. :)

    I'm still wondering from a purely computer hardware standpoint why an absolute float value isn't guaranteed. Anybody have some...
  20. Replies
    6
    Views
    682

    Thanks. I'll send both code_glitch and WILL a PM.

    Thanks. I'll send both code_glitch and WILL a PM.
  21. Replies
    26
    Views
    1,689

    Interesting! And thanks for the replies! So,...

    Interesting! And thanks for the replies!

    So, when you assign the value 0.3 to a real, you can't be 100% sure that it actually gets the precise value? That seems a bit odd.


    EDIT: Still doesn't...
  22. Replies
    6
    Views
    682

    Hehe, it's not really that. I just want to change...

    Hehe, it's not really that. I just want to change my user name to my real name. :)
  23. Replies
    6
    Views
    682

    Member user name change?

    Is it possible to change your user name here? If so, how?
  24. Replies
    26
    Views
    1,689

    Weird problem with real variable

    Sorry about the vague topic title, but I have no idea what's going on here and was therefor not able to give a more precise topic title. Anyway...

    I'm programming in FreePascal 2.2.2 on Win32 and...
  25. Cross-compiling in Free Pascal for the Pandora

    Anybody have any experience with cross-compiling in Free Pascal (either Windows or Linux) for the Pandora handheld? I'm looking into compiling my game for this system but have been unable to find any...
Results 1 to 25 of 111
Page 1 of 5 1 2 3 4
http://flippulseimages.com/Tech/hunting---wallpaper.html