nmlgc
2efd1fb29d
[Maintenance] Get rid of ReC98.h
...
… and this mistake.
Part of P0186, funded by [Anonymous] and Blue Bolt.
2022-03-26 20:44:54 +01:00
nmlgc
7211d4deeb
[Maintenance] [th02] Get rid of th02.h
...
… remove the last of the game-specific header files, …
Part of P0186, funded by [Anonymous] and Blue Bolt.
2022-03-26 20:44:54 +01:00
nmlgc
f4a73bba3f
[Maintenance] Move the ring increment/decrement macros to clamp.hpp
...
That means we can finally…
Part of P0186, funded by [Anonymous] and Blue Bolt.
2022-03-26 20:44:54 +01:00
nmlgc
1c468eef21
[Maintenance] [th02] Put OP/MAINE globals into a single translation unit
...
Part of P0186, funded by [Anonymous] and Blue Bolt.
2022-03-26 20:44:42 +01:00
nmlgc
9432e0d2bf
[Maintenance] Macros: Update to current coding standards
...
Less fancy token pasting, replacing them with inline functions where
possible, entirely removing unnecessary ones, and fixing smaller
issues here and there.
Part of P0186, funded by [Anonymous] and Blue Bolt.
2022-03-25 14:05:36 +01:00
nmlgc
ea54e59f93
[Maintenance] Macros: Avoid references to implicit local variables
...
If the macro itself is local to a function, these can work in certain
scenarios, but never for global ones.
Part of P0186, funded by [Anonymous] and Blue Bolt.
2022-03-25 14:03:53 +01:00
nmlgc
efff8d61bb
[Maintenance] Change line endings in old C/C++ files to LF
...
Yup, even a DOS compiler from 1994 considered CRLF line endings as
stupid.
Part of P0172, funded by [Anonymous] and Blue Bolt.
2021-12-27 01:06:32 +01:00
nmlgc
5fac2006ff
[Maintenance] Consistently use "score" instead of "points"
...
Or at least in addition.
Part of P0172, funded by [Anonymous] and Blue Bolt.
2021-12-27 00:50:39 +01:00
nmlgc
e07624a7be
[Maintenance] [th01] Start a new header for clamping macros
...
Part of P0158, funded by Yanga.
2021-09-28 18:05:24 +02:00
nmlgc
0ce869c30a
[Maintenance] Complete the master.hpp transition
...
Part of P0133, funded by [Anonymous].
2021-01-30 19:22:29 +01:00
nmlgc
9d23f26445
[Maintenance] [th02] Move HUUHI.DAT declarations to their own file
...
The `struct date` members in `scoredat_t` add a dependency on <dos.h>
to the entire header file. Makes sense to move it out as early as
possible.
Part of P0133, funded by [Anonymous].
2021-01-30 19:20:08 +01:00
nmlgc
72c32c8c9c
[Maintenance] [th02] Compile more C translation units as C++
...
Everything that uses input and master.lib graphics functions.
Part of P0133, funded by [Anonymous].
2021-01-30 19:19:50 +01:00