Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: c3367962ba
Fetching contributors…

Cannot retrieve contributors at this time

executable file 86 lines (74 sloc) 4.53 kB
//
// Prefix header for all source files of the 'seeker1' target in the 'seeker1' project
//
//-----------------------------------------------------------------------------------------------------------------------------------
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#endif
//-----------------------------------------------------------------------------------------------------------------------------------
// node tags
//-----------------------------------------------------------------------------------------------------------------------------------
#define kMAP 0
//-----------------------------------------------------------------------------------------------------------------------------------
// terminal
//-----------------------------------------------------------------------------------------------------------------------------------
#define kTERMINAL_DEFAULT_CELL_HEIGHT 50.0
#define kTERMINAL_DO_TIMES_CELL_HEIGHT 100.0
#define kTERMINAL_DO_WHILE_CELL_HEIGHT 100.0
#define kTERMINAL_DO_UNTIL_CELL_HEIGHT 100.0
//-----------------------------------------------------------------------------------------------------------------------------------
// map
//-----------------------------------------------------------------------------------------------------------------------------------
#define kMAP_SENSOR_SITE_GID 18
#define kMAP_SAMPLE_SITE_GID 34
#define kMAP_SENSOR_GID 26
//-----------------------------------------------------------------------------------------------------------------------------------
// level thresholds
//-----------------------------------------------------------------------------------------------------------------------------------
#define kLEVEL_FOR_SUBROUTINES 13
#define kLEVEL_FOR_TIMES 19
#define kLEVEL_FOR_UNTIL 25
#define kLEVEL_FOR_BINS 31
//-----------------------------------------------------------------------------------------------------------------------------------
// missions
//-----------------------------------------------------------------------------------------------------------------------------------
#define kMISSIONS_PER_QUAD 12
#define kMISSIONS_PER_ROW 3
#define kMISSIONS_ROWS 4
#define kQUADS_TOTAL 3
//-----------------------------------------------------------------------------------------------------------------------------------
// scoring
//-----------------------------------------------------------------------------------------------------------------------------------
#define kPOINTS_PER_OBJECT 500
#define kPOINTS_PER_CODE_LINE 100
//-----------------------------------------------------------------------------------------------------------------------------------
// fonts
//-----------------------------------------------------------------------------------------------------------------------------------
#define kTERM_FONT @"Courier"
#define kTERM_FONT_SIZE 12.0
#define kGLOBAL_FONT @"Courier"
#define kGLOBAL_FONT_SIZE 22.0
#define kGLOBAL_FONT_SIZE_LARGE 24.0
#define kGLOBAL_FONT_SIZE_REALLY_LARGE 30.0
#define kGLOBAL_FONT_SIZE_MISSION 18.0
#define kCCLABEL_FONT_COLOR ccc3(0,170,0)
#define kCCLABEL_FONT_GOLD_COLOR ccc3(200,200,0)
#define kCCLABEL_FONT_RED_COLOR ccc3(204,51,0)
//-----------------------------------------------------------------------------------------------------------------------------------
// opacity
//-----------------------------------------------------------------------------------------------------------------------------------
#define kALPHA_MIN 0.4
#define kALPHA_MAX 0.50
#define kALPHA_DELTA 0.10
//-----------------------------------------------------------------------------------------------------------------------------------
// seeker speed
//-----------------------------------------------------------------------------------------------------------------------------------
#define kSEEKER_MIN_SPEED_SCALE 1.0
#define kSEEKER_DELTA_SPEED_SCALE 5.0
#define kSEEKER_ROTATION_DURATION_PER_QUAD 0.35f
#define kSEEKER_MIN_SPEED 0
#define kSEEKER_MAX_SPEED 30
#define kSEEKER_DELTA_SPEED 5
#define kSEEKER_ZERO_GRADIENT_SPEED 15
#define kSEEKER_GRID_DISTANCE 10.0
Jump to Line
Something went wrong with that request. Please try again.