Home » MODDING HQ 1.13 » v1.13 General Development Talk » Latest uncompiled builds?
Latest uncompiled builds?[message #361315] Wed, 16 September 2020 23:57 Go to next message
CareBear is currently offline CareBear

 
Messages:144
Registered:April 2016
Where can i find latest uncompilled builds? Preferably using github, as i want to search the files for particular variable.

Report message to a moderator

Sergeant
Re: Latest uncompiled builds?[message #361316 is a reply to message #361315] Thu, 17 September 2020 10:04 Go to previous messageGo to next message
Asdow is currently offline Asdow

 
Messages:146
Registered:August 2010
https://github.com/aimnas/ja2-1.13-source-mirror

Report message to a moderator

Sergeant
Re: Latest uncompiled builds?[message #361319 is a reply to message #361316] Thu, 17 September 2020 18:46 Go to previous messageGo to next message
CareBear is currently offline CareBear

 
Messages:144
Registered:April 2016
Since you seem knowledgeable, and you manage the repo, do you know why some variables aren't used in the code, yet they are loaded by game engine?

Here are examples
https://github.com/aimnas/ja2-1.13-source-mirror/search?q=RECOIL_COUNTER_ACCURACY_COMPENSATION&unscoped_q=RECOIL_COU NTER_ACCURACY_COMPENSATION
https://github.com/aimnas/ja2-1.13-source-mirror/search?q=BASE_DRAW_COST&unscoped_q=BASE_DRAW_COST
https://github.com/aimnas/ja2-1.13-source-mirror/search?q=DEGREES_MAXIMUM_APERTURE&unscoped_q=DEGREES_MAXIMUM_APERTU RE

The last one is clearly working ingame, when switching the value, so some code must be executed?

Preferably, is there an "external" code that i can found, which manage these variables and use it ingame? I see that iniReader manages loading these variables, but there's no code followup.

Report message to a moderator

Sergeant
Re: Latest uncompiled builds?[message #361320 is a reply to message #361319] Thu, 17 September 2020 19:43 Go to previous messageGo to next message
silversurfer

 
Messages:2791
Registered:May 2009
Only RECOIL_COUNTER_ACCURACY_COMPENSATION isn't used by the code. Maybe Headrock planned to use it at some point and then forgot to remove it.


Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Report message to a moderator

Lieutenant
Re: Latest uncompiled builds?[message #361321 is a reply to message #361320] Thu, 17 September 2020 21:44 Go to previous messageGo to next message
CareBear is currently offline CareBear

 
Messages:144
Registered:April 2016
What about the other two? It seems they are loaded into that CTH_CONSTANTS class called gGameCTHConstants. I've searched for that class or its instance and i can't find any BASE_DRAW_COST or DEGREES_MAXIMUM_APERTURE used in code/calculations. Is there something i miss?

[Updated on: Thu, 17 September 2020 21:44]

Report message to a moderator

Sergeant
Re: Latest uncompiled builds?[message #361322 is a reply to message #361321] Thu, 17 September 2020 22:52 Go to previous messageGo to next message
silversurfer

 
Messages:2791
Registered:May 2009
Just do a text search for these terms on the code and you will find them in Weapons.cpp and LOS.cpp.


Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Report message to a moderator

Lieutenant
Re: Latest uncompiled builds?[message #361323 is a reply to message #361322] Thu, 17 September 2020 23:35 Go to previous message
CareBear is currently offline CareBear

 
Messages:144
Registered:April 2016
Interesting, github have not returned anything, must be their fault. Good to know that their search is faulty.

Report message to a moderator

Sergeant
Previous Topic: How to use ReShade in JA 2
Next Topic: Mine with reptions
Goto Forum:
  


Current Time: Tue Jan 28 19:23:42 GMT+2 2025

Total time taken to generate the page: 0.01386 seconds