MCPcopy Create free account

hub / github.com/TanTanDev/DigEscape / functions

Functions76 in github.com/TanTanDev/DigEscape

↓ 29 callersFunctiongetArray
(ptr, arr, n)
utils/wasm/gl.js:63
↓ 18 callersFunctionassert
(flag, message)
utils/wasm/gl.js:24
↓ 16 callersMethodget
(&self)
src/particle_system.rs:435
↓ 13 callersMethodplay
(&mut self, index: usize)
src/sound_collection.rs:11
↓ 11 callersMethodget_mut
(&mut self, identifier: u32)
src/particle_system.rs:492
↓ 9 callersFunctionUTF8ToString
(ptr, maxBytesToRead)
utils/wasm/gl.js:67
↓ 8 callersMethodadd_system
(&mut self, system: ParticleSystem)
src/particle_system.rs:486
↓ 8 callersFunctionrender
( game_state: &mut GameState, sprite_collection: &SpriteCollection, ctx: &mut Context, screen_
src/entities/cloud.rs:45
↓ 5 callersMethodemit
(&mut self, amount: i32)
src/particle_system.rs:229
↓ 4 callersMethodmax
(&self)
src/particle_system.rs:458
↓ 3 callersMethodcopy_settings
(&mut self, other: &ParticleSystem)
src/particle_system.rs:77
↓ 3 callersFunctionload_map
( ctx: &mut Context, game_state: &mut GameState, map_index: usize, screen_size: &na::Point2<f3
src/map.rs:62
↓ 3 callersFunctionvec_from_angle
helper funcitons in radians
src/particle_system.rs:24
↓ 2 callersFunctionclear_map
(game_state: &mut GameState)
src/map.rs:52
↓ 2 callersFunctionemit_step_particle
( particle_collection: &mut ParticleSystemCollection, step_id: &u32, amount: i32, is_right_dir
src/particle_system.rs:516
↓ 2 callersFunctionforce_visual_positions
(game_state: &mut GameState, screen_size: &na::Point2<f32>)
src/util.rs:38
↓ 2 callersFunctioninit_plugins
(plugins)
utils/wasm/gl.js:971
↓ 2 callersFunctionlerp
(from: f32, to: f32, dt: f32)
src/util.rs:8
↓ 2 callersFunctionrender_border
(ctx: &mut Context, border: &Option<BlackBorder>)
src/util.rs:68
↓ 2 callersFunctionrender_text
( text: &graphics::Text, ctx: &mut Context, screen_size: &na::Point2<f32>, offset: na::Vector2
src/util.rs:12
↓ 2 callersFunctionresize
(canvas, on_resize)
utils/wasm/gl.js:332
↓ 2 callersMethodrestart_current_map
(&mut self, ctx: &mut Context)
src/states/main_state.rs:195
↓ 2 callersFunctionsystem
( game_state: &mut GameState, ctx: &mut Context, current_map: &mut usize, sound_collection: &m
src/entities/player.rs:111
↓ 1 callersFunctionacquireInstancedArraysExtension
(ctx)
utils/wasm/gl.js:45
↓ 1 callersFunctionacquireVertexArrayObjectExtension
(ctx)
utils/wasm/gl.js:30
↓ 1 callersFunctionattack
( game_state: &mut GameState, _ctx: &mut Context, sound_collection: &mut SoundCollection, part
src/entities/skeleton.rs:214
↓ 1 callersFunctionblock_system
(game_state: &mut GameState, sound_collection: &mut SoundCollection)
src/entities/skeleton.rs:44
↓ 1 callersMethoddig
(&mut self)
src/entities/skeleton.rs:27
↓ 1 callersFunctiongenerate
(game_state: &mut GameState)
src/entities/foilage.rs:57
↓ 1 callersMethodget_direction
( &self, velocity_type: &VelocityType, _position: &Point2<f32>, )
src/particle_system.rs:397
↓ 1 callersFunctionget_map_name
(index: usize)
src/map.rs:48
↓ 1 callersMethodget_position
Todo: Implement other shapes other than point and cirle
src/particle_system.rs:381
↓ 1 callersMethodgrow
Returns the first available index
src/particle_system.rs:252
↓ 1 callersFunctionin_bounds
Returns if the skeleton warped y
src/entities/skeleton.rs:287
↓ 1 callersFunctionlerp
(from: f32, to: f32, delta: f32)
src/particle_system.rs:28
↓ 1 callersFunctionmake_image
(ctx: &mut Context)
src/particle_system.rs:70
↓ 1 callersFunctionminiquad_add_plugin
(plugin)
utils/wasm/gl.js:983
↓ 1 callersMethodparticle_setup
Setup the data for a newly created particle index is assumed to be in bounds
src/particle_system.rs:295
↓ 1 callersFunctionregister_plugins
(plugins)
utils/wasm/gl.js:960
↓ 1 callersFunctionrender_all_levels_completed
( game_state: &mut GameState, ctx: &mut Context, screen_size: &na::Point2<f32>, )
src/states/main_state.rs:546
↓ 1 callersFunctionrender_background
(ctx: &mut Context, screen_size: &na::Point2<f32>)
src/states/main_state.rs:488
↓ 1 callersFunctionrender_game
( game_state: &mut GameState, sprite_collection: &SpriteCollection, ctx: &mut Context, screen_
src/states/main_state.rs:397
↓ 1 callersFunctionrender_game_over
( game_state: &mut GameState, ctx: &mut Context, screen_size: &na::Point2<f32>, )
src/states/main_state.rs:525
↓ 1 callersFunctionrender_sound_button
( ctx: &mut Context, sprite_collection: &SpriteCollection, sound_collection: &SoundCollection, )
src/states/main_state.rs:506
↓ 1 callersFunctionrender_system
( game_state: &mut GameState, sprite_collection: &SpriteCollection, ctx: &mut Context, screen_
src/states/main_state.rs:460
↓ 1 callersFunctionreset_turns
(game_state: &mut GameState)
src/entities/skeleton.rs:81
↓ 1 callersMethodresize_event
(&mut self, ctx: &mut Context, w: f32, h: f32)
src/states/main_state.rs:310
↓ 1 callersMethodshould_step
( &mut self, dt: f32, grasses: &Vec<Grass>, skeletons: &Vec<Skeleton>,
src/entities/player.rs:54
↓ 1 callersFunctionspawn
(game_state: &mut GameState)
src/entities/cloud.rs:66
↓ 1 callersMethodtry_release
(&mut self)
src/entities/skeleton.rs:32
↓ 1 callersFunctionupdate
(game_state: &mut GameState, ctx: &mut Context)
src/entities/cloud.rs:73
↓ 1 callersFunctionupdate_borders
( ctx: &mut Context, left: &mut Option<BlackBorder>, right: &mut Option<BlackBorder>, w: f32,
src/util.rs:76
↓ 1 callersFunctionwalk
( game_state: &mut GameState, sound_collection: &mut SoundCollection, screen_size: &na::Point2<f32
src/entities/skeleton.rs:87
Methoddefault
()
src/sprite.rs:18
Methoddefault
()
src/transform_compontent.rs:7
Methoddefault
()
src/entities/ai.rs:13
Methoddefault
()
src/entities/player.rs:23
Methoddraw
Draw delegate, recieves
src/particle_system.rs:167
Methoddraw
(&mut self, ctx: &mut Context)
src/states/main_state.rs:263
FunctionfixAudioContext
(e)
utils/wasm/audio.js:23
Methodget_sprite
(&'a self, index: usize)
src/sprite.rs:33
Methodkey_down_event
( &mut self, ctx: &mut Context, keycode: KeyCode, _keymod: KeyMods, re
src/states/main_state.rs:279
Functionload
(wasm_path)
utils/wasm/gl.js:987
Functionmain
()
src/main.rs:19
Methodmouse_button_down_event
( &mut self, _ctx: &mut Context, _button: ggez::event::MouseButton, x: f32,
src/states/main_state.rs:342
Methodmouse_button_up_event
( &mut self, ctx: &mut Context, _button: ggez::event::MouseButton, x: f32,
src/states/main_state.rs:352
Methodnew
(ctx: &mut Context, image_option: Option<Image>)
src/particle_system.rs:93
Methodnew
(ctx: &mut Context)
src/states/game_state.rs:29
Methodnew
(ctx: &mut Context)
src/states/main_state.rs:44
Methodnew
(position: na::Point2<f32>, pos_i32: na::Point2<i32>)
src/entities/foilage.rs:31
Methodnew
()
src/entities/cloud.rs:20
Functionrender
( sprite_collection: &SpriteCollection, ctx: &mut Context, transform_component: &TransformComponen
src/sprite.rs:38
Functionrender
( game_state: &mut GameState, sprite_collection: &SpriteCollection, ctx: &mut Context, screen_
src/entities/foilage.rs:87
Functionsystem
( game_state: &mut GameState, ctx: &mut Context, sound_collection: &mut SoundCollection, parti
src/entities/skeleton.rs:266
Methodupdate
(&mut self, dt: f32)
src/particle_system.rs:201
Methodupdate
(&mut self, ctx: &mut Context)
src/states/main_state.rs:212