mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-21 03:01:36 +00:00
- Rename binaryangle.h
to fixedhorizon.h
and sanitise places where previous header was included.
This commit is contained in:
parent
442d1f3bd3
commit
3de1d2156d
8 changed files with 7 additions and 10 deletions
|
@ -17,7 +17,6 @@ static_assert('\xff' == 255, "Char must be unsigned!");
|
|||
|
||||
#include "printf.h"
|
||||
#include "palette.h"
|
||||
#include "binaryangle.h"
|
||||
|
||||
//Make all variables in BUILD.H defined in the ENGINE,
|
||||
//and externed in GAME
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
/*
|
||||
** binaryangle.h
|
||||
** fixedhorizon.h
|
||||
**
|
||||
** type safe representations of high precision angle and horizon values.
|
||||
** Angle uses natural 32 bit overflow to clamp to one rotation.
|
||||
** type safe representations of high precision horizon values.
|
||||
**
|
||||
**---------------------------------------------------------------------------
|
||||
** Copyright 2020 Christoph Oelckers
|
||||
** Copyright 2020-2022 Christoph Oelckers
|
||||
** All rights reserved.
|
||||
**
|
||||
** Redistribution and use in source and binary forms, with or without
|
|
@ -1,7 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "gamecontrol.h"
|
||||
#include "binaryangle.h"
|
||||
#include "build.h"
|
||||
#include "coreactor.h"
|
||||
#include "intrect.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "m_fixed.h"
|
||||
#include "binaryangle.h"
|
||||
#include "fixedhorizon.h"
|
||||
#include "interphelpers.h"
|
||||
#include "gamecvars.h"
|
||||
#include "gamestruct.h"
|
||||
|
|
|
@ -7,7 +7,7 @@ bool System_WantGuiCapture(); // During playing this tells us whether the game m
|
|||
#include "engineerrors.h"
|
||||
#include "stats.h"
|
||||
#include "packet.h"
|
||||
#include "binaryangle.h"
|
||||
#include "fixedhorizon.h"
|
||||
#include "inputstate.h"
|
||||
#include "maptypes.h"
|
||||
|
||||
|
|
|
@ -35,6 +35,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "fixedhorizon.h"
|
||||
|
||||
inline constexpr int32_t interpolatedvalue(int32_t oval, int32_t val, double const smoothratio, int const scale = 16)
|
||||
{
|
||||
return oval + MulScale(val - oval, int(smoothratio), scale);
|
||||
|
|
|
@ -31,7 +31,6 @@ Prepared for public release: 03/21/2003 - Charlie Wiederhold, 3D Realms
|
|||
#include "tarray.h"
|
||||
#include "tflags.h"
|
||||
#include "intvec.h"
|
||||
#include "binaryangle.h"
|
||||
#include "dobject.h"
|
||||
|
||||
void MarkVerticesForSector(int sector);
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
#include "memarena.h"
|
||||
#include "basics.h"
|
||||
#include "vectors.h"
|
||||
#include "binaryangle.h"
|
||||
#include "intvec.h"
|
||||
|
||||
class ClipNode
|
||||
|
|
Loading…
Reference in a new issue