Organize the engine/ directory, director's cut

Cleaned up `engine/routines`, in favor of moving files into more
appropriate directories. predef-related routines are now in top-level
`engine`.
`rtc/delete_save_change_clock.asm` has been split into both
`menus/delete_save.asm` and `rtc/reset_password.asm`.

Made a new subdirectory:
* engine/math: Contains all generic math-related routines.
This commit is contained in:
mid-kid
2018-03-25 18:24:14 +02:00
parent 0d9241889f
commit be76ee56a8
13 changed files with 52 additions and 53 deletions

4
engine/math/sine.asm Executable file
View File

@@ -0,0 +1,4 @@
_Sine:: ; 84d9
; a = d * sin(e * pi/32)
ld a, e
calc_sine_wave