forked from HarbourMasters/Shipwright
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merges origin/develop into LocationTracker to resolve conflict with r…
…andomizer_check_objects.cpp
- Loading branch information
Showing
419 changed files
with
3,045 additions
and
2,217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#ifndef ALIGNMENT_H | ||
#define ALIGNMENT_H | ||
|
||
#define ALIGN8(val) (((val) + 7) & ~7) | ||
#define ALIGN16(val) (((val) + 0xF) & ~0xF) | ||
#define ALIGN32(val) (((val) + 0x1F) & ~0x1F) | ||
#define ALIGN64(val) (((val) + 0x3F) & ~0x3F) | ||
#define ALIGN256(val) (((val) + 0xFF) & ~0xFF) | ||
|
||
#ifdef __GNUC__ | ||
#define ALIGNED8 __attribute__ ((aligned (8))) | ||
#else | ||
#define ALIGNED8 | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.