Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ragnaroek/iron-wolf
/ functions
Functions
709 in github.com/Ragnaroek/iron-wolf
⨍
Functions
709
◇
Types & classes
117
↓ 400 callers
Function
stat
(tile_x: usize, tile_y: usize, sprite: usize, flags: u8, item_number: usize)
src/start_test.rs:5344
↓ 181 callers
Method
obj
(&self, k: ObjKey)
src/def.rs:225
↓ 102 callers
Method
len
(&self)
src/def.rs:221
↓ 93 callers
Method
play_sound
(&mut self, sound: SoundName)
src/rc.rs:534
↓ 75 callers
Method
read_u16
(&mut self)
src/util.rs:44
↓ 68 callers
Method
pic
(&mut self, x: usize, y: usize, graph_num: GraphicNum)
src/rc.rs:377
↓ 64 callers
Function
door
( num: usize, tile_x: usize, tile_y: usize, vertical: bool, lock: usize, act: usize,
src/start_test.rs:5323
↓ 63 callers
Method
player
(&self)
src/def.rs:348
↓ 63 callers
Method
update_obj
(&mut self, k: ObjKey, f: F)
src/def.rs:368
↓ 60 callers
Method
write_u16
(&mut self, v: u16)
src/util.rs:136
↓ 55 callers
Function
new_state
(obj: &mut ObjType, state: &'static StateType)
src/state.rs:932
↓ 53 callers
Method
mut_obj
(&mut self, k: ObjKey)
src/def.rs:233
↓ 42 callers
Function
print
(rc: &mut RenderContext, win_state: &mut WindowState, str: &str)
src/us1.rs:11
↓ 41 callers
Function
actor
( active: i16, tic_count: i32, class: usize, flags: u8, dist: i32, dir: usize, x:
src/start_test.rs:5362
↓ 35 callers
Method
set_font_color
(&mut self, f: u8, b: u8)
src/def.rs:637
↓ 34 callers
Method
bar
(&mut self, x: usize, y: usize, width: usize, height: usize, color: u8)
src/rc.rs:287
↓ 34 callers
Function
rnd_t
Return a random # between 0-255
src/user.rs:41
↓ 34 callers
Function
write
(rc: &mut RenderContext, x: usize, y: usize, str: &str)
src/inter.rs:967
↓ 33 callers
Method
key_pressed
(&mut self, code: NumCode)
src/rc.rs:493
↓ 32 callers
Method
to_i32
(&self)
src/fixed.rs:33
↓ 30 callers
Method
mut_player
(&mut self)
src/def.rs:343
↓ 29 callers
Method
fade_out
(&mut self)
src/rc.rs:389
↓ 27 callers
Method
set_buffer_offset
(&self, offset: usize)
src/rc.rs:255
↓ 27 callers
Function
spawn_new_obj
TODO rename to new_obj (as it does not really do the spawn as in the original)
src/state.rs:149
↓ 25 callers
Method
pos
(self)
src/menu.rs:226
↓ 24 callers
Function
fixed_by_frac
(a_f: Fixed, b_f: Fixed)
src/fixed.rs:82
↓ 23 callers
Method
clear_keys_down
(&self, vga: &mut VGA)
src/rc.rs:145
↓ 22 callers
Method
fade_in
(&mut self)
src/rc.rs:393
↓ 20 callers
Method
buffer_offset
(&self)
src/rc.rs:260
↓ 20 callers
Method
id
(self)
src/menu.rs:209
↓ 20 callers
Function
spawn_stand
( tile_map: &mut Vec<Vec<u16>>, map_data: &mut MapSegs, which: EnemyType, actors: &mut Actors,
src/act2.rs:5127
↓ 19 callers
Function
give_points
(rc: &mut RenderContext, game_state: &mut GameState, points: u32)
src/agent.rs:782
↓ 18 callers
Method
next
(&mut self)
src/text.rs:76
↓ 18 callers
Method
skip
(&mut self, bytes: usize)
src/util.rs:84
↓ 17 callers
Function
cp_draw_window
( rc: &mut RenderContext, x: usize, y: usize, width: usize, height: usize, color: u8,
src/menu.rs:2813
↓ 17 callers
Method
load_wolf_file
(&self, file: WolfFile)
src/loader/loader_web.rs:51
↓ 17 callers
Method
play_sound_loc_actor
(&mut self, sound: SoundName, obj: &ObjType)
src/rc.rs:551
↓ 17 callers
Method
write_mem
(&mut self, offset: usize, v_in: u8)
src/rc.rs:279
↓ 16 callers
Function
check_diag
(level_state: &LevelState, x: usize, y: usize)
src/state.rs:391
↓ 15 callers
Method
check_ack
(&mut self)
src/rc.rs:485
↓ 15 callers
Method
exists
(&self, k: ObjKey)
src/def.rs:214
↓ 15 callers
Function
spawn_patrol
( map_data: &MapSegs, which: EnemyType, actors: &mut Actors, actor_at: &mut Vec<Vec<At>>,
src/act2.rs:5334
↓ 14 callers
Method
disk_flop_anim
(&mut self, rc: &mut RenderContext, iw_config: &IWConfig)
src/start.rs:62
↓ 14 callers
Method
get_count
(&self)
src/time.rs:26
↓ 14 callers
Method
read_u8
(&mut self)
src/util.rs:64
↓ 14 callers
Method
selected_state
(&self)
src/menu.rs:340
↓ 13 callers
Method
add_obj
place an object at the next free space
src/def.rs:249
↓ 13 callers
Function
do_read_checksum
(reader: &DataReader, prev_offset: usize, checksum_init: i32)
src/start.rs:1036
↓ 13 callers
Function
do_write_checksum
(writer: &DataWriter, prev_offset: usize, checksum_init: i32)
src/start.rs:1042
↓ 13 callers
Function
done_normal_level_complete
( rc: &mut RenderContext, game_state: &mut GameState, time_left: i32, kill_ratio: i32, sec
src/inter.rs:902
↓ 13 callers
Function
try_walk
(k: ObjKey, level_state: &mut LevelState)
src/state.rs:204
↓ 13 callers
Method
variant
(&self)
src/loader/loader_web.rs:38
↓ 12 callers
Method
display
(&mut self)
src/rc.rs:182
↓ 12 callers
Function
draw_string
( rc: &mut RenderContext, font_num: usize, str: &str, px_in: usize, py: usize, color:
src/us1.rs:68
↓ 12 callers
Function
init_ray_cast
(view_width: usize)
src/draw.rs:139
↓ 12 callers
Function
select_dodge_dir
( k: ObjKey, level_state: &mut LevelState, player_tile_x: usize, player_tile_y: usize, )
src/state.rs:417
↓ 12 callers
Function
spawn
spawns the obj into the map. At map load time
src/act2.rs:5443
↓ 11 callers
Method
digi_mode
(&self)
src/sd/sd_tst.rs:100
↓ 11 callers
Function
new_game_state
()
src/def.rs:543
↓ 11 callers
Function
new_view_size
(view_size: u16)
src/start.rs:236
↓ 11 callers
Method
play_music
(&mut self, track: Music, loader: &Loader)
src/rc.rs:542
↓ 11 callers
Method
read_i16
(&mut self)
src/util.rs:54
↓ 11 callers
Method
write_i16
(&mut self, v: i16)
src/util.rs:140
↓ 11 callers
Method
write_u8
(&mut self, v: u8)
src/util.rs:132
↓ 10 callers
Method
active_buffer
displayofs in the orginal
src/rc.rs:275
↓ 10 callers
Method
file_name
(&self, asset_name: &str)
src/loader/loader_web.rs:115
↓ 10 callers
Method
is_any_sound_playing
(&mut self)
src/sd/sd_tst.rs:33
↓ 10 callers
Function
move_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 callers
Function
quit
(err: Option<&str>)
src/start.rs:396
↓ 10 callers
Function
scale_line
( rc: &mut RenderContext, scale_ix: usize, sprite_num: usize, cmd_ptr: usize, line_x: usiz
src/scale.rs:318
↓ 10 callers
Function
select_chase_dir
( k: ObjKey, level_state: &mut LevelState, player_tile_x: usize, player_tile_y: usize, )
src/state.rs:508
↓ 10 callers
Function
status_draw_pic
x in bytes
src/agent.rs:1147
↓ 10 callers
Function
vw_hlin
(rc: &mut RenderContext, x: usize, z: usize, y: usize, color: u8)
src/vh.rs:12
↓ 9 callers
Method
ack
(&mut self)
src/rc.rs:481
↓ 9 callers
Function
c_print
Prints a string in the current window. Newlines are supported.
src/us1.rs:36
↓ 9 callers
Function
check_side
(level_state: &LevelState, x: usize, y: usize)
src/state.rs:400
↓ 9 callers
Function
draw_sound_menu
( rc: &mut RenderContext, win_state: &mut WindowState, menu_state: &mut MenuState, )
src/menu.rs:1683
↓ 9 callers
Method
drop_obj
(&mut self, k: ObjKey)
src/def.rs:277
↓ 9 callers
Function
file_name
(file: WolfFile, variant: &WolfVariant)
src/assets.rs:449
↓ 9 callers
Method
init_ray_cast_consts
TODO: rename to init_view?
src/draw.rs:182
↓ 9 callers
Function
measure_string
Returns a (width, height) tupel.
src/us1.rs:97
↓ 9 callers
Function
open_door
(door: &mut DoorType)
src/act1.rs:391
↓ 9 callers
Method
poll_breathe
(&mut self, rc: &mut RenderContext)
src/inter.rs:1029
↓ 9 callers
Method
select_menu
(&mut self, menu: Menu)
src/menu.rs:336
↓ 9 callers
Method
wait_user_input
(&mut self, vga: &mut VGA, ticker: &Ticker, delay: u64)
src/rc.rs:124
↓ 8 callers
Function
check_line
Returns true if a straight line between the player and ob is unobstructed
src/state.rs:988
↓ 8 callers
Method
clear_count
(&mut self)
src/time.rs:43
↓ 8 callers
Function
clear_ms_screen
(rc: &mut RenderContext)
src/menu.rs:2755
↓ 8 callers
Function
draw_tile_8
(rc: &mut RenderContext, x: usize, y: usize, tile: usize)
src/vh.rs:28
↓ 8 callers
Function
handle_menu
Handle moving gun around a menu
src/menu.rs:2404
↓ 8 callers
Function
num_pic
GraphicNum::NUM0PIC to GraphicNum NUM9PIC conversion (number for the info screens). If n > 9 GraphicNum::NBLANKPIC is returned.
src/assets.rs:780
↓ 8 callers
Method
read_i32
(&mut self)
src/util.rs:34
↓ 8 callers
Method
read_u32
(&mut self)
src/util.rs:24
↓ 8 callers
Function
set_palette
(vga: &mut VGA, palette: &[u8])
src/vl.rs:3
↓ 8 callers
Function
setup_game_level
( game_state: &mut GameState, assets: &Assets, demo_playback: bool, )
src/game.rs:341
↓ 8 callers
Method
write_i32
(&mut self, v: i32)
src/util.rs:148
↓ 7 callers
Function
draw_weapon
(rc: &mut RenderContext, state: &GameState)
src/agent.rs:1114
↓ 7 callers
Method
load
(&mut self, file: String, data: Vec<u8>)
src/loader/loader_web.rs:121
↓ 7 callers
Function
place_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 callers
Function
read_any_control
(rc: &mut RenderContext)
src/menu.rs:2611
next →
1–100 of 709, ranked by callers