Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChariotEngine/Chariot
/ functions
Functions
433 in github.com/ChariotEngine/Chariot
⨍
Functions
433
◇
Types & classes
160
↓ 1 callers
Method
render_borders
(&mut self, render_commands: &mut RenderCommands, border_id: Terra
src/ecs/render_system/terrain_render_system.rs:176
↓ 1 callers
Method
render_frame
(&self, renderer: &mut Renderer, frame: usize,
crates/resource/src/shape_manager.rs:102
↓ 1 callers
Method
render_graphic
(&self, render_commands: &mut RenderCommands, projector: &ViewProj
src/ecs/render_system/graphic_render_system.rs:41
↓ 1 callers
Method
render_line
(&mut self, mut first: Vector2<i32>, mut second: Vector2<i32>)
crates/media/src/renderer.rs:111
↓ 1 callers
Method
render_rect
(&mut self, mut rect: Rect)
crates/media/src/renderer.rs:105
↓ 1 callers
Method
render_texture
(&mut self, texture: &Texture, src_rect: Option<Rect>,
crates/media/src/renderer.rs:80
↓ 1 callers
Method
resolve_border
(&self, border_id: TerrainBorderId, border_index: u16,
src/ecs/render_system/terrain_render_system.rs:240
↓ 1 callers
Method
resolve_elevation
(&self, blended_tile: &BlendInfo)
src/ecs/render_system/terrain_render_system.rs:208
↓ 1 callers
Method
resolve_tile
(&self, blended_tile: &BlendInfo, elevation_index: u8)
src/ecs/render_system/terrain_render_system.rs:219
↓ 1 callers
Method
sdl_texture
(&'a self)
crates/media/src/texture.rs:46
↓ 1 callers
Method
set_at
(&mut self, direction: usize, border: bool, current: bool)
src/ecs/resource/terrain/border.rs:34
↓ 1 callers
Method
set_camera_position
(&mut self, position: &Vector2<i32>)
crates/media/src/renderer.rs:76
↓ 1 callers
Method
set_scale
(&mut self, scale_x: f32, scale_y: f32)
crates/media/src/renderer.rs:72
↓ 1 callers
Method
set_top_left
(&mut self, top_left: Vector2<Fixed>)
src/ecs/resource/viewport.rs:49
↓ 1 callers
Method
shape_manager
(&self)
src/game/game.rs:161
↓ 1 callers
Method
shape_metadata
(&self)
src/game/game.rs:165
↓ 1 callers
Method
start
(&mut self)
src/game/state/scenario_game_state.rs:66
↓ 1 callers
Function
start_frame_and_mirroring
Returns the start frame for the given rotation, and whether mirroring should occur
src/ecs/system/animation_system.rs:97
↓ 1 callers
Method
terrain_restrictions
(&'a self, unit_terrain_restriction_id: UnitTerrainRestrictionId)
crates/file_formats/dat/src/empires/mod.rs:133
↓ 1 callers
Function
test_terrain
()
src/ecs/resource/view_projector.rs:127
↓ 1 callers
Function
to_rgba
(palette: &[u32], src_pixels: &[u8], width: usize, height: usize)
crates/media/src/texture_builder.rs:39
↓ 1 callers
Method
update
(&mut self, arg: specs::RunArg, _time_step: Fixed)
src/ecs/system/grid_system.rs:40
↓ 1 callers
Method
update_graphic
(&self, graphic: &mut GraphicComponent, rotation: Fixed,
src/ecs/system/animation_system.rs:43
↓ 1 callers
Method
update_input_resources
(&mut self)
src/game/state/scenario_game_state.rs:52
↓ 1 callers
Method
update_viewport
(&mut self, lerp: Fixed)
src/game/state/scenario_game_state.rs:46
↓ 1 callers
Method
viewport_size
(&self)
crates/media/src/renderer.rs:67
↓ 1 callers
Function
wrap_angle
Constrains angle to be between [0, 2*PI] radians
src/ecs/system/animation_system.rs:91
Method
add
(self, rhs: Fixed)
crates/types/src/fixed.rs:169
Method
add_assign
(&mut self, rhs: Fixed)
crates/types/src/fixed.rs:176
Method
age
(&'a self, age_id: AgeId)
crates/file_formats/dat/src/empires/mod.rs:91
Function
border_matcher
(borders: &[usize], current: &[usize])
src/ecs/resource/terrain/border.rs:221
Method
default
()
crates/identifier/src/id.rs:184
Method
default
()
crates/file_formats/dat/src/empires/resource.rs:54
Method
default
()
crates/file_formats/dat/src/empires/unit.rs:52
Method
default
()
crates/file_formats/dat/src/empires/age.rs:132
Method
div
(self, rhs: Fixed)
crates/types/src/fixed.rs:217
Method
div_assign
(&mut self, rhs: Fixed)
crates/types/src/fixed.rs:224
Method
drs_manager
(&self)
src/game/game.rs:157
Method
find_match
(border_style: i16, border_matrix: BorderMatrix)
src/ecs/resource/terrain/border.rs:88
Method
find_match
(elevation_matrix: ElevationMatrix)
src/ecs/resource/terrain/elevation.rs:90
Method
fmt
(&self, f: &mut fmt::Formatter)
src/ecs/resource/terrain/border.rs:44
Method
fmt
(&self, f: &mut fmt::Formatter)
src/ecs/resource/terrain/elevation.rs:45
Method
fmt
(&self, f: &mut fmt::Formatter)
crates/types/src/fixed.rs:371
Method
fmt
(&self, f: &mut fmt::Formatter)
crates/file_formats/dat/src/empires/resource.rs:72
Method
fraction
(&self)
crates/types/src/fixed.rs:71
Method
from
(scn_tile: &scn::MapTile)
src/ecs/resource/terrain/terrain.rs:48
Method
from_f32
(val: f32)
crates/types/src/fixed.rs:155
Method
from_f64
(val: f64)
crates/types/src/fixed.rs:160
Method
from_i16
(val: i16)
crates/file_formats/dat/src/empires/resource.rs:41
Method
from_i16
(val: i16)
crates/file_formats/dat/src/empires/age.rs:53
Method
from_i32
(val: i32)
crates/types/src/fixed.rs:140
Method
from_i64
(val: i64)
crates/types/src/fixed.rs:145
Method
from_index
(index: usize)
crates/identifier/src/id.rs:146
Method
from_scenario
(scenario: &Scenario, local_player_id: PlayerId)
src/ecs/resource/players.rs:61
Method
from_sdl
(scancode: sdl2::keyboard::Scancode)
crates/media/src/key.rs:41
Method
from_str_radix
(str: &str, radix: u32)
crates/types/src/fixed.rs:276
Method
from_u64
(val: u64)
crates/types/src/fixed.rs:150
Method
from_u8
(val: u8)
crates/file_formats/dat/src/empires/unit.rs:58
Method
game_dir
(&'a self)
src/game/game.rs:153
Method
into
(self)
crates/types/src/color.rs:52
Method
into
(self)
crates/identifier/src/id.rs:57
Method
is_zero
(&self)
crates/types/src/fixed.rs:261
Method
load
(drs_manager: &DrsManager)
crates/resource/src/shape_metadata.rs:58
Method
load_drs
(drs_manager: &DrsManager, drs_key: DrsKey, metadata: &mut HashMap<ShapeMetada
crates/resource/src/shape_metadata.rs:67
Method
load_from
(slp: &SlpFile, palette: &[u32], renderer: &mut Renderer)
crates/resource/src/shape_manager.rs:67
Function
main
()
tools/slp_viewer/src/main.rs:89
Function
main
()
src/main.rs:55
Function
main
()
crates/file_formats/language/examples/read-language.rs:29
Function
main
()
crates/file_formats/scn/examples/read-scn.rs:29
Function
main
()
crates/file_formats/dat/examples/read-empires.rs:29
Function
main
()
crates/file_formats/dat/examples/read-tileedge.rs:30
Function
matcher
(high_elevation: &[usize])
src/ecs/resource/terrain/elevation.rs:176
Method
max_value
()
crates/types/src/fixed.rs:289
Method
min_value
()
crates/types/src/fixed.rs:284
Method
mul
(self, rhs: Fixed)
crates/types/src/fixed.rs:201
Method
mul_assign
(&mut self, rhs: Fixed)
crates/types/src/fixed.rs:208
Method
neg
(self)
crates/types/src/fixed.rs:249
Method
new
(game_data_dir: &str)
src/game/game.rs:45
Method
new
(g: &Game, scenario: scn::Scenario)
src/game/state/scenario_game_state.rs:38
Method
new
(row: i32, col: i32)
src/partition/grid.rs:33
Method
new
(path: Path)
src/action/move_to_position.rs:30
Method
new
()
src/ecs/component/graphic_component.rs:41
Method
new
(position: Vector3, rotation: Fixed)
src/ecs/component/transform_component.rs:37
Method
new
(player_id: PlayerId, civilization_id: CivilizationId, unit_id: UnitId)
src/ecs/component/unit_component.rs:38
Method
new
()
src/ecs/component/velocity_component.rs:35
Method
new
()
src/ecs/component/action_queue_component.rs:41
Method
new
(player_color_id: PlayerColorId, drs_key: DrsKey, slp_file_id: SlpFileId)
src/ecs/component/decal_component.rs:41
Method
new
(path: Path)
src/ecs/component/action/move_to_position.rs:35
Method
new
(name: String, player_id: PlayerId, player_color_id: PlayerColorId,
src/ecs/resource/players.rs:34
Method
new
()
src/ecs/resource/render.rs:30
Method
new
()
src/ecs/resource/input.rs:37
Method
new
(path: TilePath, heuristic: i32, dist_from_target: i32, direction: (i32, i32)
src/ecs/resource/path_finder.rs:48
Method
new
()
src/ecs/resource/occupied_tiles.rs:32
Method
new
()
src/ecs/resource/action_batcher.rs:32
Method
new
(w: i32, h: i32)
src/ecs/resource/viewport.rs:32
Method
new
(tile_half_width: i32, tile_half_height: i32)
src/ecs/resource/view_projector.rs:34
Method
new
()
src/ecs/resource/terrain/border.rs:30
Method
new
()
src/ecs/resource/terrain/elevation.rs:34
Method
new
Used from tests
src/ecs/resource/terrain/terrain.rs:40
Method
new
()
src/ecs/render_system/tile_debug_render_system.rs:33
← previous
next →
201–300 of 433, ranked by callers