MCPcopy Create free account

hub / github.com/Ragnaroek/iron-wolf / functions

Functions709 in github.com/Ragnaroek/iron-wolf

↓ 400 callersFunctionstat
(tile_x: usize, tile_y: usize, sprite: usize, flags: u8, item_number: usize)
src/start_test.rs:5344
↓ 181 callersMethodobj
(&self, k: ObjKey)
src/def.rs:225
↓ 102 callersMethodlen
(&self)
src/def.rs:221
↓ 93 callersMethodplay_sound
(&mut self, sound: SoundName)
src/rc.rs:534
↓ 75 callersMethodread_u16
(&mut self)
src/util.rs:44
↓ 68 callersMethodpic
(&mut self, x: usize, y: usize, graph_num: GraphicNum)
src/rc.rs:377
↓ 64 callersFunctiondoor
( num: usize, tile_x: usize, tile_y: usize, vertical: bool, lock: usize, act: usize,
src/start_test.rs:5323
↓ 63 callersMethodplayer
(&self)
src/def.rs:348
↓ 63 callersMethodupdate_obj
(&mut self, k: ObjKey, f: F)
src/def.rs:368
↓ 60 callersMethodwrite_u16
(&mut self, v: u16)
src/util.rs:136
↓ 55 callersFunctionnew_state
(obj: &mut ObjType, state: &'static StateType)
src/state.rs:932
↓ 53 callersMethodmut_obj
(&mut self, k: ObjKey)
src/def.rs:233
↓ 42 callersFunctionprint
(rc: &mut RenderContext, win_state: &mut WindowState, str: &str)
src/us1.rs:11
↓ 41 callersFunctionactor
( active: i16, tic_count: i32, class: usize, flags: u8, dist: i32, dir: usize, x:
src/start_test.rs:5362
↓ 35 callersMethodset_font_color
(&mut self, f: u8, b: u8)
src/def.rs:637
↓ 34 callersMethodbar
(&mut self, x: usize, y: usize, width: usize, height: usize, color: u8)
src/rc.rs:287
↓ 34 callersFunctionrnd_t
Return a random # between 0-255
src/user.rs:41
↓ 34 callersFunctionwrite
(rc: &mut RenderContext, x: usize, y: usize, str: &str)
src/inter.rs:967
↓ 33 callersMethodkey_pressed
(&mut self, code: NumCode)
src/rc.rs:493
↓ 32 callersMethodto_i32
(&self)
src/fixed.rs:33
↓ 30 callersMethodmut_player
(&mut self)
src/def.rs:343
↓ 29 callersMethodfade_out
(&mut self)
src/rc.rs:389
↓ 27 callersMethodset_buffer_offset
(&self, offset: usize)
src/rc.rs:255
↓ 27 callersFunctionspawn_new_obj
TODO rename to new_obj (as it does not really do the spawn as in the original)
src/state.rs:149
↓ 25 callersMethodpos
(self)
src/menu.rs:226
↓ 24 callersFunctionfixed_by_frac
(a_f: Fixed, b_f: Fixed)
src/fixed.rs:82
↓ 23 callersMethodclear_keys_down
(&self, vga: &mut VGA)
src/rc.rs:145
↓ 22 callersMethodfade_in
(&mut self)
src/rc.rs:393
↓ 20 callersMethodbuffer_offset
(&self)
src/rc.rs:260
↓ 20 callersMethodid
(self)
src/menu.rs:209
↓ 20 callersFunctionspawn_stand
( tile_map: &mut Vec<Vec<u16>>, map_data: &mut MapSegs, which: EnemyType, actors: &mut Actors,
src/act2.rs:5127
↓ 19 callersFunctiongive_points
(rc: &mut RenderContext, game_state: &mut GameState, points: u32)
src/agent.rs:782
↓ 18 callersMethodnext
(&mut self)
src/text.rs:76
↓ 18 callersMethodskip
(&mut self, bytes: usize)
src/util.rs:84
↓ 17 callersFunctioncp_draw_window
( rc: &mut RenderContext, x: usize, y: usize, width: usize, height: usize, color: u8,
src/menu.rs:2813
↓ 17 callersMethodload_wolf_file
(&self, file: WolfFile)
src/loader/loader_web.rs:51
↓ 17 callersMethodplay_sound_loc_actor
(&mut self, sound: SoundName, obj: &ObjType)
src/rc.rs:551
↓ 17 callersMethodwrite_mem
(&mut self, offset: usize, v_in: u8)
src/rc.rs:279
↓ 16 callersFunctioncheck_diag
(level_state: &LevelState, x: usize, y: usize)
src/state.rs:391
↓ 15 callersMethodcheck_ack
(&mut self)
src/rc.rs:485
↓ 15 callersMethodexists
(&self, k: ObjKey)
src/def.rs:214
↓ 15 callersFunctionspawn_patrol
( map_data: &MapSegs, which: EnemyType, actors: &mut Actors, actor_at: &mut Vec<Vec<At>>,
src/act2.rs:5334
↓ 14 callersMethoddisk_flop_anim
(&mut self, rc: &mut RenderContext, iw_config: &IWConfig)
src/start.rs:62
↓ 14 callersMethodget_count
(&self)
src/time.rs:26
↓ 14 callersMethodread_u8
(&mut self)
src/util.rs:64
↓ 14 callersMethodselected_state
(&self)
src/menu.rs:340
↓ 13 callersMethodadd_obj
place an object at the next free space
src/def.rs:249
↓ 13 callersFunctiondo_read_checksum
(reader: &DataReader, prev_offset: usize, checksum_init: i32)
src/start.rs:1036
↓ 13 callersFunctiondo_write_checksum
(writer: &DataWriter, prev_offset: usize, checksum_init: i32)
src/start.rs:1042
↓ 13 callersFunctiondone_normal_level_complete
( rc: &mut RenderContext, game_state: &mut GameState, time_left: i32, kill_ratio: i32, sec
src/inter.rs:902
↓ 13 callersFunctiontry_walk
(k: ObjKey, level_state: &mut LevelState)
src/state.rs:204
↓ 13 callersMethodvariant
(&self)
src/loader/loader_web.rs:38
↓ 12 callersMethoddisplay
(&mut self)
src/rc.rs:182
↓ 12 callersFunctiondraw_string
( rc: &mut RenderContext, font_num: usize, str: &str, px_in: usize, py: usize, color:
src/us1.rs:68
↓ 12 callersFunctioninit_ray_cast
(view_width: usize)
src/draw.rs:139
↓ 12 callersFunctionselect_dodge_dir
( k: ObjKey, level_state: &mut LevelState, player_tile_x: usize, player_tile_y: usize, )
src/state.rs:417
↓ 12 callersFunctionspawn
spawns the obj into the map. At map load time
src/act2.rs:5443
↓ 11 callersMethoddigi_mode
(&self)
src/sd/sd_tst.rs:100
↓ 11 callersFunctionnew_game_state
()
src/def.rs:543
↓ 11 callersFunctionnew_view_size
(view_size: u16)
src/start.rs:236
↓ 11 callersMethodplay_music
(&mut self, track: Music, loader: &Loader)
src/rc.rs:542
↓ 11 callersMethodread_i16
(&mut self)
src/util.rs:54
↓ 11 callersMethodwrite_i16
(&mut self, v: i16)
src/util.rs:140
↓ 11 callersMethodwrite_u8
(&mut self, v: u8)
src/util.rs:132
↓ 10 callersMethodactive_buffer
displayofs in the orginal
src/rc.rs:275
↓ 10 callersMethodfile_name
(&self, asset_name: &str)
src/loader/loader_web.rs:115
↓ 10 callersMethodis_any_sound_playing
(&mut self)
src/sd/sd_tst.rs:33
↓ 10 callersFunctionmove_obj
Moves ob be move global units in ob->dir direction Actors are not allowed to move inside the player Does NOT check to see if the move is tile map vali
src/state.rs:670
↓ 10 callersFunctionquit
(err: Option<&str>)
src/start.rs:396
↓ 10 callersFunctionscale_line
( rc: &mut RenderContext, scale_ix: usize, sprite_num: usize, cmd_ptr: usize, line_x: usiz
src/scale.rs:318
↓ 10 callersFunctionselect_chase_dir
( k: ObjKey, level_state: &mut LevelState, player_tile_x: usize, player_tile_y: usize, )
src/state.rs:508
↓ 10 callersFunctionstatus_draw_pic
x in bytes
src/agent.rs:1147
↓ 10 callersFunctionvw_hlin
(rc: &mut RenderContext, x: usize, z: usize, y: usize, color: u8)
src/vh.rs:12
↓ 9 callersMethodack
(&mut self)
src/rc.rs:481
↓ 9 callersFunctionc_print
Prints a string in the current window. Newlines are supported.
src/us1.rs:36
↓ 9 callersFunctioncheck_side
(level_state: &LevelState, x: usize, y: usize)
src/state.rs:400
↓ 9 callersFunctiondraw_sound_menu
( rc: &mut RenderContext, win_state: &mut WindowState, menu_state: &mut MenuState, )
src/menu.rs:1683
↓ 9 callersMethoddrop_obj
(&mut self, k: ObjKey)
src/def.rs:277
↓ 9 callersFunctionfile_name
(file: WolfFile, variant: &WolfVariant)
src/assets.rs:449
↓ 9 callersMethodinit_ray_cast_consts
TODO: rename to init_view?
src/draw.rs:182
↓ 9 callersFunctionmeasure_string
Returns a (width, height) tupel.
src/us1.rs:97
↓ 9 callersFunctionopen_door
(door: &mut DoorType)
src/act1.rs:391
↓ 9 callersMethodpoll_breathe
(&mut self, rc: &mut RenderContext)
src/inter.rs:1029
↓ 9 callersMethodselect_menu
(&mut self, menu: Menu)
src/menu.rs:336
↓ 9 callersMethodwait_user_input
(&mut self, vga: &mut VGA, ticker: &Ticker, delay: u64)
src/rc.rs:124
↓ 8 callersFunctioncheck_line
Returns true if a straight line between the player and ob is unobstructed
src/state.rs:988
↓ 8 callersMethodclear_count
(&mut self)
src/time.rs:43
↓ 8 callersFunctionclear_ms_screen
(rc: &mut RenderContext)
src/menu.rs:2755
↓ 8 callersFunctiondraw_tile_8
(rc: &mut RenderContext, x: usize, y: usize, tile: usize)
src/vh.rs:28
↓ 8 callersFunctionhandle_menu
Handle moving gun around a menu
src/menu.rs:2404
↓ 8 callersFunctionnum_pic
GraphicNum::NUM0PIC to GraphicNum NUM9PIC conversion (number for the info screens). If n > 9 GraphicNum::NBLANKPIC is returned.
src/assets.rs:780
↓ 8 callersMethodread_i32
(&mut self)
src/util.rs:34
↓ 8 callersMethodread_u32
(&mut self)
src/util.rs:24
↓ 8 callersFunctionset_palette
(vga: &mut VGA, palette: &[u8])
src/vl.rs:3
↓ 8 callersFunctionsetup_game_level
( game_state: &mut GameState, assets: &Assets, demo_playback: bool, )
src/game.rs:341
↓ 8 callersMethodwrite_i32
(&mut self, v: i32)
src/util.rs:148
↓ 7 callersFunctiondraw_weapon
(rc: &mut RenderContext, state: &GameState)
src/agent.rs:1114
↓ 7 callersMethodload
(&mut self, file: String, data: Vec<u8>)
src/loader/loader_web.rs:121
↓ 7 callersFunctionplace_item_type
Called during game play to drop actors' items. It finds the proper item number based on the item type (bo_???). If there are no free item spots, not
src/act1.rs:260
↓ 7 callersFunctionread_any_control
(rc: &mut RenderContext)
src/menu.rs:2611
next →1–100 of 709, ranked by callers