mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-19 01:34:08 +00:00
Merge remote-tracking branch 'origin/master' into miami
# Conflicts: # src/control/RoadBlocks.cpp # src/core/Collision.h # src/core/Pad.cpp # src/core/SurfaceTable.h # src/core/main.cpp # src/core/re3.cpp # src/peds/Population.cpp # src/render/Fluff.cpp # src/render/Shadows.cpp # src/render/Shadows.h # src/render/Sprite2d.cpp # src/weapons/BulletInfo.cpp
This commit is contained in:
commit
7d8ffa9ebd
34 changed files with 3423 additions and 306 deletions
|
@ -89,6 +89,16 @@ typedef uint16_t wchar;
|
|||
#include <rpskin.h>
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define TYPEALIGN(n) __attribute__ ((aligned (n)))
|
||||
#else
|
||||
#ifdef _MSC_VER
|
||||
#define TYPEALIGN(n) __declspec(align(n))
|
||||
#else
|
||||
#define TYPEALIGN(n) // unknown compiler...ignore
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define ALIGNPTR(p) (void*)((((uintptr)(void*)p) + sizeof(void*)-1) & ~(sizeof(void*)-1))
|
||||
|
||||
// PDP-10 like byte functions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue