mirror of
https://github.com/zeldaret/mm.git
synced 2024-11-23 21:09:52 +00:00
7611d833d9
* Bring over matching actor getters * Add arg names * Rename functions * Adjust rename_sym script to update sizes csvs * Fix wrong function prototype * whitespace * Rename functions * Fix actorfixer * Format * Add function comments and file header * Fix merge * format * Fix merge * format * Move D_0407D590 down * Fix merge * Steal idea from z_actor PR to return directly * Swap function name order * Fix merge
14 lines
304 B
Bash
Executable File
14 lines
304 B
Bash
Executable File
#!/bin/bash
|
|
|
|
shopt -s globstar
|
|
|
|
if [ "$#" -ne "2" ];
|
|
then
|
|
echo "usage: $0 old_name new_name"
|
|
exit 1
|
|
fi
|
|
|
|
#echo "Replace $1 with $2?"
|
|
#read
|
|
grep -rl "$1" asm/**/*.s src/**/*.{c,h} include/**/*.h tools/disasm/functions.txt tools/disasm/variables.txt tools/sizes/*.csv | xargs sed -i "s/\b$1\b/$2/g"
|