Объявления |
---|
Друзья, если не получается зарегистрироваться, напишите на почту vdv_forever@bk.ru. Я оторву свою задницу от всех дел и обязательно Вас активирую! Добро пожаловать на геройский форум! |
Re: H3API by RoseKavalier
I think, it will be more accurate:
|
Re: H3API by RoseKavalierHow to send messages to buttons in a correct way with H3API?
Could it be rewritten with messages? |
Re: H3API by RoseKavalierВозможно я не понял вопрос, но у меня работает так:
|
|
Re: H3API by RoseKavalier4EC710?
It's not currently part of h3api I think, never had use for it. Feel free to propose the method and I'll add it. |
Re: H3API by RoseKavalierI would like to automatically copy txt res-file to "...\_HD3_Data\Templates"
Are there any functions for this? I am trying this:
But file is empty. |
|
Re: H3API by RoseKavalierI fail to see why you're packaging this text file within your project instead of distributing it directly but I wrote myself two raii methods to read/write files... an operation I repeat often for testing whenever I don't use console.
H3File uses CreateFileA to read/write
H3Stream uses fopen, fwrite, ... to read/write
|
Re: H3API by RoseKavalierRoseKavalier писал(а): А твои процедуры из H3File возможно использовать, чтобы работало как стандартное ? (из 0x55C070):
То есть v7 тут - это, я так понимаю указатель на структуру _Txt_ (по терминологии HD мода). |
|
Re: H3API by RoseKavalier0x55C070 parses a NWC text file from both data folder and from within lod.
There is H3TextFile::Load(file_name) for text-type or H3TextTable::Load(file_name) for spreadsheet-type. For the former (0x55C070), H3File::GetLines() should parse the file correctly into lines. [edit: unless there are line breaks in text] |
Re: H3API by RoseKavalierЦитата: Because fresh mod installs by hand, and one file for this is the most convenient option. |
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 8