mirror of
https://github.com/zeldaret/st
synced 2026-07-08 06:20:43 -04:00
Match GameModeManager and nearby/related functions (#22)
* match GameModeManager and surroundings * add small comment about data_ov000_020b1e48 * minor fixes * overlay 0 gamemode stuff * tool hotfix
This commit is contained in:
@@ -57,7 +57,7 @@ class ConfigVersion:
|
||||
|
||||
entry = self.get_entry_from_name(units, self.objdiff_json["units"][i]["name"])
|
||||
if entry is not None:
|
||||
self.objdiff_json["units"][i]["scratch"]["c_flags"] = entry.get_all_cflags()
|
||||
self.objdiff_json["units"][i]["scratch"]["c_flags"] = f"{entry.get_all_cflags()} -DVERSION={self.name.upper()}"
|
||||
self.objdiff_json["units"][i]["scratch"]["compiler"] = entry.mw_version
|
||||
|
||||
def get_entry_from_name(self, units: list[ConfigUnit], base_name: str):
|
||||
|
||||
Reference in New Issue
Block a user