ScriptFormatter.cpp 1.3 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){
  18. return entity_name;
  19. }
  20. std::string ScriptFormatter::GetFriendlyAnimationName(int animation_id, int id){
  21. return std::to_string(animation_id);
  22. }
  23. std::string ScriptFormatter::GetFriendlyCharName(int char_id){return std::to_string(char_id);}
  24. std::string ScriptFormatter::GetFriendlyFunctionName(
  25. const std::string& entity_name, const std::string& function_name
  26. ){return function_name;}
  27. std::string ScriptFormatter::GetFunctionComment(
  28. const std::string& entity_name, const std::string& function_name
  29. ){return "";}