Andrey Akhmichin and Alibek Omarov
521bc675a2
utils: mdldec: smd.c: simplify proper bone rotation code.
2023-12-14 14:55:40 +03:00
Andrey Akhmichin and Alibek Omarov
845cee2578
utils: mdldec: smd.c: prevent division by zero.
2023-12-14 14:54:49 +03:00
Andrey Akhmichin and Alibek Omarov
dabed4f9eb
utils: mdldec: add separate directories creation for sequences and textures.
2023-12-05 11:18:47 +03:00
Andrey Akhmichin and Alibek Omarov
f9b6389248
utils: mdldec: create full destination path into "Kratisto's mdldec" maner.
2023-12-05 11:18:47 +03:00
Andrey Akhmichin and Alibek Omarov
c448c7b0b1
utils: mdldec: avoid double ".smd" extension output.
2023-11-22 11:05:34 +03:00
Andrey Akhmichin and Alibek Omarov
8d7b9c2f01
utils: mdldec: always write trailing slash for non-empty destination path.
2023-11-22 11:03:28 +03:00
Andrey Akhmichin and Alibek Omarov
2d41c9cb15
utils: mdldec: texture.c: add Targa image format output support.
2023-11-22 10:56:57 +03:00
Andrey Akhmichin and Alibek Omarov
7a795edeb5
utils: mdldec: better validation checks.
2023-11-20 00:19:14 +03:00
Andrey Akhmichin and Alibek Omarov
fc55a685e3
utils: mdldec: small optimizations.
2023-10-22 16:00:01 +03:00
Andrey Akhmichin and Alibek Omarov
c551aefd77
utils: mdldec: add boneweights support.
2023-10-18 10:12:48 +03:00
Andrey Akhmichin and Alibek Omarov
f343f0da41
utils: mdldec: return different errorcodes on error.
2023-10-16 09:36:26 +03:00
Andrey Akhmichin and Alibek Omarov
6d318a4102
utils: mdldec: smd.c: replace loop with VectorMA.
2023-10-16 09:35:51 +03:00
Andrey Akhmichin and Alibek Omarov
a19fb82d66
utils: mdldec: smd.c: add leading zero to number in sequence filenames.
2023-10-16 06:18:06 +03:00
Andrey Akhmichin and Alibek Omarov
9d032e953f
utils: mdldec: qc.c: avoid to use brackets with conclusions.
2023-10-16 06:18:06 +03:00
Andrey Akhmichin and Alibek Omarov
38587151a9
utils: mdldec: qc.c: add missing refence meshes count.
2023-10-16 06:18:06 +03:00
Andrey Akhmichin and Alibek Omarov
02d5bab04b
utils: mdldec: qc.c: put every sequence property to separate line.
2023-10-16 06:18:06 +03:00
Andrey Akhmichin and Alibek Omarov
d8f3e53b1f
utils: mdldec: qc.c: add missing quotes.
2023-10-16 06:18:06 +03:00
Andrey Akhmichin and Alibek Omarov
877ed8a92a
utils: mdldec: qc.c: put every texture name to separate line.
2023-10-16 06:18:06 +03:00
Andrey Akhmichin and Alibek Omarov
487a652aa8
utils: mdldec: qc.c: calculate sequence group size.
2023-10-16 06:18:06 +03:00
Andrey Akhmichin and Alibek Omarov
64c5d141af
utils: mdldec: qc.c: put controller name instead of index for mouth controller.
2023-10-16 06:18:06 +03:00
Andrey Akhmichin and Alibek Omarov
16db8a8008
utils: mdldec: qc.c: put tabs where possible.
2023-10-16 06:18:06 +03:00
Andrey Akhmichin and Alibek Omarov
b6b14da102
utils: mdldec: qc.c: reorder output.
2023-10-16 06:18:06 +03:00
Andrey Akhmichin and Alibek Omarov
a575605c75
utils: mdldec: qc.c: always put $flags keyword with value.
2023-10-16 06:18:06 +03:00
Andrey Akhmichin and Alibek Omarov
a205a3e878
utils: mdldec: qc.c: remove useless backward slashes from output.
2023-10-16 06:18:06 +03:00
Andrey Akhmichin and Alibek Omarov
26ef3e274c
utils: mdldec: smd.c: linear movement loss fix.
2023-10-14 17:38:48 +03:00
Alibek Omarov
cfdfdd5c93
utils: mdldec: add size argument to COM_FileBase calls
2023-04-26 05:20:45 +03:00
Alibek Omarov
76c7273600
utils: mdldec: remove usage of string functions with unspecified size
2023-04-23 18:30:44 +03:00
Andrey Akhmichin and Alibek Omarov
f2c671d809
utils: mdldec: Fix typo.
2023-04-10 01:03:52 +03:00
Alibek Omarov
401b145040
utils: mdldec: fix wscript to build
2022-09-10 22:52:52 +03:00
Alibek Omarov
470121512a
utils: mdldec: convert to include targets usage
2022-09-10 22:52:52 +03:00
Alibek Omarov
d562642e26
utils: mdldec: fix build on Windows, use GetFileAttributes instead of stat here
2022-06-30 18:33:09 +03:00
Andrey Akhmichin and a1batross
cbcb90638b
utils: mdldec: try to create user defined destination directory.
2022-06-30 18:13:46 +03:00
Andrey Akhmichin and a1batross
9917cba8fc
utils: mdldec: add fixed uv coords support.
2022-02-12 22:06:31 +03:00
SNMetamorph and Alibek Omarov #SupportRMS
8d5426cdcd
utils: mdldec: fix of masked_solid texture flag
2021-07-29 13:17:38 +03:00
Alibek Omarov
9b6f26c191
mdldec: build with CONSOLE subsystem on Win32
2021-03-05 17:59:54 +03:00
Alibek Omarov
add4cf4232
mdldec: add wscript, disabled by default
2021-03-05 16:00:26 +03:00
Andrey Akhmichin and Alibek Omarov
9bc3d6d315
utils: mdldec: better validity checks.
2021-01-10 02:31:19 +03:00
Andrey Akhmichin and Alibek Omarov
1a59389261
utils: mdldec: STUDIO_NF_SMOOTH texture flag means "smooth" texrendermode.
2021-01-10 02:30:56 +03:00
Gleb Mazovetskiy and Alibek Omarov
5e0a0765ce
Trim all trailing whitespace
...
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.
Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.
`git blame` becomes less useful on these lines but it already isn't very useful.
Commands:
```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
2021-01-04 20:55:10 +03:00
Andrey Akhmichin and Alibek Omarov
299e3fe957
utils: mdldec: small update.
2020-11-28 23:18:30 +03:00
Andrey Akhmichin and Alibek Omarov
7a58813254
utils: add studio model decompiler.
2020-03-04 09:23:12 +03:00