MCPcopy Create free account

hub / github.com/ChariotEngine/Chariot / functions

Functions433 in github.com/ChariotEngine/Chariot

↓ 1 callersMethodrender_borders
(&mut self, render_commands: &mut RenderCommands, border_id: Terra
src/ecs/render_system/terrain_render_system.rs:176
↓ 1 callersMethodrender_frame
(&self, renderer: &mut Renderer, frame: usize,
crates/resource/src/shape_manager.rs:102
↓ 1 callersMethodrender_graphic
(&self, render_commands: &mut RenderCommands, projector: &ViewProj
src/ecs/render_system/graphic_render_system.rs:41
↓ 1 callersMethodrender_line
(&mut self, mut first: Vector2<i32>, mut second: Vector2<i32>)
crates/media/src/renderer.rs:111
↓ 1 callersMethodrender_rect
(&mut self, mut rect: Rect)
crates/media/src/renderer.rs:105
↓ 1 callersMethodrender_texture
(&mut self, texture: &Texture, src_rect: Option<Rect>,
crates/media/src/renderer.rs:80
↓ 1 callersMethodresolve_border
(&self, border_id: TerrainBorderId, border_index: u16,
src/ecs/render_system/terrain_render_system.rs:240
↓ 1 callersMethodresolve_elevation
(&self, blended_tile: &BlendInfo)
src/ecs/render_system/terrain_render_system.rs:208
↓ 1 callersMethodresolve_tile
(&self, blended_tile: &BlendInfo, elevation_index: u8)
src/ecs/render_system/terrain_render_system.rs:219
↓ 1 callersMethodsdl_texture
(&'a self)
crates/media/src/texture.rs:46
↓ 1 callersMethodset_at
(&mut self, direction: usize, border: bool, current: bool)
src/ecs/resource/terrain/border.rs:34
↓ 1 callersMethodset_camera_position
(&mut self, position: &Vector2<i32>)
crates/media/src/renderer.rs:76
↓ 1 callersMethodset_scale
(&mut self, scale_x: f32, scale_y: f32)
crates/media/src/renderer.rs:72
↓ 1 callersMethodset_top_left
(&mut self, top_left: Vector2<Fixed>)
src/ecs/resource/viewport.rs:49
↓ 1 callersMethodshape_manager
(&self)
src/game/game.rs:161
↓ 1 callersMethodshape_metadata
(&self)
src/game/game.rs:165
↓ 1 callersMethodstart
(&mut self)
src/game/state/scenario_game_state.rs:66
↓ 1 callersFunctionstart_frame_and_mirroring
Returns the start frame for the given rotation, and whether mirroring should occur
src/ecs/system/animation_system.rs:97
↓ 1 callersMethodterrain_restrictions
(&'a self, unit_terrain_restriction_id: UnitTerrainRestrictionId)
crates/file_formats/dat/src/empires/mod.rs:133
↓ 1 callersFunctiontest_terrain
()
src/ecs/resource/view_projector.rs:127
↓ 1 callersFunctionto_rgba
(palette: &[u32], src_pixels: &[u8], width: usize, height: usize)
crates/media/src/texture_builder.rs:39
↓ 1 callersMethodupdate
(&mut self, arg: specs::RunArg, _time_step: Fixed)
src/ecs/system/grid_system.rs:40
↓ 1 callersMethodupdate_graphic
(&self, graphic: &mut GraphicComponent, rotation: Fixed,
src/ecs/system/animation_system.rs:43
↓ 1 callersMethodupdate_input_resources
(&mut self)
src/game/state/scenario_game_state.rs:52
↓ 1 callersMethodupdate_viewport
(&mut self, lerp: Fixed)
src/game/state/scenario_game_state.rs:46
↓ 1 callersMethodviewport_size
(&self)
crates/media/src/renderer.rs:67
↓ 1 callersFunctionwrap_angle
Constrains angle to be between [0, 2*PI] radians
src/ecs/system/animation_system.rs:91
Methodadd
(self, rhs: Fixed)
crates/types/src/fixed.rs:169
Methodadd_assign
(&mut self, rhs: Fixed)
crates/types/src/fixed.rs:176
Methodage
(&'a self, age_id: AgeId)
crates/file_formats/dat/src/empires/mod.rs:91
Functionborder_matcher
(borders: &[usize], current: &[usize])
src/ecs/resource/terrain/border.rs:221
Methoddefault
()
crates/identifier/src/id.rs:184
Methoddefault
()
crates/file_formats/dat/src/empires/resource.rs:54
Methoddefault
()
crates/file_formats/dat/src/empires/unit.rs:52
Methoddefault
()
crates/file_formats/dat/src/empires/age.rs:132
Methoddiv
(self, rhs: Fixed)
crates/types/src/fixed.rs:217
Methoddiv_assign
(&mut self, rhs: Fixed)
crates/types/src/fixed.rs:224
Methoddrs_manager
(&self)
src/game/game.rs:157
Methodfind_match
(border_style: i16, border_matrix: BorderMatrix)
src/ecs/resource/terrain/border.rs:88
Methodfind_match
(elevation_matrix: ElevationMatrix)
src/ecs/resource/terrain/elevation.rs:90
Methodfmt
(&self, f: &mut fmt::Formatter)
src/ecs/resource/terrain/border.rs:44
Methodfmt
(&self, f: &mut fmt::Formatter)
src/ecs/resource/terrain/elevation.rs:45
Methodfmt
(&self, f: &mut fmt::Formatter)
crates/types/src/fixed.rs:371
Methodfmt
(&self, f: &mut fmt::Formatter)
crates/file_formats/dat/src/empires/resource.rs:72
Methodfraction
(&self)
crates/types/src/fixed.rs:71
Methodfrom
(scn_tile: &scn::MapTile)
src/ecs/resource/terrain/terrain.rs:48
Methodfrom_f32
(val: f32)
crates/types/src/fixed.rs:155
Methodfrom_f64
(val: f64)
crates/types/src/fixed.rs:160
Methodfrom_i16
(val: i16)
crates/file_formats/dat/src/empires/resource.rs:41
Methodfrom_i16
(val: i16)
crates/file_formats/dat/src/empires/age.rs:53
Methodfrom_i32
(val: i32)
crates/types/src/fixed.rs:140
Methodfrom_i64
(val: i64)
crates/types/src/fixed.rs:145
Methodfrom_index
(index: usize)
crates/identifier/src/id.rs:146
Methodfrom_scenario
(scenario: &Scenario, local_player_id: PlayerId)
src/ecs/resource/players.rs:61
Methodfrom_sdl
(scancode: sdl2::keyboard::Scancode)
crates/media/src/key.rs:41
Methodfrom_str_radix
(str: &str, radix: u32)
crates/types/src/fixed.rs:276
Methodfrom_u64
(val: u64)
crates/types/src/fixed.rs:150
Methodfrom_u8
(val: u8)
crates/file_formats/dat/src/empires/unit.rs:58
Methodgame_dir
(&'a self)
src/game/game.rs:153
Methodinto
(self)
crates/types/src/color.rs:52
Methodinto
(self)
crates/identifier/src/id.rs:57
Methodis_zero
(&self)
crates/types/src/fixed.rs:261
Methodload
(drs_manager: &DrsManager)
crates/resource/src/shape_metadata.rs:58
Methodload_drs
(drs_manager: &DrsManager, drs_key: DrsKey, metadata: &mut HashMap<ShapeMetada
crates/resource/src/shape_metadata.rs:67
Methodload_from
(slp: &SlpFile, palette: &[u32], renderer: &mut Renderer)
crates/resource/src/shape_manager.rs:67
Functionmain
()
tools/slp_viewer/src/main.rs:89
Functionmain
()
src/main.rs:55
Functionmain
()
crates/file_formats/language/examples/read-language.rs:29
Functionmain
()
crates/file_formats/scn/examples/read-scn.rs:29
Functionmain
()
crates/file_formats/dat/examples/read-empires.rs:29
Functionmain
()
crates/file_formats/dat/examples/read-tileedge.rs:30
Functionmatcher
(high_elevation: &[usize])
src/ecs/resource/terrain/elevation.rs:176
Methodmax_value
()
crates/types/src/fixed.rs:289
Methodmin_value
()
crates/types/src/fixed.rs:284
Methodmul
(self, rhs: Fixed)
crates/types/src/fixed.rs:201
Methodmul_assign
(&mut self, rhs: Fixed)
crates/types/src/fixed.rs:208
Methodneg
(self)
crates/types/src/fixed.rs:249
Methodnew
(game_data_dir: &str)
src/game/game.rs:45
Methodnew
(g: &Game, scenario: scn::Scenario)
src/game/state/scenario_game_state.rs:38
Methodnew
(row: i32, col: i32)
src/partition/grid.rs:33
Methodnew
(path: Path)
src/action/move_to_position.rs:30
Methodnew
()
src/ecs/component/graphic_component.rs:41
Methodnew
(position: Vector3, rotation: Fixed)
src/ecs/component/transform_component.rs:37
Methodnew
(player_id: PlayerId, civilization_id: CivilizationId, unit_id: UnitId)
src/ecs/component/unit_component.rs:38
Methodnew
()
src/ecs/component/velocity_component.rs:35
Methodnew
()
src/ecs/component/action_queue_component.rs:41
Methodnew
(player_color_id: PlayerColorId, drs_key: DrsKey, slp_file_id: SlpFileId)
src/ecs/component/decal_component.rs:41
Methodnew
(path: Path)
src/ecs/component/action/move_to_position.rs:35
Methodnew
(name: String, player_id: PlayerId, player_color_id: PlayerColorId,
src/ecs/resource/players.rs:34
Methodnew
()
src/ecs/resource/render.rs:30
Methodnew
()
src/ecs/resource/input.rs:37
Methodnew
(path: TilePath, heuristic: i32, dist_from_target: i32, direction: (i32, i32)
src/ecs/resource/path_finder.rs:48
Methodnew
()
src/ecs/resource/occupied_tiles.rs:32
Methodnew
()
src/ecs/resource/action_batcher.rs:32
Methodnew
(w: i32, h: i32)
src/ecs/resource/viewport.rs:32
Methodnew
(tile_half_width: i32, tile_half_height: i32)
src/ecs/resource/view_projector.rs:34
Methodnew
()
src/ecs/resource/terrain/border.rs:30
Methodnew
()
src/ecs/resource/terrain/elevation.rs:34
Methodnew
Used from tests
src/ecs/resource/terrain/terrain.rs:40
Methodnew
()
src/ecs/render_system/tile_debug_render_system.rs:33
← previousnext →201–300 of 433, ranked by callers