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,446 public repositories matching this topic...

openage
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
bialasjaroslaw
bialasjaroslaw commented Dec 13, 2021

I have noticed that for some enums I have compilation fail (which is good, as I don't want to check if any code has some issues with wrong min/max specification for enum values one by one), but for others it is not complaining at all.

It seems that this happens only if there is a missing enum of value MAGIC_ENUM_RANGE_MAX+1

This is fairly representative example of the code that should fail

Created by Bjarne Stroustrup

Released October 1985

Website
isocpp.org
Wikipedia
Wikipedia