Skip to content
#

cpp17

cpp logo

C++ is a popular and widely used mid-level language. It was designed as an extension of the C language.

Here are 3,235 public repositories matching this topic...

heinezen
heinezen commented Oct 1, 2021

Required skills: Python

Difficulty: Easy

For the initial asset conversion, openage provides textual output to signal which stage of conversion has been reached. The output usually looks like this:

INFO [py] converting metadata
INFO [py] [0] palette
INFO [py] [1] empires.dat
INFO [py] Starting conversion...
INFO [py] Extracting Genie data...
INFO [py] Creating API-like ob
thrust
xray-16
FreeZoneMods
FreeZoneMods commented Sep 14, 2021

CStateBurerAttackTele class uses CTelekinesis::get_objects_count method to iterate over all active objects. It's incorrect - this method does not return the total number of objects, but the number of objects in the TS_Keep and TS_Raise states. To get the total number of active objects we need to use CTelekinesis::get_objects_total_count.
So, we need to review every call of get_objects_count in

Created by Bjarne Stroustrup

Released October 1985

Website
isocpp.org
Wikipedia
Wikipedia