move stars.txt to S3 bucket

This commit is contained in:
Stephen Birarda 2013-04-03 15:24:26 -07:00
parent 320fa9e5c8
commit 66a2b1a86f
2 changed files with 3 additions and 105002 deletions

File diff suppressed because it is too large Load diff

View file

@ -96,6 +96,7 @@ Oscilloscope audioScope(256,200,true);
#define HAND_RADIUS 0.25 // Radius of in-world 'hand' of you #define HAND_RADIUS 0.25 // Radius of in-world 'hand' of you
Head myHead; // The rendered head of oneself Head myHead; // The rendered head of oneself
char starFile[] = "https://s3-us-west-1.amazonaws.com/highfidelity/stars.txt";
FieldOfView fov; FieldOfView fov;
Stars stars; Stars stars;
#ifdef STARFIELD_KEYS #ifdef STARFIELD_KEYS
@ -327,7 +328,7 @@ void init(void)
head_lean_x = WIDTH/2; head_lean_x = WIDTH/2;
head_lean_y = HEIGHT/2; head_lean_y = HEIGHT/2;
stars.readInput("file://stars.txt", 0); stars.readInput(starFile, 0);
// Initialize Field values // Initialize Field values
field = Field(); field = Field();
@ -791,7 +792,7 @@ void key(unsigned char k, int x, int y)
if (k == 'j') stars.setResolution(starsTiles = max(starsTiles-1,1)); if (k == 'j') stars.setResolution(starsTiles = max(starsTiles-1,1));
if (k == 'i') if (starsLod < 1.0) starsLod = stars.changeLOD(1.01); if (k == 'i') if (starsLod < 1.0) starsLod = stars.changeLOD(1.01);
if (k == 'k') if (starsLod > 0.01) starsLod = stars.changeLOD(0.99); if (k == 'k') if (starsLod > 0.01) starsLod = stars.changeLOD(0.99);
if (k == 'r') stars.readInput("file://stars.txt", 0); if (k == 'r') stars.readInput(starFile, 0);
#endif #endif
if (k == 'a') myHead.setDriveKeys(ROT_LEFT, 1); if (k == 'a') myHead.setDriveKeys(ROT_LEFT, 1);
if (k == 'd') myHead.setDriveKeys(ROT_RIGHT, 1); if (k == 'd') myHead.setDriveKeys(ROT_RIGHT, 1);