mirror of https://github.com/PrimeDecomp/prime.git
Script for automating some metaforce rename
Former-commit-id: 0254fd4f68
This commit is contained in:
parent
418d420434
commit
71fd2e5321
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
path=$1
|
||||||
|
|
||||||
|
sed -i "s/std::string_view/const rstl::string\&/g" "$path"
|
||||||
|
sed -i "s/zeus::CTransform/CTransform4f/g" "$path"
|
||||||
|
sed -i "s/zeus:://g" "$path"
|
||||||
|
sed -i "s/visitor.Visit(this)/visitor.Visit(*this)/g" "$path"
|
Loading…
Reference in New Issue