Skip to content

map_data: change sentinel value #146

@bates64

Description

@bates64

The map_data format currently uses "end_data" as the sentinel string. Sentinel meaning thing that signals the end of an array. This means files can't be named "end_data", which is unlikely but not a great limitation to have. Instead, we should use an empty string "" and detect that instead.

This will require

  • Changing map_data.py to use the new string
  • Changing the following ASSERT condition to use the new string

ASSERT_MSG(strcmp(curAsset->name, "end_data") != 0, "Asset not found: %s", assetName);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions