Browse Source

Coherent naming

master
parent
commit
34db230bf3
Signed by: govanify GPG Key ID: DE62E1E2A6145556
2 changed files with 7 additions and 7 deletions
  1. +4
    -4
      kh2mdlx.cpp
  2. +3
    -3
      meson.build

dae2mdlx.cpp → kh2mdlx.cpp View File

@@ -99,7 +99,7 @@
* 0x04 is the model. It contains a model header, followed by a model part per
* texture, each including their list of bones, subpart to render by the VU1,
* DMA tags to refer to the subparts and matrices. For more informations refer
* to obj2kh2v.
* to kh2vif.
*
* 0x07 is the texture container: it contains several textures under the TIM2
* format. For more information refer to the tool building it.
@@ -281,7 +281,7 @@ void write_packet(int vert_count, int bone_count, int face_count,

fclose(pkt);

sprintf(makepkt, "obj2kh2v \"%s\"", filename);
sprintf(makepkt, "kh2vif \"%s\"", filename);
system(makepkt);

// scanf("%d\n");
@@ -354,9 +354,9 @@ void write_packet(int vert_count, int bone_count, int face_count,
// remove(kh2vname);
}
int main(int argc, char *argv[]) {
printf("dae2mdlx\n--- Early rev, don't blame me if it eats your cat\n\n");
printf("kh2mdlx\n--- Early rev, don't blame me if it eats your cat\n\n");
if (argc < 2) {
printf("usage: dae2mdlx model.dae\n");
printf("usage: kh2mdlx model.dae\n");
return -1;
}


+ 3
- 3
meson.build View File

@@ -1,8 +1,8 @@
project('dae2mdlx', 'cpp')
project('kh2mdlx', 'cpp')
assimp = dependency('assimp')

src = ['dae2mdlx.cpp']
executable('dae2mdlx', src, dependencies : assimp)
src = ['kh2mdlx.cpp']
executable('kh2mdlx', src, dependencies : assimp)

cleaner = find_program('clang-format')
r = run_command(cleaner, '-i', src)

Loading…
Cancel
Save