Changeset 180


Ignore:
Timestamp:
Aug 28, 2010, 7:19:16 PM (10 years ago)
Author:
sam
Message:

Fix a few minor FIXMEs in the code.

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bitfield.h

    r150 r180  
    1111#if !defined __DH_BITFIELD_H__
    1212#define __DH_BITFIELD_H__
     13
     14#include <stdint.h>
    1315
    1416template class BitField<unsigned int COUNT>
     
    3739
    3840private:
    39     /* FIXME: use uint32_t here instead */
    40     unsigned int bits[(COUNT + 31) / 32];
     41    uint32_t bits[(COUNT + 31) / 32];
    4142};
    4243
  • trunk/src/gtk/glmapview.cpp

    r177 r180  
    101101    }
    102102
    103     // FIXME: do not do anything if the previous tick was too recent?
    104103    ticking = TRUE;
    105104
     
    155154        while (g_main_context_iteration(NULL, FALSE))
    156155            ;
     156
     157        // FIXME: do some GTK stuff in here
    157158        Ticker::ClampFps(1000.0f / FPS);
    158159    }
  • trunk/src/timer.cpp

    r174 r180  
    6868            cycles0 = cycles;
    6969        towait = deltams - ret;
    70         if (towait > 5e-4f) // FIXME: use native Win32 stuff
     70        if (towait > 5e-4f)
    7171            Sleep((int)(towait + 0.5f));
    7272#else
Note: See TracChangeset for help on using the changeset viewer.