Hi everyone
I'm looking at the code for HGE (Game engine) and i noticed this:
[pascal]
THGEIntState = (
HGE_SCREENWIDTH = 9, // int screen width (default: 800)
HGE_SCREENHEIGHT = 10, // int screen height (default: 600)
HGE_SCREENBPP = 11, // int screen bitdepth (default: 32) (desktop bpp in windowed mode)
HGE_SAMPLERATE = 19, // int sample rate (default: 44100)
HGE_FXVOLUME = 20, // int global fx volume (default: 100)
HGE_MUSVOLUME = 21, // int global music volume (default: 100)
HGE_FPS = 23, // int fixed fps (default: HGEFPS_UNLIMITED)
HGEINTSTATE_FORCE_DWORD = $7FFFFFF
);
[/pascal]
Notice the HGEINTSTATE_FORCE_DWORD. What does it do??
I've also seen this in the Direct3d headers. Here is the C++ def for D3DCULL:
Can someone explain what FORCE_DWORD is for?Code:typedef enum D3DCULL { D3DCULL_NONE = 1, D3DCULL_CW = 2, D3DCULL_CCW = 3, D3DCULL_FORCE_DWORD = 0x7fffffff, } D3DCULL, *LPD3DCULL;
thank you.![]()


Reply With Quote

