Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Tweak.xm:63:14: error: unknown type name 'Item$initItems'
- MSHook(void, Item$initItems) {
- ^
- Tweak.xm:63:1: error: C++ requires a type specifier for all declarations
- MSHook(void, Item$initItems) {
- ^~~~~~
- Tweak.xm:63:7: error: 'void' must be the first and only parameter if specified
- MSHook(void, Item$initItems) {
- ^
- Tweak.xm:64:5: error: use of undeclared identifier '_Item$initItems'
- _Item$initItems();
- ^
- Tweak.xm:68:16: error: C++ requires a type specifier for all declarations
- MSHook(string, I18n$get, string const& key) {
- ^~~~~~~~
- Tweak.xm:68:1: error: C++ requires a type specifier for all declarations
- MSHook(string, I18n$get, string const& key) {
- ^~~~~~
- Tweak.xm:69:47: error: cannot initialize return object of type 'int' with an
- lvalue of type 'const char [7]'
- if(key == "item.hopper_item.name") return "Hopper";
- ^~~~~~~~
- Tweak.xm:70:45: error: cannot initialize return object of type 'int' with an
- lvalue of type 'const char [10]'
- if(key == "item.fireworks.name") return "Fireworks";
- ^~~~~~~~~~~
- Tweak.xm:71:39: error: cannot initialize return object of type 'int' with an
- lvalue of type 'const char [12]'
- if(key == "item.rod.name") return "Fishing rod";
- ^~~~~~~~~~~~~
- Tweak.xm:72:41: error: cannot initialize return object of type 'int' with an
- lvalue of type 'const char [12]'
- if(key == "item.cream.name") return "Magma Cream";
- ^~~~~~~~~~~~~
- Tweak.xm:73:47: error: cannot initialize return object of type 'int' with an
- lvalue of type 'const char [16]'
- if(key == "item.shiny_melon.name") return "Sparkling Melon";
- ^~~~~~~~~~~~~~~~~
- Tweak.xm:74:12: error: use of undeclared identifier '_I18n$get'
- return _I18n$get(key);
- ^
- Tweak.xm:78:1: error: C++ requires a type specifier for all declarations
- MSInitialize {
- ^~~~~~~~~~~~
- Tweak.xm:78:13: error: expected ';' after top level declarator
- MSInitialize {
- ^
- ;
- 14 errors generated.
- make[2]: *** [obj/Tweak.xm.b95ea6bf.o] Error 1
- make[1]: *** [internal-library-all_] Error 2
- make: *** [test.all.tweak.variables] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement