This commit is contained in:
lzwdgc 2024-04-03 13:16:16 +03:00
parent 6f40763885
commit 871698e352
2 changed files with 14 additions and 0 deletions

View file

@ -13,6 +13,15 @@ deps: pub.lzwdgc.Polygon4.Tools.aim1.mod_maker-master
* 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 INJECTIONS_FILE_NAME "aim.exe.fixes.h"
@ -197,6 +206,8 @@ int main(int argc, char *argv[]) {
// test scripts
#ifndef NDEBUG
// TODO: copy whole sector?
// patch note dev: Developer Mode!!!
// patch note dev: enabled developer mode (free camera - F3 key, time shift - N key) (lz, Solant)
mod.enable_free_camera();

View file

@ -438,8 +438,11 @@ struct mod_maker {
}
}
void copy_glider_from_aim2(auto &&object) {
log("copying glider from aim2: {}", object);
copy_from_aim2("MOD_"s + object);
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());
}