1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-10 17:00:19 +00:00

New relocation-generating program (#1016)

* Update makefiles

* git subrepo clone git@github.com:EllipticEllipsis/fado.git tools/fado

subrepo:
  subdir:   "tools/fado"
  merged:   "46c4d751a"
upstream:
  origin:   "git@github.com:EllipticEllipsis/fado.git"
  branch:   "master"
  commit:   "46c4d751a"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "2f68596"

* git subrepo pull tools/fado

subrepo:
  subdir:   "tools/fado"
  merged:   "88114ebce"
upstream:
  origin:   "git@github.com:EllipticEllipsis/fado.git"
  branch:   "master"
  commit:   "88114ebce"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "2f68596"

* A few ideas for computing dependencies

* Remove reserved identifiers from spec.h and util.h
and add required headers

* Fix a couple more headers

* Program for reloc prerequisites

* git subrepo pull tools/fado

subrepo:
  subdir:   "tools/fado"
  merged:   "36a905f72"
upstream:
  origin:   "git@github.com:EllipticEllipsis/fado.git"
  branch:   "master"
  commit:   "36a905f72"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "2f68596"

* Update makefile to make dependency files and use overlay's name

* git subrepo pull tools/fado

subrepo:
  subdir:   "tools/fado"
  merged:   "43c339a59"
upstream:
  origin:   "git@github.com:EllipticEllipsis/fado.git"
  branch:   "master"
  commit:   "43c339a59"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "2f68596"

* Change awk to grep, delete ZAPD files, gitignore elf

* Delete all the cfg files

* Fix memory leaks

* Rename and add coloured errors

* Makefile tweaks
- preprocess spec before grep
- split order prerequisites via phony target to reduce dependency edges
- remove `resources` target
- remove separate overlays targets
- use `$(SPEC)` throughout
- change to using filenames of relocs for overlay names via `$*`
- Rearrange targets to better reflect their categories

* Update gitignore

* Review

* Add a check for the reloc file name

* get_segment_by_name

* get_stmt_id_by_stmt_name

* Cleaning up

* algorithm change

* function rename

* Fix typos

Co-authored-by: angie <angheloalf95@gmail.com>
This commit is contained in:
EllipticEllipsis 2022-02-06 19:40:26 +00:00 committed by GitHub
parent cf048f849a
commit eadc477187
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
511 changed files with 3947 additions and 1104 deletions

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Blast
z_eff_ss_blast.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Bomb
z_eff_ss_bomb.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Bomb2
z_eff_ss_bomb2.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Bubble
z_eff_ss_bubble.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_D_Fire
z_eff_ss_d_fire.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Dead_Db
z_eff_ss_dead_db.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Dead_Dd
z_eff_ss_dead_dd.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Dead_Ds
z_eff_ss_dead_ds.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Dead_Sound
z_eff_ss_dead_sound.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Dt_Bubble
z_eff_ss_dt_bubble.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Dust
z_eff_ss_dust.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_En_Fire
z_eff_ss_en_fire.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_En_Ice
z_eff_ss_en_ice.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Extra
z_eff_ss_extra.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Fcircle
z_eff_ss_fcircle.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Fhg_Flash
z_eff_ss_fhg_flash.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Fire_Tail
z_eff_ss_fire_tail.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_G_Fire
z_eff_ss_g_fire.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_G_Magma
z_eff_ss_g_magma.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_G_Magma2
z_eff_ss_g_magma2.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_G_Ripple
z_eff_ss_g_ripple.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_G_Spk
z_eff_ss_g_spk.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_G_Splash
z_eff_ss_g_splash.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Hahen
z_eff_ss_hahen.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_HitMark
z_eff_ss_hitmark.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Ice_Piece
z_eff_ss_ice_piece.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Ice_Smoke
z_eff_ss_ice_smoke.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_K_Fire
z_eff_ss_k_fire.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Kakera
z_eff_ss_kakera.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_KiraKira
z_eff_ss_kirakira.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Lightning
z_eff_ss_lightning.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Sibuki
z_eff_ss_sibuki.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Sibuki2
z_eff_ss_sibuki2.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Solder_Srch_Ball
z_eff_ss_solder_srch_ball.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Stick
z_eff_ss_stick.c

View file

@ -1,2 +0,0 @@
ovl_Effect_Ss_Stone1
z_eff_ss_stone1.c