ScriptFormatter.cpp 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * Copyright (C) 2022 The V-Gears Team
  3. *
  4. * This file is part of V-Gears
  5. *
  6. * V-Gears is free software: you can redistribute it and/or modify it under
  7. * terms of the GNU General Public License as published by the Free Software
  8. * Foundation, version 3.0 (GPLv3) of the License.
  9. *
  10. * V-Gears is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. */
  15. #include "decompiler/ScriptFormatter.h"
  16. std::string ScriptFormatter::GetFriendlyVarName(unsigned int bank, unsigned int addr){return "";}
  17. std::string ScriptFormatter::GetFriendlyEntityName(const std::string& entity_name){return entity_name;}
  18. std::string ScriptFormatter::GetFriendlyAnimationName(int animation_id, int id){return std::to_string(animation_id);}
  19. std::string ScriptFormatter::GetDefaultAnimationName(int char_id){return "";}
  20. std::string ScriptFormatter::GetMoveAnimationName(int char_id, int index){return "";}
  21. std::string ScriptFormatter::GetFriendlyCharName(int char_id){return std::to_string(char_id);}
  22. std::string ScriptFormatter::GetFriendlyFunctionName(const std::string& entity_name, const std::string& function_name){
  23. return function_name;
  24. }
  25. std::string ScriptFormatter::GetFunctionComment(const std::string& entity_name, const std::string& function_name){
  26. return "";
  27. }