mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-16 02:34:08 +00:00
tried to fix some half-pixel bugs
This commit is contained in:
parent
c076998ba3
commit
1b5616688e
3 changed files with 23 additions and 16 deletions
|
@ -31,6 +31,7 @@
|
|||
#define HIERNODEID(hier, i) ((hier)->nodeInfo[i].id)
|
||||
#define HANIMFRAMES(anim) ((anim)->keyframes)
|
||||
#else
|
||||
#define RWHALFPIXEL // always d3d
|
||||
#define STREAMPOS(str) ((str)->Type.memory.position)
|
||||
#define STREAMFILE(str) ((str)->Type.file.fpFile)
|
||||
#define HIERNODEINFO(hier) ((hier)->pNodeInfo)
|
||||
|
@ -38,6 +39,12 @@
|
|||
#define HANIMFRAMES(anim) ((anim)->pFrames)
|
||||
#endif
|
||||
|
||||
#ifdef RWHALFPIXEL
|
||||
#define HALFPX (0.5f)
|
||||
#else
|
||||
#define HALFPX (0.0f)
|
||||
#endif
|
||||
|
||||
#define rwVENDORID_ROCKSTAR 0x0253F2
|
||||
|
||||
// Get rid of bullshit windows definitions, we're not running on an 8086
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue