refactor: switch RAGE_JOAAT with string literal functions (#2806)

Why? Shorter to write and removes the macro usage

I used the following regex to find all occurrences:
```r
RAGE_JOAAT\("(.*?)"\)
```
then the following to replace it all:
```r
"$1"_J
```
This commit is contained in:
Andreas Maerten
2024-03-12 09:42:11 +01:00
committed by GitHub
parent cc930b6252
commit 88036b91da
88 changed files with 1786 additions and 1786 deletions

View File

@ -352,7 +352,7 @@ namespace big
const auto name = item.child("Name").text().as_string();
const auto hash = rage::joaat(name);
if (hash == RAGE_JOAAT("WEAPON_BIRD_CRAP"))
if (hash == "WEAPON_BIRD_CRAP"_J)
continue;
if (exists(mapped_weapons, hash))
@ -578,4 +578,4 @@ namespace big
load_data();
});
}
}
}