mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-15 01:43:25 +00:00
Misc.
This commit is contained in:
parent
6f40763885
commit
871698e352
2 changed files with 14 additions and 0 deletions
|
|
@ -13,6 +13,15 @@ deps: pub.lzwdgc.Polygon4.Tools.aim1.mod_maker-master
|
||||||
* You can also distribute mod archive (requires 7z program).
|
* You can also distribute mod archive (requires 7z program).
|
||||||
**/
|
**/
|
||||||
|
|
||||||
|
// TODO:
|
||||||
|
/*
|
||||||
|
make patchnotes from code? not from comments
|
||||||
|
for example
|
||||||
|
comment(...)
|
||||||
|
or
|
||||||
|
patch_note(...)
|
||||||
|
*/
|
||||||
|
|
||||||
#define AIM_TYPES_FILE_NAME "aim.exe.h"
|
#define AIM_TYPES_FILE_NAME "aim.exe.h"
|
||||||
#define INJECTIONS_FILE_NAME "aim.exe.fixes.h"
|
#define INJECTIONS_FILE_NAME "aim.exe.fixes.h"
|
||||||
|
|
||||||
|
|
@ -197,6 +206,8 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
// test scripts
|
// test scripts
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
|
// TODO: copy whole sector?
|
||||||
|
|
||||||
// patch note dev: Developer Mode!!!
|
// patch note dev: Developer Mode!!!
|
||||||
// patch note dev: enabled developer mode (free camera - F3 key, time shift - N key) (lz, Solant)
|
// patch note dev: enabled developer mode (free camera - F3 key, time shift - N key) (lz, Solant)
|
||||||
mod.enable_free_camera();
|
mod.enable_free_camera();
|
||||||
|
|
|
||||||
|
|
@ -438,8 +438,11 @@ struct mod_maker {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void copy_glider_from_aim2(auto &&object) {
|
void copy_glider_from_aim2(auto &&object) {
|
||||||
|
log("copying glider from aim2: {}", object);
|
||||||
|
|
||||||
copy_from_aim2("MOD_"s + object);
|
copy_from_aim2("MOD_"s + object);
|
||||||
db().copy_from_aim2(u8"Ãëàéäåðû", path{object}.stem().string());
|
db().copy_from_aim2(u8"Ãëàéäåðû", path{object}.stem().string());
|
||||||
|
// may be absent - try..catch?
|
||||||
quest("ru_RU").copy_from_aim2("INFORMATION", path{object}.stem().string());
|
quest("ru_RU").copy_from_aim2("INFORMATION", path{object}.stem().string());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue