/dports/devel/allegro5/allegro5-5.2.7.0/examples/ |
H A D | ex_drawpixels.c | 8 #define NUM_STARS 300 macro 22 Point stars[3][NUM_STARS/3]; in main() 52 for (star = 0; star < NUM_STARS/3; star++) { in main() 76 for (star = 0; star < NUM_STARS/3; star++) { in main() 83 for (star = 0; star < NUM_STARS/3; star++) { in main() 108 for (star = 0; star < NUM_STARS/3; star++) { in main()
|
/dports/games/criticalmass/CriticalMass-1.5/game/ |
H A D | Starfield.cpp | 50 for( int i=0; i<NUM_STARS; i++) in init() 83 for( int i=0; i<NUM_STARS; i++) in update() 115 for( int i=0; i<NUM_STARS; i++) in updatePrevs() 133 GLfloat starVertices[NUM_STARS*3]; in draw() 134 GLfloat starColors[NUM_STARS*4]; in draw() 136 for( int i=0; i<NUM_STARS; i++) in draw() 157 glDrawArrays(GL_POINTS, 0, NUM_STARS); in draw()
|
H A D | Starfield.hpp | 20 const int NUM_STARS = 300; variable 78 Star _starInfo[ NUM_STARS]; 79 float _prevStarInfoY[ NUM_STARS];
|
/dports/games/atr3d/atr3d/ |
H A D | star.cpp | 11 struct Star StarArray[NUM_STARS]; 26 for (i=0; i<NUM_STARS; i++) { in InitStars() 59 j=rand()%NUM_STARS; in DrawStars() 76 for (i=0; i<NUM_STARS; i++) { in DrawStars()
|
H A D | star.h | 1 extern struct Star StarArray[NUM_STARS];
|
H A D | defines.h | 46 #define NUM_STARS 500 macro
|
/dports/audio/fasttracker2/ft2-clone-1.49/src/ |
H A D | ft2_about.c | 10 #define NUM_STARS 2048 macro 34 static int32_t lastStarScreenPos[NUM_STARS], fadeValue; 37 static vector_t starPoints[NUM_STARS], rotation; 87 for (int32_t i = 0; i < NUM_STARS; i++, s++) in aboutInit() 95 for (int32_t i = 0; i < NUM_STARS; i++) in aboutInit() 102 for (int16_t i = 0; i < NUM_STARS; i++, star++) in starfield()
|
/dports/astro/xphoon/xphoon-20000613/ |
H A D | xphoon.c | 325 #define NUM_STARS 9 macro 327 static int star_w[NUM_STARS] = { 330 static int star_h[NUM_STARS] = { 333 static char* star_bits[NUM_STARS] = { 336 static int star_prob[NUM_STARS] = { 700, 60, 15, 15, 6, 6, 6, 2, 2 }; 351 Pixmap star_pixmap[NUM_STARS]; in make_star_tiles() 354 for ( i = 0; i < NUM_STARS; ++i ) in make_star_tiles() 369 for ( k = 0; k < NUM_STARS; ++k ) in make_star_tiles() 385 for ( i = 0; i < NUM_STARS; ++i ) in make_star_tiles()
|
/dports/devel/allegro/allegro-4.4.3.1/examples/ |
H A D | exstars.c | 21 #define NUM_STARS 512 macro 29 VECTOR stars[NUM_STARS]; 31 fixed star_x[NUM_STARS]; 32 fixed star_y[NUM_STARS]; 79 for (i=0; i<NUM_STARS; i++) { in init_stars() 97 VECTOR outs[NUM_STARS]; in draw_stars() 99 for (i=0; i<NUM_STARS; i++) { in draw_stars() 117 for (i=0; i<NUM_STARS; i++) in erase_stars() 129 for (i=0; i<NUM_STARS; i++) { in move_stars()
|
/dports/lang/fpc-source/fpc-3.2.2/packages/libogcfpc/examples/graphics/gx/neheGX/lesson9/ |
H A D | lesson9.pp | 17 NUM_STARS = 50; 45 stars: array [0..NUM_STARS-1] of TStar; 168 for i:=0 to NUM_STARS - 1 do 171 stars[i].dist := f32(i)/f32(NUM_STARS); 188 for i:=0 to NUM_STARS - 1 do 216 stars[i].ang := stars[i].ang + f32(i)/f32(NUM_STARS);
|
/dports/games/taisei/taisei-1.3.2/src/stages/ |
H A D | stage6.c | 78 NUM_STARS = 200 enumerator 81 static float starpos[3*NUM_STARS]; 148 for(int i = 0; i < NUM_STARS; i++) { in stage6_skysphere_draw() 233 for(int i = 0; i < NUM_STARS; i++) { in stage6_start()
|
/dports/games/uqm/uqm-0.8.0/src/uqm/ |
H A D | galaxy.c | 40 #define NUM_STARS (BIG_STAR_COUNT \ macro 45 static POINT log_star_array[NUM_STARS]; 249 for (i = 0, ppt = log_star_array; i < NUM_STARS; ++i, ++ppt) in InitGalaxy() 463 DisplayLinks = MakeLinks (NUM_STARS - 1, 0); in MoveGalaxy()
|
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/GameSrc/ |
H A D | rendtool.c | 81 #define NUM_STARS 1000 macro 83 sts_vec star_vec[NUM_STARS]; 84 uchar star_col[NUM_STARS]; 426 star_set(NUM_STARS, star_vec, star_col); in game_fr_startup()
|
/dports/games/xoids/xoids-1.5/ |
H A D | oids.h | 68 #define NUM_STARS 40 macro 322 XPoint starfield[NUM_STARS]; /* Coordinates of stars */
|
/dports/games/pioneer/pioneer-20210723/src/ |
H A D | Background.cpp | 434 const Sint32 NUM_STARS = m_animBuffer->GetDesc().numVertices / 2; in Draw() local 437 for (int i = 0; i < NUM_STARS; i++) { in Draw() 438 vector3f v = m_hyperVtx[NUM_STARS * 2 + i] + vector3f(pz * hyperspaceProgress * mult); in Draw() 439 const Color &c = m_hyperCol[NUM_STARS * 2 + i]; in Draw() 441 vtxPtr[i * 2].pos = m_hyperVtx[i * 2] = m_hyperVtx[NUM_STARS * 2 + i] + v; in Draw()
|
/dports/x11/xscreensaver/xscreensaver-5.44/hacks/ |
H A D | blaster.c | 90 int NUM_STARS; member 722 if(st->NUM_STARS) { in init_stars() 724 st->stars = (XArc *) malloc (st->NUM_STARS * sizeof(XArc)); in init_stars() 725 for(st->draw_x=0;st->draw_x<st->NUM_STARS;st->draw_x++) { in init_stars() 763 if(st->NUM_STARS) { in blaster_draw() 765 if (st->black) XFillArcs(st->dpy,st->window,st->black,st->stars,st->NUM_STARS); in blaster_draw() 805 for(st->draw_x=0;st->draw_x<st->NUM_STARS;st->draw_x++) { in blaster_draw() 823 for(st->draw_x=0;st->draw_x<st->NUM_STARS;st->draw_x++) { in blaster_draw() 840 XFillArcs(st->dpy,st->window,st->s_color,st->stars,st->NUM_STARS); in blaster_draw() 843 XFillArcs(st->dpy,st->window,st->s_color,st->stars,st->NUM_STARS); in blaster_draw() [all …]
|
/dports/games/toppler/toppler-1.1.6/ |
H A D | decl.h | 131 #define NUM_STARS 100 macro
|
/dports/misc/gkrellshoot2/gkrellShoot-0.4.4/ |
H A D | gkrellshoot.c | 429 #define NUM_STARS 300 macro 430 double star_x[NUM_STARS]; 431 double star_y[NUM_STARS]; 432 double star_z[NUM_STARS]; 433 double star_zv[NUM_STARS]; 435 double star_screenx[NUM_STARS]; 436 double star_screeny[NUM_STARS]; 449 for (i = 1; i < NUM_STARS; i++) in draw_starfield() 462 for (i = 1; i < NUM_STARS; i++) in draw_starfield()
|
/dports/games/scummvm/scummvm-2.5.1/engines/startrek/ |
H A D | space.h | 177 #define NUM_STARS 16 macro
|
H A D | space.cpp | 92 for (int i = 0; i < NUM_STARS; i++) { in drawStarfield()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/startrek/ |
H A D | space.h | 182 #define NUM_STARS 16 macro
|
H A D | space.cpp | 86 for (int i = 0; i < NUM_STARS; i++) { in drawStarfield()
|
H A D | startrek.h | 768 Star _starList[NUM_STARS];
|
/dports/x11/xlockmore/xlockmore-5.67/modes/glx/ |
H A D | glplanet.c | 186 #define NUM_STARS 1000 macro 455 for(i = 0 ; i < NUM_STARS ; i++) in generate_stars()
|
/dports/games/el/Eternal-Lands-1.9.5.9-1/ |
H A D | sky.c | 125 #define NUM_STARS 3000 macro 2389 float strs[NUM_STARS][3]; in skybox_init_gl() 2409 for (i = 0; i < NUM_STARS; i++) in skybox_init_gl() 2426 for (i = 0; i < NUM_STARS/3; i++) in skybox_init_gl() 2434 for (i = 1*NUM_STARS/3; i < 2*NUM_STARS/3; i++) in skybox_init_gl() 2442 for (i = 2*NUM_STARS/3; i < NUM_STARS; i++) in skybox_init_gl()
|