Script for automating some metaforce rename

Former-commit-id: 0254fd4f68
This commit is contained in:
Henrique Gemignani Passos Lima 2022-10-21 15:53:04 +03:00
parent 418d420434
commit 71fd2e5321
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"