Let's just use __fastcall instead of LUNATIC_FASTCALL

# Conflicts:
#	source/build/include/build.h
This commit is contained in:
NY00123 2020-05-17 21:47:27 +03:00 committed by Christoph Oelckers
parent cca922f023
commit 6a70389f1d
2 changed files with 5 additions and 6 deletions

View file

@ -70,7 +70,6 @@ enum rendmode_t {
# define M32_FIXME_SECTORS 2 # define M32_FIXME_SECTORS 2
# define LUNATIC_EXTERN static # define LUNATIC_EXTERN static
# define LUNATIC_FASTCALL __fastcall
#define MAXWALLSB ((MAXWALLS>>2)+(MAXWALLS>>3)) #define MAXWALLSB ((MAXWALLS>>2)+(MAXWALLS>>3))
@ -933,10 +932,10 @@ int32_t krand(void);
#endif #endif
int32_t ksqrt(uint32_t num); int32_t ksqrt(uint32_t num);
int32_t LUNATIC_FASTCALL getangle(int32_t xvect, int32_t yvect); int32_t __fastcall getangle(int32_t xvect, int32_t yvect);
fix16_t LUNATIC_FASTCALL gethiq16angle(int32_t xvect, int32_t yvect); fix16_t __fastcall gethiq16angle(int32_t xvect, int32_t yvect);
static FORCE_INLINE fix16_t LUNATIC_FASTCALL getq16angle(int32_t xvect, int32_t yvect) static FORCE_INLINE fix16_t __fastcall getq16angle(int32_t xvect, int32_t yvect)
{ {
return fix16_from_int(getangle(xvect, yvect)); return fix16_from_int(getangle(xvect, yvect));
} }

View file

@ -4261,7 +4261,7 @@ int32_t inside(int32_t x, int32_t y, int16_t sectnum)
return -1; return -1;
} }
int32_t LUNATIC_FASTCALL getangle(int32_t xvect, int32_t yvect) int32_t __fastcall getangle(int32_t xvect, int32_t yvect)
{ {
int32_t rv; int32_t rv;
@ -4282,7 +4282,7 @@ int32_t LUNATIC_FASTCALL getangle(int32_t xvect, int32_t yvect)
return rv; return rv;
} }
fix16_t LUNATIC_FASTCALL gethiq16angle(int32_t xvect, int32_t yvect) fix16_t __fastcall gethiq16angle(int32_t xvect, int32_t yvect)
{ {
fix16_t rv; fix16_t rv;