|
290 | 290 | 0, \ |
291 | 291 | void, \ |
292 | 292 | tic_mem*, s32 index, s32 x, s32 y, s32 w, s32 h, \ |
293 | | - u8* trans_colors, u8 trans_count, s32 scale, tic_flip flip, tic_rotate rotate) \ |
| 293 | + u8* trans_colors, u8 trans_count, s32 scale, tic_flip flip, tic_rotate rotate) \ |
294 | 294 | \ |
295 | 295 | \ |
296 | 296 | macro(btn, \ |
|
363 | 363 | "The map can be up to 240 cells wide by 136 deep.\n" \ |
364 | 364 | "This function will draw the desired area of the map to a specified screen position.\n" \ |
365 | 365 | "For example, map(5,5,12,10,0,0) will draw a 12x10 section of the map, " \ |
366 | | - "starting from map coordinates (5,5) to screen position (0,0).\n" \ |
| 366 | + "starting from map coordinates (5,5) to screen position (0,0).\n" \ |
367 | 367 | "The map function's last parameter is a powerful callback function " \ |
368 | 368 | "for changing how map cells (sprites) are drawn when map is called.\n" \ |
369 | 369 | "It can be used to rotate, flip and replace sprites while the game is running.\n" \ |
|
379 | 379 | 1, \ |
380 | 380 | void, \ |
381 | 381 | tic_mem*, s32 x, s32 y, s32 width, s32 height, s32 sx, s32 sy, \ |
382 | | - u8* trans_colors, u8 trans_count, s32 scale, RemapFunc remap, void* data) \ |
| 382 | + u8* trans_colors, u8 trans_count, s32 scale, RemapFunc remap, void* data) \ |
383 | 383 | \ |
384 | 384 | \ |
385 | 385 | macro(mget, \ |
@@ -606,17 +606,17 @@ enum |
606 | 606 | \ |
607 | 607 | \ |
608 | 608 | macro(font, \ |
609 | | - "font(text x y chromakey char_width char_height fixed=false scale=1) -> width", \ |
| 609 | + "font(text x y chromakey char_width char_height fixed=false scale=1 alt=false) -> width", \ |
610 | 610 | \ |
611 | 611 | "Print string with font defined in foreground sprites.\n" \ |
612 | 612 | "To simply print to the screen, check out `print()`.\n" \ |
613 | 613 | "To print to the console, check out `trace()`.", \ |
614 | | - 8, \ |
| 614 | + 9, \ |
615 | 615 | 6, \ |
616 | 616 | 0, \ |
617 | 617 | s32, \ |
618 | 618 | tic_mem*, const char* text, s32 x, s32 y, \ |
619 | | - u8* trans_colors, u8 trans_count, s32 w, s32 h, bool fixed, s32 scale, bool alt) \ |
| 619 | + u8* trans_colors, u8 trans_count, s32 w, s32 h, bool fixed, s32 scale, bool alt) \ |
620 | 620 | \ |
621 | 621 | \ |
622 | 622 | macro(mouse, \ |
|
700 | 700 | tic_mem*, float x1, float y1, float x2, float y2, float x3, float y3, u8 color) \ |
701 | 701 | \ |
702 | 702 | \ |
703 | | - macro(ttri, \ |
704 | | - "ttri(x1 y1 x2 y2 x3 y3 u1 v1 u2 v2 u3 v3 texsrc=0 chromakey=-1 z1=0 z2=0 z3=0)", \ |
| 703 | + macro(ttri, \ |
| 704 | + "ttri(x1 y1 x2 y2 x3 y3 u1 v1 u2 v2 u3 v3 texsrc=0 chromakey=-1 z1=0 z2=0 z3=0)", \ |
705 | 705 | \ |
706 | 706 | "It renders a triangle filled with texture from image ram, map ram or vbank.\n" \ |
707 | 707 | "Use in 3D graphics.\n" \ |
|
0 commit comments