/dports/games/xkoules/koules1.4/svgalib/ |
H A D | init.c | 28 int MAPWIDTH = 640; variable 140 gl_setclippingwindow (0, 0, MAPWIDTH - 1, in initialize() 163 gl_setclippingwindow (0, 0, MAPWIDTH - 1, in initialize() 167 gl_setclippingwindow (0, 0, MAPWIDTH - 1, in initialize() 175 gl_setclippingwindow (0, 0, MAPWIDTH - 1, in initialize() 197 { int offset=MAPWIDTH * (MAPHEIGHT+20) * page,offset1=MAPWIDTH * (MAPHEIGHT+20)*(page^1); in flippage() 358 MAPWIDTH = 900; in main() 370 MAPWIDTH = 320; in main() 381 MAPWIDTH = 640; in main() 388 MAPWIDTH = 320; in main() [all …]
|
H A D | interface.h | 36 extern int MAPWIDTH; 74 #define BSetPixel(bitmap,x,y,color) *(BitmapToBuffer(bitmap)+(x)+(y)*MAPWIDTH)=color 75 #define SMySetPixel(screen,x,y,color) *(VScreenToBuffer(screen)+(x)+((y)>>8)*MAPWIDTH)=color 136 gl_copyboxtocontext(0,0,MAPWIDTH,MAPHEIGHT+20,destination,0,0); in CopyVSToVS()
|
/dports/games/xkoules/koules1.4/ |
H A D | menu.c | 55 #define XPOSITION(i) (MAPWIDTH/2-4*strlen(menu[i].text)) 56 #define XPOSITION1(i) (MAPWIDTH/2+4*strlen(menu[i].text)) 624 mx2 = MAPWIDTH - 10; in init_menu() 642 DrawBlackMaskedText (MAPWIDTH / 2 - 8 * 4 + 1, 1, "THE GAME"); in draw_menu() 643 DrawBlackMaskedText (MAPWIDTH / 2 - 10 * 4 + 1, 11, "K O U L E S"); in draw_menu() 644 DrawBlackMaskedText (MAPWIDTH / 2 - 2 * 4 + 1, 21, "BY"); in draw_menu() 645 DrawBlackMaskedText (MAPWIDTH / 2 - 8 * 4 + 1, 31, "JAHUSOFT"); in draw_menu() 650 DrawWhiteMaskedText (MAPWIDTH / 2 - 8 * 4, 0, "THE GAME"); in draw_menu() 651 DrawWhiteMaskedText (MAPWIDTH / 2 - 10 * 4, 10, "K O U L E S"); in draw_menu() 652 DrawWhiteMaskedText (MAPWIDTH / 2 - 2 * 4, 20, "BY"); in draw_menu() [all …]
|
H A D | font.c | 43 #define __clipx2 (MAPWIDTH-3) 191 syp = sy * MAPWIDTH; in gl_wide_line() 234 syp = sy * MAPWIDTH; in gl_wide_line() 300 gl_hline((int)(MAPWIDTH/2+(x1)*220/(1000-(y1))/DIV),(int)(MAPHEIGHT/3+MAPWIDTH*220/(1000-(y1))),\ 301 (int)(MAPWIDTH/2+(x2)*220/(1000-(y2))/DIV),\ 304 …gl_putpixel((int)(MAPWIDTH/2+(x1)*220/(1000-(y1))/DIV),(int)(MAPHEIGHT/3+MAPWIDTH*220/(1000-(y1)))… 348 if (x1 > MAPWIDTH - 1) in HLine() 350 if (x2 > MAPWIDTH - 1) in HLine() 351 x2 = MAPWIDTH - 1; in HLine() 378 if (x1 >= MAPWIDTH - 2) in SSetPixel() [all …]
|
H A D | framebuffer.c | 384 for (x = 0; x < MAPWIDTH; x++) in createbackground() 401 i += *(pixel - MAPWIDTH) - back (0); in createbackground() 427 for (x = 0; x < MAPWIDTH; x++) in Shmcreatebackground() 439 i += *(pixel - MAPWIDTH) - back (0); in Shmcreatebackground() 450 for (x = 0; x < MAPWIDTH; x++) in Shmcreatebackground() 472 ZPixmap, 0, data, MAPWIDTH, MAPHEIGHT + 20, in createbackground() 475 for (x = 0; x < MAPWIDTH; x++) in createbackground() 497 for (x = 0; x < MAPWIDTH; x++) in createbackground() 514 x1 = rand () % MAPWIDTH; in drawstarbackground() 534 HLine (0, MAPHEIGHT, MAPWIDTH - 1, back (16)); in drawbackground() [all …]
|
H A D | intro.c | 44 PutBitmap ((int) (MAPWIDTH / 2 - BALL_RADIUS / DIV + sin (RAD (i + s)) * r), in draw_koules() 49 PutBitmap ((int) (MAPWIDTH / 2 - BALL_RADIUS / DIV + sin (RAD (i + s)) * r), in draw_koules() 54 PutBitmap ((int) (MAPWIDTH / 2 - BALL_RADIUS / DIV + sin (RAD (i + s)) * r), in draw_koules() 71 x1 = (MAPWIDTH / 2 - +sin (RAD (i)) * r); in koulescreator() 97 (MAPWIDTH / 2 - x) * 256 / (time) * DIV, in starcreator() 158 r[1] = r[2] = r[0] = sqrt ((MAPWIDTH / 2) * (MAPWIDTH / 2) + in starwars() 237 bballx = MAPWIDTH / 2, in starwars() 253 playx = MAPWIDTH / 2, playy = MAPHEIGHT / 2, playr = RAD (180), rp[0] = 1.5 / DIV; in starwars() 466 …if(!first) draw_player (MAPWIDTH / 2 - width / 2 + z * width / (nrockets1), playy, playr, z, (int)… in outro2() 481 staraccel ((MAPWIDTH / 2 - width / 2 + z * width / (nrockets1)) * DIV, (playy) * DIV, playr); in outro2()
|
/dports/games/xkoules/koules1.4/xlib/ |
H A D | init.c | 109 #define Width MAPWIDTH 186 testpixmap = XCreatePixmap (dp, wi, MAPWIDTH, MAPHEIGHT + 20, DefaultDepth (dp, screen)); in GetImage() 482 sizehints->min_width = MAPWIDTH; in initialize() 484 sizehints->max_width = MAPWIDTH; in initialize() 537 starbackground.vbuff = malloc (MAPWIDTH * (MAPHEIGHT + 20)); in initialize() 538 background.vbuff = malloc (MAPWIDTH * (MAPHEIGHT + 20)); in initialize() 627 MAPWIDTH = 640; in main() 734 MAPWIDTH = 900; in main() 748 MAPWIDTH = 320; in main() 762 MAPWIDTH = 640; in main() [all …]
|
H A D | interface.c | 100 memset (current.vbuff, pixels[0], MAPWIDTH * (MAPHEIGHT + 20)); in ClearScreen() 104 XFillRectangle (dp, current.pixmap, blackgc, 0, 0, MAPWIDTH, MAPHEIGHT + 20); in ClearScreen() 114 __memcpy (destination.vbuff, source.vbuff, MAPWIDTH * (MAPHEIGHT + 20)); in CopyVSToVS() 116 memcpy (destination.vbuff, source.vbuff, MAPWIDTH * (MAPHEIGHT + 20)); in CopyVSToVS() 121 … XCopyArea (dp, source.pixmap, destination.pixmap, whitegc, 0, 0, MAPWIDTH, MAPHEIGHT + 20, 0, 0); in CopyVSToVS() 135 *end = (unsigned char *) source.vbuff + MAPWIDTH * (MAPHEIGHT + 20); in CopyToScreen() 156 *end = (unsigned char *) source.vbuff + MAPWIDTH * (MAPHEIGHT + 20); in CopyToScreen() 175 XPutImage (dp, wi, whitegc, source.ximage, 0, 0, 0, 0, MAPWIDTH, MAPHEIGHT + 20); in CopyToScreen() 177 XShmPutImage (dp, wi, whitegc, source.ximage, 0, 0, 0, 0, MAPWIDTH, MAPHEIGHT + 20, True); in CopyToScreen()
|
H A D | interface.h | 79 WHERE int MAPWIDTH; variable 179 #define SMySetPixel(screen,x,y,color) *(VScreenToBuffer(screen)+(int)(x)+(((int)(y))>>8)*MAPWIDTH)=… 180 #define SSetPixel(x,y,color) (((int)shm)?(*(VScreenToBuffer(current)+(int)(x)+((int)(y))*MAPWIDTH)=… 184 #define SSetPixel1(x,y,color) (*(VScreenToBuffer(current)+(int)(x)+((int)(y))*MAPWIDTH)=cpixels(col… 185 #define HLine1(x1,y1,x2,color) memset(VScreenToBuffer(current)+(int)(x1)+((int)(y1))*MAPWIDTH,cpixe… 186 #define HLine(x1,y1,x2,color) memset(VScreenToBuffer(current)+(int)(x1)+((int)(y1))*MAPWIDTH,cpixe…
|
H A D | shmbitmap.c | 26 #define BYTEWIDTH MAPWIDTH 28 #define __clipx2 (MAPWIDTH-2) 233 #define __clipx2 (MAPWIDTH-1) 380 point = VScreenToBuffer (backscreen) + x + y * MAPWIDTH; in Line() 384 syp = sy * MAPWIDTH; in Line() 403 syp = sy * MAPWIDTH; in Line()
|
H A D | text.c | 13 #define ASSIGNVP8(x, y, vp) vp = (unsigned char *)VScreenToBuffer(current) + (y)*MAPWIDTH + (x); 26 vp += MAPWIDTH; in putbox() 68 vp += MAPWIDTH - w; in putboxmask()
|
/dports/graphics/svgalib/svgalib-1.4.3/demos/ |
H A D | fun.c | 29 #define MAPWIDTH 800 macro 78 int map[MAPWIDTH][MAPHEIGHT]; 176 for (x = 0; x < MAPWIDTH; x++) in clearmap() 186 x = randomn(MAPWIDTH); in findfreeposition() 312 for (x = 0; x < MAPWIDTH; x++) { in createbackground() 339 for (x = 0; x < MAPWIDTH; x++) { in drawbackground() 381 if (x + strlen(s) * 8 > MAPWIDTH) in writestat() 382 x = MAPWIDTH - strlen(s) * 8; in writestat() 423 if (nx < 0 || nx >= MAPWIDTH) { in move() 442 if (pop >= MAPWIDTH * MAPHEIGHT * 255 / 256) { in move()
|
/dports/games/blobwars/blobwars-2.00/src/ |
H A D | mapEditor.cpp | 92 for (int x = 0 ; x < MAPWIDTH ; x++) in showMap() 236 for (int x = 0 ; x < MAPWIDTH ; x++) in saveMap() 294 for (int x = 0 ; x < MAPWIDTH ; x++) in collectMapData() 306 for (int x = 0 ; x < MAPWIDTH ; x++) in collectMapData() 328 for (int x = 0 ; x < MAPWIDTH ; x++) in newMap() 361 for (int x = 0 ; x < MAPWIDTH ; x++) in addTileDecoration() 373 for (int x = 0 ; x < MAPWIDTH ; x++) in addTileDecoration() 423 if (right >= MAPWIDTH) in fillHorizontal() 425 right = MAPWIDTH - 1; in fillHorizontal() 640 if (mapX > MAPWIDTH - 40) mapX = MAPWIDTH - 40; in main()
|
/dports/games/xkoules/koules1.4/os2dive/ |
H A D | init.c | 46 int MAPWIDTH = 320; variable 188 MAPWIDTH = 320; in main() 197 MAPWIDTH = 320; in main() 206 MAPWIDTH = 640; in main()
|
H A D | interface.h | 44 extern int MAPWIDTH; 59 (((((int)(y)>>8))*MAPWIDTH)))=color
|
/dports/games/wolfpack/empire-4.4.1/src/lib/commands/ |
H A D | sect.c | 61 mapbuf = malloc(WORLD_Y * MAPWIDTH(1)); in c_sect() 66 map[i] = &mapbuf[MAPWIDTH(1) * i]; in c_sect()
|
H A D | rout.c | 69 mapbuf = malloc(WORLD_Y * MAPWIDTH(3)); in c_route() 74 map[i] = &mapbuf[MAPWIDTH(3) * i]; in c_route()
|
H A D | surv.c | 84 mapbuf = malloc(WORLD_Y * MAPWIDTH(1)); in c_survey() 89 map[i] = &mapbuf[MAPWIDTH(1) * i]; in c_survey()
|
H A D | path.c | 85 mapbuf = malloc(WORLD_Y * MAPWIDTH(3)); in c_path() 90 map[i] = &mapbuf[MAPWIDTH(3) * i]; in c_path()
|
/dports/games/xkoules/koules1.4/historic/ |
H A D | koule.c | 21 #define MAPWIDTH (PLAY_X2-PLAY_X1) macro 306 for (x = 0; x < MAPWIDTH; x++) { in createbackground() 343 object[i].x=rand()%MAPWIDTH; in init_objects() 383 if(point[i].x>0&&point[i].x>>8<MAPWIDTH&& in points() 453 if(object[i].x-object[i].radius<0||object[i].x+object[i].radius>MAPWIDTH|| in check_limit() 464 if(object[i].x-object[i].radius<0||object[i].x+object[i].radius>MAPWIDTH) in check_limit() 480 object[i].x=rand()%MAPWIDTH; in check_limit() 556 object[i].x=rand()%MAPWIDTH; in creator() 570 x=rand()%MAPWIDTH; in creator()
|
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/TileEngine/ |
H A D | Isometric_Utils.cc | 22 -MAPWIDTH, //N 23 1-MAPWIDTH, //NE 25 1+MAPWIDTH, //SE 26 MAPWIDTH, //S 27 MAPWIDTH-1, //SW 29 -MAPWIDTH-1 //NW
|
H A D | Isometric_Utils.h | 17 #define MAPWIDTH (WORLD_COLS) macro 19 #define MAPLENGTH (MAPHEIGHT*MAPWIDTH)
|
/dports/games/wolfpack/empire-4.4.1/src/lib/subs/ |
H A D | maps.c | 212 wmapbuf = malloc(WORLD_Y * MAPWIDTH(1)); in draw_map() 217 wmap[i] = &wmapbuf[MAPWIDTH(1) * i]; in draw_map() 451 wmapbuf = malloc(WORLD_Y * MAPWIDTH(1)); in nav_map() 456 wmap[i] = &wmapbuf[MAPWIDTH(1) * i]; in nav_map()
|
H A D | radmap.c | 81 radbuf = malloc(WORLD_Y * MAPWIDTH(1)); in radmap() 83 visbuf = malloc(WORLD_Y * MAPWIDTH(1)); in radmap()
|
/dports/games/wolfpack/empire-4.4.1/include/ |
H A D | map.h | 53 #define MAPWIDTH(persec) (WORLD_X/2 * ((persec) + 1) + ((persec) + 2) / 2) macro
|