It seems to be specifically disallowed by code in CvPlayer::canTradeItem: case TRADE_CITIES: { CvCity* pCityTraded = getCity(item.m_iData); if...
Ah, that code is not actually in the BUG part of the code where I looked but in the Afforess folder. It does look slightly wrong though. def...
They are not an issue because there is no cross platform. When you have multiple platforms there will not be the exact same processor instructions...
Floats and doubles are not the usual issue of OOS errors in Civ4. They are as deterministic as integers. The most common cause is using...
I was mainly mentioning it because in that game you also have to split and merge armies pretty often and while you can manually do it, most of the...
A popup seems too clunky to use anyway. Have you ever played Europa Universalis 4 or a similar Paradox game? The button to split an army in half...
You should probably be more specific about not only what you want to be able to do but how you want to do it. Example: Add a button at <insert...
I was planning to do it a bit more completely but then got stuck in all the redundant copies of more or less the same code and I won't get to much...
The redundancy does not necessarily make it better as they increase the complexity and calculate parts of the same thing but in different ways....
I have been skimming the XML files and it seems like the unit and building dependencies have changed a lot in the last years (well, nearly a...
Well, I have actually implemented the code for the "What if" evaluation of BoolExpr and applied it to the AI code that values buildings that...
Absolutely. This is a memory patching technique. If an info class is destroyed while it has a delayed resolution pointing to a part of its memory...
Well, there is AI code for the existing tags. While you probably could not do it in its full generality, you could do the same for the standard...
The boolean expressions can be nested and there is no depth limit. You can consider them a tree that describes the order of evaluation. The leafs...
This is about reading a path in the XML which is usually relative and not absolute. But now that I look at it more closely this is from reading an...
wcsrtombs is a function from the standard C library: https://en.cppreference.com/w/cpp/string/multibyte/wcsrtombs That could be C locale related....
This is mainly done by the plot function in CvMap.h which handles requests for negative coordinates and too large coordinates by wrapping them if...
Yes, that should work too. In general you are changing the adjacency graph here so you can define that if you go a specific direction from a...
As Toffer said, the AI is not far from understanding it if you use the edge transition approach instead of the teleportation approach. The A*...
I think WB is disabled in hotseat as it is probably considered multiplayer. It should work though with a minor edit to the code to remove that...
Separate names with a comma.