Skip to content

Commit

Permalink
Renamed one func
Browse files Browse the repository at this point in the history
  • Loading branch information
korenkonder committed Jul 15, 2024
1 parent 5467b1a commit 1752209
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/DivaGL/data_test/rob_osage_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -490,10 +490,10 @@ bool RobOsageTest::ctrl() {
continue;

objects.push_back((::item_id)i, itm_eq_obj->obj_info);
rob_osage_test_dw->rob.object_list_box->AddItem(object_database_get_object_name(itm_eq_obj->obj_info));
rob_osage_test_dw->rob.object_list_box->AddItem(object_database_get_obj_name(itm_eq_obj->obj_info));

std::string buf = string_to_lower(sprintf_s_string(
"ext_skp_%s.txt", object_database_get_object_name(itm_eq_obj->obj_info)));
"ext_skp_%s.txt", object_database_get_obj_name(itm_eq_obj->obj_info)));

std::string path("ram/skin_param/");
path.append(buf);
Expand Down Expand Up @@ -672,7 +672,7 @@ bool RobOsageTest::ctrl() {
path_create_directory("ram/skin_param/");

std::string buf = string_to_lower(sprintf_s_string(
"ext_skp_%s.txt", object_database_get_object_name(itm_eq_obj->obj_info)));
"ext_skp_%s.txt", object_database_get_obj_name(itm_eq_obj->obj_info)));

prj::vector_pair_alloc<prj::string, ExNodeBlock*> ex_nodes;
ex_nodes.reserve(itm_eq_obj->osage_blocks.size() + itm_eq_obj->cloth_blocks.size());
Expand Down
2 changes: 1 addition & 1 deletion src/DivaGL/object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ obj_mesh* (FASTCALL* objset_info_storage_get_obj_mesh_by_index)(object_info obj_
= (obj_mesh * (FASTCALL*)(object_info obj_info, int32_t mesh_index))0x0000000140459D40;
int32_t(FASTCALL* objset_info_storage_get_obj_mesh_index)(object_info obj_info, const char* mesh_name)
= (int32_t(FASTCALL*)(object_info obj_info, const char* mesh_name))0x0000000140459DE0;
const char* (FASTCALL* object_database_get_object_name)(object_info obj_info)
const char* (FASTCALL* object_database_get_obj_name)(object_info obj_info)
= (const char* (FASTCALL*)(object_info obj_info))0x0000000140459F20;
uint32_t(FASTCALL* object_database_get_object_info)(const char* name)
= (uint32_t(FASTCALL*)(const char* name))0x0000000140459F80;
Expand Down
2 changes: 1 addition & 1 deletion src/DivaGL/object.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ static_assert(sizeof(obj_vertex_buffer) == 0x10, "\"obj_vertex_buffer\" struct s
extern void (FASTCALL* objset_info_storage_unload_set)(int32_t set);
extern obj_mesh* (FASTCALL* objset_info_storage_get_obj_mesh_by_index)(object_info obj_info, int32_t mesh_index);
extern int32_t(FASTCALL* objset_info_storage_get_obj_mesh_index)(object_info obj_info, const char* mesh_name);
extern const char* (FASTCALL* object_database_get_object_name)(object_info obj_info);
extern const char* (FASTCALL* object_database_get_obj_name)(object_info obj_info);
extern uint32_t(FASTCALL* object_database_get_object_info)(const char* name);
extern obj* (FASTCALL* objset_info_storage_get_obj)(object_info obj_info);
extern obj_mesh_index_buffer* (FASTCALL* objset_info_storage_get_obj_mesh_index_buffer)(object_info obj_info, int32_t a2);
Expand Down

0 comments on commit 1752209

Please sign in to comment.