Script for automating some metaforce rename

This commit is contained in:
Henrique Gemignani Passos Lima 2022-10-21 15:53:04 +03:00
parent 6ead1d3fae
commit 0254fd4f68
No known key found for this signature in database
GPG Key ID: E224F951761145F8
1 changed files with 9 additions and 0 deletions

View File

@ -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"