Skip to content

Commit

Permalink
converted files to UTF-8
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Jan 4, 2024
1 parent 52b3d38 commit b72fcd5
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion source/common/rendering/hwrenderer/data/hw_skydome.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

//-----------------------------------------------------------------------------
//
// Shamelessly lifted from Doomsday (written by Jaakko Keränen)
// Shamelessly lifted from Doomsday (written by Jaakko Keränen)
// also shamelessly lifted from ZDoomGL! ;)
//
//-----------------------------------------------------------------------------
Expand Down
10 changes: 5 additions & 5 deletions source/common/textures/bitmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,21 +257,21 @@ bool ClipCopyPixelRect(const FClipRect *cr, int &originx, int &originy,
step_y = pstep_y;
break;

case 1: // rotate 90° right
case 1: // rotate 90° right
pixxoffset = 0;
pixyoffset = srcheight - 1;
step_x = -pstep_y;
step_y = pstep_x;
break;

case 2: // rotate 180°
case 2: // rotate 180°
pixxoffset = srcwidth - 1;
pixyoffset = srcheight - 1;
step_x = -pstep_x;
step_y = -pstep_y;
break;

case 3: // rotate 90° left
case 3: // rotate 90° left
pixxoffset = srcwidth - 1;
pixyoffset = 0;
step_x = pstep_y;
Expand All @@ -285,7 +285,7 @@ bool ClipCopyPixelRect(const FClipRect *cr, int &originx, int &originy,
step_y = pstep_y;
break;

case 5: // flip horizontally and rotate 90° right
case 5: // flip horizontally and rotate 90° right
pixxoffset = srcwidth - 1;
pixyoffset = srcheight - 1;
step_x = -pstep_y;
Expand All @@ -299,7 +299,7 @@ bool ClipCopyPixelRect(const FClipRect *cr, int &originx, int &originy,
step_y = -pstep_y;
break;

case 7: // flip horizontally and rotate 90° left
case 7: // flip horizontally and rotate 90° left
pixxoffset = 0;
pixyoffset = 0;
step_x = pstep_y;
Expand Down
2 changes: 1 addition & 1 deletion source/common/textures/hires/xbr/xbrz.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ void blendPixel(const Kernel_3x3& ker,
return true;

//make sure there is no second blending in an adjacent rotation for this pixel: handles insular pixels, mario eyes
if (getTopR(blend) != BLEND_NONE && !eq(e, g)) //but support double-blending for 90° corners
if (getTopR(blend) != BLEND_NONE && !eq(e, g)) //but support double-blending for 90° corners
return false;
if (getBottomL(blend) != BLEND_NONE && !eq(e, c))
return false;
Expand Down
2 changes: 1 addition & 1 deletion source/common/thirdparty/math/fastsin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ __forceinline double FFastTrig::sinq1(unsigned bangle)
{
unsigned int index = bangle >> BITSHIFT;

if ((bangle &= (REMAINDER)) == 0) // This is to avoid precision problems at 180°
if ((bangle &= (REMAINDER)) == 0) // This is to avoid precision problems at 180°
{
return double(sinetable[index]);
}
Expand Down
2 changes: 1 addition & 1 deletion source/core/actorinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ struct FActorInfo
int NumMoves = 0;
int FirstAI = -1;
int NumAIs = 0;
FName DefaultAction = NAME_Null; // 'none' is valíd content here so use 'null' as 'not set'.
FName DefaultAction = NAME_Null; // 'none' is valíd content here so use 'null' as 'not set'.
FName DefaultMove = NAME_Null;
int DefaultMoveflags = 0;

Expand Down
2 changes: 1 addition & 1 deletion source/games/blood/src/ai.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ void aiChooseDirection(DBloodActor* actor, DAngle direction)
{
assert(actor->spr.type >= kDudeBase && actor->spr.type < kDudeMax);
DAngle vc = deltaangle(actor->spr.Angles.Yaw, direction);
auto almost60deg = DAngle::fromBuild(341); // 60° does not work correctly - this is a little bit less, actually.
auto almost60deg = DAngle::fromBuild(341); // 60° does not work correctly - this is a little bit less, actually.
DAngle v8 = vc.Sgn() == -1 ? -almost60deg : almost60deg;

double range = actor->vel.XY().dot(actor->spr.Angles.Yaw.ToVector()) * 120;
Expand Down
2 changes: 1 addition & 1 deletion source/games/blood/src/eventq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ void evSend(EventObject& eob, int rxId, COMMAND_ID command, DBloodActor* initiat
levelEndLevel(1);
return;
#ifdef NOONE_EXTENSIONS
// finished level and load custom level ¹ via numbered command.
// finished level and load custom level via numbered command.
case kChannelModernEndLevelCustom:
if (command >= kCmdNumberic) levelEndLevelCustom(command - kCmdNumberic);
else viewSetSystemMessage("Invalid Level-Exit# command by %s", eob.description().GetChars());
Expand Down
2 changes: 1 addition & 1 deletion source/games/duke/src/actors_d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ void movetransports_d(void)
act2->spr.pos.Z = Owner->sector()->ceilingz + 7 + gs.playerheight;
act2->backupz();

// this is actually below the precision óf the original Build coordinate system...
// this is actually below the precision of the original Build coordinate system...
p->vel.X = ((krand() & 8192) ? 1 / 64. : -1 / 64.);
p->vel.Y = ((krand() & 8192) ? 1 / 64. : -1 / 64.);

Expand Down

0 comments on commit b72fcd5

Please sign in to comment.