Skip to content

Instantly share code, notes, and snippets.

@samdmarshall
Created June 28, 2013 00:40
Show Gist options
  • Select an option

  • Save samdmarshall/5881615 to your computer and use it in GitHub Desktop.

Select an option

Save samdmarshall/5881615 to your computer and use it in GitHub Desktop.
#include "SDMHaloMapLoader.h"
int main (int argc, const char * argv[]) {
struct HaloMap *map = ParseHaloMapFromFileWithPlugins("/Volumes/Data/Users/sam/Applications/Halo.app/Contents/Resources/GameData/Maps/beavercreek.map", "/Volumes/Data/Users/sam/Downloads/default (2)/");
printf("beavercreek vehicles: %i\n",map->mapData->vehiCount);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment