Decompile speed_meter.c and add VIEWPORT_INIT macro (#127)

* Decompile speed_meter.c and add VIEWPORT_INIT macro

- speed_meter.c: OK
- Add VIEWPORT_INIT(viewport, by, rx, ty, lx) macro

* get rid of some magic numbers

* use early return instead of a big if block in SpeedMeter_DrawTimeEntries
This commit is contained in:
Random
2020-05-13 05:05:55 +02:00
committed by GitHub
parent 74a654ecae
commit 08d9fee6e4
16 changed files with 249 additions and 749 deletions
-1
View File
@@ -417,7 +417,6 @@ beginseg
include "build/data/sched.data.o"
include "build/data/sched.bss.o"
include "build/src/code/speed_meter.o"
include "build/data/speed_meter.data.o"
include "build/src/code/sys_cfb.o"
include "build/src/code/sys_math.o"
include "build/src/code/sys_math3d.o"