Skip to content

Commit e41958c

Browse files
committed
Some formatting and fix editorconfig warnings
1 parent 278f1c7 commit e41958c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+983
-942
lines changed

BasicStructures.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,4 +163,4 @@ struct LTRBStruct
163163
int Top;
164164
int Right;
165165
int Bottom;
166-
};
166+
};

BitFont.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ class NOVTABLE BitFont
7676
bool field_41;
7777
bool field_42;
7878
bool field_43;
79-
};
79+
};

BitText.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ class BitText
2424
{
2525
JMP_THIS(0x434CD0);
2626
}
27-
};
27+
};

Blitters/BlitTransLucent75AlphaZRead.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ DEFINE_BLITTER(BlitTransLucent75AlphaZRead)
3030
if (byte idx = *src++)
3131
*dest = 3 * (Mask & (*dest >> 2)) + (Mask & (PaletteData[idx | adata[*abuf]] >> 2));
3232
}
33-
33+
3434
++dest;
3535
++abuf;
3636

Blitters/BlitTransXlatZRead.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ DEFINE_BLITTER(BlitTransXlatZRead)
2727
if(byte idx = *src)
2828
*dest = PaletteData[idx];
2929
}
30-
30+
3131
++src;
3232
++dest;
3333

Blitters/BlitTransZRemapXlatAlphaZRead.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ DEFINE_BLITTER(BlitTransZRemapXlatAlphaZRead)
3030
if (byte idx = *src++)
3131
*dest = PaletteData[*Remap[idx] | adata[*abuf]];
3232
}
33-
33+
3434
++dest;
3535
++abuf;
3636

BombListClass.h

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class BombListClass
1616
static constexpr reference<BombListClass, 0x87F5D8u> const Instance{};
1717

1818
// draws all the visible bombs, expires the outdated ones
19-
void Update()
19+
void Update()
2020
{ JMP_THIS(0x438BF0); }
2121

2222
// the main one, ivan planting a bomb (creates a BombClass inside)
@@ -38,10 +38,8 @@ class BombListClass
3838
//===========================================================================
3939
//===== Properties ==========================================================
4040
//===========================================================================
41-
4241
public:
43-
44-
DynamicVectorClass<BombClass *> Bombs; //all the BombClass instances on the map
45-
DynamicVectorClass<TechnoClass *> Detectors; //all the BombSight'ed objects currently on the map
46-
int UpdateDelay; // defaults to 100, some iterators set it to 1
42+
DynamicVectorClass<BombClass *> Bombs; // all the BombClass instances on the map
43+
DynamicVectorClass<TechnoClass *> Detectors; // all the BombSight'ed objects currently on the map
44+
int UpdateDelay; // defaults to 100, some iterators set it to 1
4745
};

CCFileClass.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class NOVTABLE CDFileClass : public BufferIOFileClass
188188
virtual const char* SetFileName(const char* pFileName) override JMP_THIS(0x47AE10);
189189
virtual bool Open(FileAccessMode access) override JMP_THIS(0x47AAB0);
190190
virtual bool OpenEx(const char* pFileName, FileAccessMode access) override JMP_THIS(0x47AF10);
191-
191+
192192
//Constructor
193193
CDFileClass()
194194
: CDFileClass(noinit_t())

CCToolTip.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ class NOVTABLE CCToolTip : public ToolTipManager
1717
public:
1818
bool FullRedraw;
1919
int Delay;
20-
};
20+
};

CRT.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class CRT {
124124
{ JMP_STD(0x7CB7BA); }
125125

126126
static char * __fastcall strtrim(char * Buffer)
127-
{ JMP_STD(0x727CF0); }
127+
{ JMP_STD(0x727CF0); }
128128

129129
static size_t __cdecl strlen(const char *input)
130130
{ JMP_STD(0x7D15A0); }

0 commit comments

Comments
 (0)