MCPcopy Create free account

hub / github.com/TheScienceElf/Blocks-TI-84 / functions

Functions65 in github.com/TheScienceElf/Blocks-TI-84

↓ 31 callersMethodfill_space
Inclusively fills the space within the provided bounds with the specified block
src/world.cpp:483
↓ 14 callersFunctiondraw_left_triangle
Draws a left facing triangle
src/draw.cpp:98
↓ 14 callersFunctiondraw_right_triangle
Draws a right facing triangle
src/draw.cpp:134
↓ 12 callersFunctioncopy_tex_line
Copies pixels from a texture line into a VRAM line, applying a constant mask across all pixels In this case, the texture can be transparent, with blan
src/draw.cpp:25
↓ 10 callersMethodmove
src/player.h:11
↓ 10 callersMethodscroll_to_contain
src/player.h:133
↓ 9 callersFunctionproject_view_depth
src/world.h:29
↓ 6 callersMethodadd_tree
Adds a tree rooted at the provided position
src/world.cpp:494
↓ 6 callersFunctionmax
src/draw.cpp:639
↓ 6 callersFunctionmin
src/draw.cpp:643
↓ 6 callersMethodproject
On an infinite grid, we can increment each coordinate using these rules * Increment x: row++, idx++ * Increment y: row += 2, idx++ * Increment z: r
src/world.cpp:144
↓ 5 callersFunctiondraw_tri_grid
src/draw.cpp:429
↓ 5 callersFunctionexpand_draw_region
src/draw.cpp:655
↓ 4 callersFunctionprogress_bar
Draws the outline of a progress bar and the label
src/ui.h:35
↓ 4 callersFunctionproject_light_depth
src/world.h:33
↓ 3 callersMethoddraw
src/player.h:26
↓ 3 callersFunctiondraw_left_triangle_clipped
Draws a left facing triangle and checks every pixel to ensure nothing gets drawn out of bounds
src/draw.cpp:48
↓ 3 callersFunctiondraw_right_triangle_clipped
Draws a right facing triangle and checks every pixel to ensure nothing gets drawn out of bounds
src/draw.cpp:73
↓ 3 callersFunctionfill_progress_bar
Fills in the progress bar with the fraction of progress / total
src/ui.h:47
↓ 3 callersFunctionleft_triangle
(isometric, palette, x0, y0)
src/convert_textures.py:131
↓ 3 callersMethodremove_block
Removes the block at a given position from all world data structures and updates any blocks which become unshadowed
src/world.cpp:376
↓ 3 callersFunctionright_triangle
(isometric, palette, x0, y0)
src/convert_textures.py:114
↓ 2 callersFunctionempty_draw_region
src/draw.cpp:632
↓ 2 callersFunctionfrom_shadow_space
src/world.h:43
↓ 2 callersFunctioninit_ui_palette
Add the colors needed to draw the UI elements to the palette
src/ui.h:23
↓ 2 callersFunctionmenu
A generic menu implementation used in some of the save management GUI
src/ui.h:177
↓ 2 callersMethodplace_block
Inserts a block into the world data structures and updates any blocks which may be shadowed by it
src/world.cpp:318
↓ 2 callersMethodset_water
Adds a water block to the world's data structures and applies the water mask where appropriate
src/world.cpp:262
↓ 2 callersFunctionto_shadow_space
src/world.h:37
↓ 1 callersFunctionblock_select
The full block selection GUI. Dims the screen, draws the graphics, handles input and then returns the selected block. The previously selected block is
src/ui.h:91
↓ 1 callersMethodclear_world
src/world.cpp:508
↓ 1 callersFunctionconvert_isometric
(top, left, right)
src/convert_textures.py:8
↓ 1 callersFunctiondim_screen
src/draw.cpp:600
↓ 1 callersFunctiondraw_block
src/draw.cpp:410
↓ 1 callersFunctiondraw_block_select
Draws the block selection GUI during play-mode.
src/ui.h:53
↓ 1 callersFunctionerase
Deletes all related world files for a given ID
src/world_io.h:122
↓ 1 callersFunctiongenerate_demo
Makes ths demo world with a bunch of neat little structures
src/worldgen.h:144
↓ 1 callersFunctiongenerate_flat
Makes a flat world with a grass floor
src/worldgen.h:201
↓ 1 callersFunctiongenerate_natural
Makes a "natural" looking world with randomly generated terrain and trees
src/worldgen.h:13
↓ 1 callersFunctionget_closest_in_palette
(palette, color)
src/convert_textures.py:62
↓ 1 callersFunctionget_palette
(texture_map)
src/convert_textures.py:50
↓ 1 callersFunctionget_palette16
(palette)
src/convert_textures.py:89
↓ 1 callersFunctioninit
src/main.cpp:338
↓ 1 callersFunctioninit_palette
Populate the palette with our texture palette defined in this file
src/textures.cpp:80
↓ 1 callersFunctioninit_play
src/main.cpp:12
↓ 1 callersMethodinit_tri_grid
Populates the LUTs for indexing into the trigrid */
src/world.cpp:20
↓ 1 callersFunctionload
Attempts to load a world in from a given ID. Returns true or false depending on if this was successful
src/world_io.h:65
↓ 1 callersFunctionplay
src/main.cpp:82
↓ 1 callersFunctionrearrange_palette
(palette, target_colors)
src/convert_textures.py:76
↓ 1 callersFunctionsave
Saves a world and player position details to a set of files. (world_id should be 1-5 though that limit is only imposed by the UI)
src/world_io.h:10
↓ 1 callersMethodscroll_to_center
src/player.h:125
↓ 1 callersFunctionscroll_view
src/draw.cpp:511
↓ 1 callersMethodset_block
Adds this block to the world's data structures and applies any necessary masks
src/world.cpp:165
↓ 1 callersMethodset_block_shadow
Updates the shadow map with a solid block at the given position
src/world.cpp:300
↓ 1 callersFunctionworld_select
src/main.cpp:239
Methodcompute_left_shadow
Sweep through the world from a certain point to see if if the left side * of the block is in shadow. Returns the proper flags for that face */
src/world.cpp:109
Methodcompute_top_shadow
Sweep through the world from a certain point to see if if the top of * the block is in shadow. Returns the proper flags for that face */
src/world.cpp:84
Functiondraw_num
src/draw.cpp:613
Functionmain
src/main.cpp:356
Methodrefresh_shadows
Recomputes which shadow masks should be used for the block at the given position
src/world.cpp:218
Methodscan_shadow
Search along a triangle in shadow-space for the first solid block under it
src/world.cpp:363
Methodscan_tri
Search along a triangle in screen-space for the first solid block under it Use skip = WATER for strictly solid blocks and skip = AIR for all non-empty
src/world.cpp:353
Methodsweep_ray
Sweeps through blocks in the world starting from (x, y, z) and apply steps of * (dx, dy, dz) to offset the search. Return true if we find a solid bloc
src/world.cpp:68
Methodundraw
src/player.h:119
Methodunproject
src/world.cpp:150