Clean up a bit

This commit is contained in:
Miloslav Ciz 2025-06-19 02:28:51 +02:00
parent 610c1df0b0
commit a104a12cc4
14 changed files with 207 additions and 62 deletions

View file

@ -41,8 +41,8 @@
i.e. the series of 16 bit words in hexadecimal, each preceded by ':'. The
events (but nothing else) may otherwise be preceded or followed by other
characters (possible comments). All hexadecimal letters must be lowercase.
The word 00000000 may optinally be used to terminate the replay, the rest of
the string will be ignored.
The word 00000000 may optionally be used to terminate the replay, the rest
of the string will be ignored.
- Physics engine version: LCR_RACING_VERSION1 and LCR_RACING_VERSION2 define
a two-character version string of this module that determines compatibility
of replays. Whenever a change is made to this module that changes the
@ -81,11 +81,12 @@ typedef int32_t LCR_GameUnit; ///< Abstract game unit.
#define LCR_PHYSICS_UNIT 4096 ///< Len. of square for phys. engine.
/* The combination of values TPE_RESHAPE_TENSION_LIMIT and
TPE_RESHAPE_ITERATIONS has crucial effect on the bugginess and feel of car
physics, especially when driving onto ramps in high speed etc., the values
were chosen empirically by testing, these are the ones that showed to
subjectively feel the best. */
/*
The combination of values TPE_RESHAPE_TENSION_LIMIT and TPE_RESHAPE_ITERATIONS
has crucial effect on the bugginess and feel of car physics, especially when
driving onto ramps in high speed etc., the values were chosen empirically by
testing, these are the ones that showed to subjectively feel the best.
*/
#define TPE_RESHAPE_TENSION_LIMIT 7
#define TPE_RESHAPE_ITERATIONS 18