// // GameModeInfo.m // Cartographic // // Created by Starla Insigna on 11/28/11. // Copyright (c) 2011 Four Island. All rights reserved. // #import "GameModeInfo.h" #import "CCNotifications.h" #import "GameMode.h" #import "GameModeManager.h" #import "TestFlight.h" @implementation GameModeInfo @synthesize name, location, numOfStars, image, unlocked, globalHighscoreKey; - (id)initWithName:(NSString*)m_name location:(NSString*)m_location numOfStars:(int)m_numOfStars imageFilename:(NSString*)m_imageFilename unlocked:(BOOL)m_unlocked gameClass:(Class)m_gameClass globalHighscoreKey:(NSString*)m_globalHighscoreKey { self = [super init]; if (nil != self) { name = m_name; location = m_location; numOfStars = m_numOfStars; image = [[UIImage alloc] initWithContentsOfFile:m_imageFilename]; globalHighscoreKey = m_globalHighscoreKey; NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults]; unlocked = [defaults boolForKey:[NSString stringWithFormat:@"gameModeUnlocked-%@", name]]; if (!unlocked) { unlocked = m_unlocked; } stars = (BOOL*) calloc(numOfStars, sizeof(BOOL)); for (int i=0; i2 3 4 5 6 7 8 9 10 11 12 13
# Lingo 2 Randomizer Data

This folder contains the logic for the Lingo 2 randomizer in a human-readable
format. This data is compiled into a single file and used in the various parts
of the randomizer project (client, apworld, etc).

The data is structured using [Protocol Buffers](https://protobuf.dev/). The
schema for the human-readable format is
[located in the repository](https://code.fourisland.com/lingo2-archipelago/tree/proto/human.proto).

## Compiling

Hi.