split out non-debug_drawing stuff #401
Annotations
117 errors and 2 warnings
structure field `Center` should have a snake case name:
hook/src/hooks/nav.rs#L1152
error: structure field `Center` should have a snake case name
--> hook/src/hooks/nav.rs:1152:24
|
1152 | /* offset 0x00c */ Center: FVector,
| ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `center`
|
structure field `ConnectivityIdx` should have a snake case name:
hook/src/hooks/nav.rs#L1151
error: structure field `ConnectivityIdx` should have a snake case name
--> hook/src/hooks/nav.rs:1151:24
|
1151 | /* offset 0x008 */ ConnectivityIdx: u8,
| ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `connectivity_idx`
|
structure field `Volume` should have a snake case name:
hook/src/hooks/nav.rs#L1150
error: structure field `Volume` should have a snake case name
--> hook/src/hooks/nav.rs:1150:24
|
1150 | /* offset 0x004 */ Volume: f32,
| ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `volume`
|
structure field `MaterialType` should have a snake case name:
hook/src/hooks/nav.rs#L1149
error: structure field `MaterialType` should have a snake case name
--> hook/src/hooks/nav.rs:1149:24
|
1149 | /* offset 0x000 */ MaterialType: u32,
| ^^^^^^^^^^^^ help: convert the identifier to snake case: `material_type`
|
structure field `NormalZMax` should have a snake case name:
hook/src/hooks/nav.rs#L1143
error: structure field `NormalZMax` should have a snake case name
--> hook/src/hooks/nav.rs:1143:24
|
1143 | /* offset 0x019 */ NormalZMax: u8,
| ^^^^^^^^^^ help: convert the identifier to snake case: `normal_zmax`
|
structure field `NormalZMin` should have a snake case name:
hook/src/hooks/nav.rs#L1142
error: structure field `NormalZMin` should have a snake case name
--> hook/src/hooks/nav.rs:1142:24
|
1142 | /* offset 0x018 */ NormalZMin: u8,
| ^^^^^^^^^^ help: convert the identifier to snake case: `normal_zmin`
|
structure field `MaterialType` should have a snake case name:
hook/src/hooks/nav.rs#L1141
error: structure field `MaterialType` should have a snake case name
--> hook/src/hooks/nav.rs:1141:24
|
1141 | /* offset 0x014 */ MaterialType: u32,
| ^^^^^^^^^^^^ help: convert the identifier to snake case: `material_type`
|
structure field `NumFaces` should have a snake case name:
hook/src/hooks/nav.rs#L1140
error: structure field `NumFaces` should have a snake case name
--> hook/src/hooks/nav.rs:1140:24
|
1140 | /* offset 0x010 */ NumFaces: i32,
| ^^^^^^^^ help: convert the identifier to snake case: `num_faces`
|
structure field `NumIndices` should have a snake case name:
hook/src/hooks/nav.rs#L1139
error: structure field `NumIndices` should have a snake case name
--> hook/src/hooks/nav.rs:1139:24
|
1139 | /* offset 0x00c */ NumIndices: i32,
| ^^^^^^^^^^ help: convert the identifier to snake case: `num_indices`
|
structure field `NumVertices` should have a snake case name:
hook/src/hooks/nav.rs#L1138
error: structure field `NumVertices` should have a snake case name
--> hook/src/hooks/nav.rs:1138:24
|
1138 | /* offset 0x008 */ NumVertices: i32,
| ^^^^^^^^^^^ help: convert the identifier to snake case: `num_vertices`
|
structure field `StartFace` should have a snake case name:
hook/src/hooks/nav.rs#L1137
error: structure field `StartFace` should have a snake case name
--> hook/src/hooks/nav.rs:1137:24
|
1137 | /* offset 0x004 */ StartFace: i32,
| ^^^^^^^^^ help: convert the identifier to snake case: `start_face`
|
structure field `StartVertex` should have a snake case name:
hook/src/hooks/nav.rs#L1136
error: structure field `StartVertex` should have a snake case name
--> hook/src/hooks/nav.rs:1136:24
|
1136 | /* offset 0x000 */ StartVertex: i32,
| ^^^^^^^^^^^ help: convert the identifier to snake case: `start_vertex`
|
structure field `CriticalSection` should have a snake case name:
hook/src/hooks/nav.rs#L1113
error: structure field `CriticalSection` should have a snake case name
--> hook/src/hooks/nav.rs:1113:24
|
1113 | /* offset 0x108 */ CriticalSection: FWindowsCriticalSection,
| ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `critical_section`
|
structure field `GarbageAmount` should have a snake case name:
hook/src/hooks/nav.rs#L1112
error: structure field `GarbageAmount` should have a snake case name
--> hook/src/hooks/nav.rs:1112:24
|
1112 | /* offset 0x100 */ GarbageAmount: i32,
| ^^^^^^^^^^^^^ help: convert the identifier to snake case: `garbage_amount`
|
structure field `GarbLastEnd` should have a snake case name:
hook/src/hooks/nav.rs#L1111
error: structure field `GarbLastEnd` should have a snake case name
--> hook/src/hooks/nav.rs:1111:24
|
1111 | /* offset 0x0fc */ GarbLastEnd: u32,
| ^^^^^^^^^^^ help: convert the identifier to snake case: `garb_last_end`
|
structure field `GarbIndex` should have a snake case name:
hook/src/hooks/nav.rs#L1110
error: structure field `GarbIndex` should have a snake case name
--> hook/src/hooks/nav.rs:1110:24
|
1110 | /* offset 0x0f8 */ GarbIndex: i32,
| ^^^^^^^^^ help: convert the identifier to snake case: `garb_index`
|
structure field `GState` should have a snake case name:
hook/src/hooks/nav.rs#L1109
error: structure field `GState` should have a snake case name
--> hook/src/hooks/nav.rs:1109:24
|
1109 | /* offset 0x0f4 */ GState: GarbState,
| ^^^^^^ help: convert the identifier to snake case: `gstate`
|
structure field `ActiveRange` should have a snake case name:
hook/src/hooks/nav.rs#L1108
error: structure field `ActiveRange` should have a snake case name
--> hook/src/hooks/nav.rs:1108:24
|
1108 | /* offset 0x0f0 */ ActiveRange: u32,
| ^^^^^^^^^^^ help: convert the identifier to snake case: `active_range`
|
structure field `ActiveRangeList` should have a snake case name:
hook/src/hooks/nav.rs#L1107
error: structure field `ActiveRangeList` should have a snake case name
--> hook/src/hooks/nav.rs:1107:5
|
1107 | ActiveRangeList: [DeepVirtExpandingArray<DeepArrayPoolRange<C>>; 2],
| ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `active_range_list`
|
structure field `Pool` should have a snake case name:
hook/src/hooks/nav.rs#L1105
error: structure field `Pool` should have a snake case name
--> hook/src/hooks/nav.rs:1105:24
|
1105 | /* offset 0x000 */ Pool: DeepVirtExpandingArray<T>,
| ^^^^ help: convert the identifier to snake case: `pool`
|
structure field `CriticalSection` should have a snake case name:
hook/src/hooks/nav.rs#L1084
error: structure field `CriticalSection` should have a snake case name
--> hook/src/hooks/nav.rs:1084:5
|
1084 | CriticalSection: FWindowsCriticalSection,
| ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `critical_section`
|
structure field `RefCounts` should have a snake case name:
hook/src/hooks/nav.rs#L1083
error: structure field `RefCounts` should have a snake case name
--> hook/src/hooks/nav.rs:1083:5
|
1083 | RefCounts: TArrayInline<u16, A>, // TODO inline allocator
| ^^^^^^^^^ help: convert the identifier to snake case: `ref_counts`
|
structure field `FreeIndices` should have a snake case name:
hook/src/hooks/nav.rs#L1082
error: structure field `FreeIndices` should have a snake case name
--> hook/src/hooks/nav.rs:1082:5
|
1082 | FreeIndices: TArrayInline<u32, A>, // TODO inline allocator
| ^^^^^^^^^^^ help: convert the identifier to snake case: `free_indices`
|
structure field `Pool` should have a snake case name:
hook/src/hooks/nav.rs#L1081
error: structure field `Pool` should have a snake case name
--> hook/src/hooks/nav.rs:1081:5
|
1081 | Pool: DeepVirtExpandingArray<T>,
| ^^^^ help: convert the identifier to snake case: `pool`
|
structure field `VertCount` should have a snake case name:
hook/src/hooks/nav.rs#L1036
error: structure field `VertCount` should have a snake case name
--> hook/src/hooks/nav.rs:1036:24
|
1036 | /* offset 0x003 */ VertCount: u8,
| ^^^^^^^^^ help: convert the identifier to snake case: `vert_count`
|
structure field `Normal` should have a snake case name:
hook/src/hooks/nav.rs#L1035
error: structure field `Normal` should have a snake case name
--> hook/src/hooks/nav.rs:1035:24
|
1035 | /* offset 0x000 */ Normal: [u8; 3],
| ^^^^^^ help: convert the identifier to snake case: `normal`
|
structure field `Material` should have a snake case name:
hook/src/hooks/nav.rs#L1029
error: structure field `Material` should have a snake case name
--> hook/src/hooks/nav.rs:1029:24
|
1029 | /* offset 0x006 */ Material: u16,
| ^^^^^^^^ help: convert the identifier to snake case: `material`
|
structure field `Offset2` should have a snake case name:
hook/src/hooks/nav.rs#L1028
error: structure field `Offset2` should have a snake case name
--> hook/src/hooks/nav.rs:1028:24
|
1028 | /* offset 0x005 */ Offset2: u8,
| ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `offset2`
|
structure field `Offset1` should have a snake case name:
hook/src/hooks/nav.rs#L1027
error: structure field `Offset1` should have a snake case name
--> hook/src/hooks/nav.rs:1027:24
|
1027 | /* offset 0x004 */ Offset1: u8,
| ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `offset1`
|
structure field `BaseIdx` should have a snake case name:
hook/src/hooks/nav.rs#L1026
error: structure field `BaseIdx` should have a snake case name
--> hook/src/hooks/nav.rs:1026:24
|
1026 | /* offset 0x000 */ BaseIdx: u32,
| ^^^^^^^ help: convert the identifier to snake case: `base_idx`
|
structure field `DebrisComponent` should have a snake case name:
hook/src/hooks/nav.rs#L1020
error: structure field `DebrisComponent` should have a snake case name
--> hook/src/hooks/nav.rs:1020:24
|
1020 | /* offset 0x010 */ DebrisComponent: *const (), // UDebrisInstances,
| ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `debris_component`
|
structure field `Index` should have a snake case name:
hook/src/hooks/nav.rs#L1019
error: structure field `Index` should have a snake case name
--> hook/src/hooks/nav.rs:1019:24
|
1019 | /* offset 0x00c */ Index: i32,
| ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index`
|
structure field `Pos` should have a snake case name:
hook/src/hooks/nav.rs#L1018
error: structure field `Pos` should have a snake case name
--> hook/src/hooks/nav.rs:1018:24
|
1018 | /* offset 0x000 */ Pos: FVector,
| ^^^ help: convert the identifier to snake case: `pos`
|
structure field `Index` should have a snake case name:
hook/src/hooks/nav.rs#L1012
error: structure field `Index` should have a snake case name
--> hook/src/hooks/nav.rs:1012:24
|
1012 | /* offset 0x00c */ Index: i32,
| ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index`
|
structure field `Pos` should have a snake case name:
hook/src/hooks/nav.rs#L1011
error: structure field `Pos` should have a snake case name
--> hook/src/hooks/nav.rs:1011:24
|
1011 | /* offset 0x000 */ Pos: FVector,
| ^^^ help: convert the identifier to snake case: `pos`
|
structure field `GlobalNode` should have a snake case name:
hook/src/hooks/nav.rs#L1005
error: structure field `GlobalNode` should have a snake case name
--> hook/src/hooks/nav.rs:1005:24
|
1005 | /* offset 0x004 */ GlobalNode: u32,
| ^^^^^^^^^^ help: convert the identifier to snake case: `global_node`
|
structure field `SideIdx` should have a snake case name:
hook/src/hooks/nav.rs#L988
error: structure field `SideIdx` should have a snake case name
--> hook/src/hooks/nav.rs:988:24
|
988 | /* offset 0x00d */ SideIdx: u8,
| ^^^^^^^ help: convert the identifier to snake case: `side_idx`
|
structure field `SolidIdx` should have a snake case name:
hook/src/hooks/nav.rs#L987
error: structure field `SolidIdx` should have a snake case name
--> hook/src/hooks/nav.rs:987:24
|
987 | /* offset 0x00c */ SolidIdx: u8,
| ^^^^^^^^ help: convert the identifier to snake case: `solid_idx`
|
structure field `Point` should have a snake case name:
hook/src/hooks/nav.rs#L986
error: structure field `Point` should have a snake case name
--> hook/src/hooks/nav.rs:986:24
|
986 | /* offset 0x000 */ Point: FVector,
| ^^^^^ help: convert the identifier to snake case: `point`
|
structure field `SideIdx` should have a snake case name:
hook/src/hooks/nav.rs#L980
error: structure field `SideIdx` should have a snake case name
--> hook/src/hooks/nav.rs:980:24
|
980 | /* offset 0x001 */ SideIdx: u8,
| ^^^^^^^ help: convert the identifier to snake case: `side_idx`
|
structure field `SolidIdx` should have a snake case name:
hook/src/hooks/nav.rs#L979
error: structure field `SolidIdx` should have a snake case name
--> hook/src/hooks/nav.rs:979:24
|
979 | /* offset 0x000 */ SolidIdx: u8,
| ^^^^^^^^ help: convert the identifier to snake case: `solid_idx`
|
structure field `ChunkIndex` should have a snake case name:
hook/src/hooks/nav.rs#L973
error: structure field `ChunkIndex` should have a snake case name
--> hook/src/hooks/nav.rs:973:24
|
973 | /* offset 0x004 */ ChunkIndex: u8,
| ^^^^^^^^^^ help: convert the identifier to snake case: `chunk_index`
|
structure field `Rank` should have a snake case name:
hook/src/hooks/nav.rs#L972
error: structure field `Rank` should have a snake case name
--> hook/src/hooks/nav.rs:972:24
|
972 | /* offset 0x002 */ Rank: u16,
| ^^^^ help: convert the identifier to snake case: `rank`
|
structure field `Parent` should have a snake case name:
hook/src/hooks/nav.rs#L971
error: structure field `Parent` should have a snake case name
--> hook/src/hooks/nav.rs:971:24
|
971 | /* offset 0x000 */ Parent: FChunkInternalConnectivityId,
| ^^^^^^ help: convert the identifier to snake case: `parent`
|
structure field `SolidIdx` should have a snake case name:
hook/src/hooks/nav.rs#L965
error: structure field `SolidIdx` should have a snake case name
--> hook/src/hooks/nav.rs:965:24
|
965 | /* offset 0x001 */ SolidIdx: u8,
| ^^^^^^^^ help: convert the identifier to snake case: `solid_idx`
|
structure field `CellId` should have a snake case name:
hook/src/hooks/nav.rs#L964
error: structure field `CellId` should have a snake case name
--> hook/src/hooks/nav.rs:964:24
|
964 | /* offset 0x000 */ CellId: u8,
| ^^^^^^ help: convert the identifier to snake case: `cell_id`
|
structure field `Rank` should have a snake case name:
hook/src/hooks/nav.rs#L958
error: structure field `Rank` should have a snake case name
--> hook/src/hooks/nav.rs:958:24
|
958 | /* offset 0x008 */ Rank: u16,
| ^^^^ help: convert the identifier to snake case: `rank`
|
structure field `Parent` should have a snake case name:
hook/src/hooks/nav.rs#L957
error: structure field `Parent` should have a snake case name
--> hook/src/hooks/nav.rs:957:24
|
957 | /* offset 0x000 */ Parent: FChunkGlobalConnectivityId,
| ^^^^^^ help: convert the identifier to snake case: `parent`
|
structure field `ChunkIdx` should have a snake case name:
hook/src/hooks/nav.rs#L951
error: structure field `ChunkIdx` should have a snake case name
--> hook/src/hooks/nav.rs:951:24
|
951 | /* offset 0x004 */ ChunkIdx: u8,
| ^^^^^^^^ help: convert the identifier to snake case: `chunk_idx`
|
structure field `ChunkId` should have a snake case name:
hook/src/hooks/nav.rs#L950
error: structure field `ChunkId` should have a snake case name
--> hook/src/hooks/nav.rs:950:24
|
950 | /* offset 0x000 */ ChunkId: FEncodedChunkId,
| ^^^^^^^ help: convert the identifier to snake case: `chunk_id`
|
structure field `ConnectivityUFs` should have a snake case name:
hook/src/hooks/nav.rs#L937
error: structure field `ConnectivityUFs` should have a snake case name
--> hook/src/hooks/nav.rs:937:5
|
937 | ConnectivityUFs: DeepArrayPool<FChunkGlobalConnectivityUnionFind, u32>,
| ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `connectivity_ufs`
|
structure field `ConnectivyUF0` should have a snake case name:
hook/src/hooks/nav.rs#L935
error: structure field `ConnectivyUF0` should have a snake case name
--> hook/src/hooks/nav.rs:935:24
|
935 | /* offset 0x008 */ ConnectivyUF0: FChunkGlobalConnectivityUnionFind,
| ^^^^^^^^^^^^^ help: convert the identifier to snake case: `connectivy_uf0`
|
structure field `numChunkConnectivityRegions` should have a snake case name:
hook/src/hooks/nav.rs#L934
error: structure field `numChunkConnectivityRegions` should have a snake case name
--> hook/src/hooks/nav.rs:934:24
|
934 | /* offset 0x006 */ numChunkConnectivityRegions: u8,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `num_chunk_connectivity_regions`
|
structure field `singleSideChunkConnectivity` should have a snake case name:
hook/src/hooks/nav.rs#L933
error: structure field `singleSideChunkConnectivity` should have a snake case name
--> hook/src/hooks/nav.rs:933:24
|
933 | /* offset 0x000 */ singleSideChunkConnectivity: [u8; 6],
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `single_side_chunk_connectivity`
|
structure field `BitVolumeBuffers3` should have a snake case name:
hook/src/hooks/nav.rs#L904
error: structure field `BitVolumeBuffers3` should have a snake case name
--> hook/src/hooks/nav.rs:904:5
|
904 | BitVolumeBuffers3: DeepBitVolumeBufferPool<0x40>,
| ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bit_volume_buffers3`
|
structure field `VolumeBuffers3` should have a snake case name:
hook/src/hooks/nav.rs#L903
error: structure field `VolumeBuffers3` should have a snake case name
--> hook/src/hooks/nav.rs:903:5
|
903 | VolumeBuffers3: DeepVolumeBufferPool<0x200>,
| ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `volume_buffers3`
|
structure field `BitVolumeBuffers2` should have a snake case name:
hook/src/hooks/nav.rs#L902
error: structure field `BitVolumeBuffers2` should have a snake case name
--> hook/src/hooks/nav.rs:902:5
|
902 | BitVolumeBuffers2: DeepBitVolumeBufferPool<0x10>,
| ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bit_volume_buffers2`
|
structure field `VolumeBuffers2` should have a snake case name:
hook/src/hooks/nav.rs#L901
error: structure field `VolumeBuffers2` should have a snake case name
--> hook/src/hooks/nav.rs:901:5
|
901 | VolumeBuffers2: DeepVolumeBufferPool<0x40>,
| ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `volume_buffers2`
|
structure field `BitVolumeBuffers1` should have a snake case name:
hook/src/hooks/nav.rs#L900
error: structure field `BitVolumeBuffers1` should have a snake case name
--> hook/src/hooks/nav.rs:900:5
|
900 | BitVolumeBuffers1: DeepBitVolumeBufferPool<0x4>,
| ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bit_volume_buffers1`
|
structure field `VolumeBuffers1` should have a snake case name:
hook/src/hooks/nav.rs#L899
error: structure field `VolumeBuffers1` should have a snake case name
--> hook/src/hooks/nav.rs:899:5
|
899 | VolumeBuffers1: DeepVolumeBufferPool<0x8>,
| ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `volume_buffers1`
|
structure field `GlobalConnectivityUF` should have a snake case name:
hook/src/hooks/nav.rs#L897
error: structure field `GlobalConnectivityUF` should have a snake case name
--> hook/src/hooks/nav.rs:897:5
|
897 | GlobalConnectivityUF:
| ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `global_connectivity_uf`
|
structure field `InternalConnectivityUF` should have a snake case name:
hook/src/hooks/nav.rs#L895
error: structure field `InternalConnectivityUF` should have a snake case name
--> hook/src/hooks/nav.rs:895:5
|
895 | InternalConnectivityUF:
| ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `internal_connectivity_uf`
|
structure field `ConnectivitySidePoints` should have a snake case name:
hook/src/hooks/nav.rs#L894
error: structure field `ConnectivitySidePoints` should have a snake case name
--> hook/src/hooks/nav.rs:894:5
|
894 | ConnectivitySidePoints: DeepArrayPool<FTerrainSideConnectivity, FDeepCellStoredConnectivity>,
| ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `connectivity_side_points`
|
structure field `ConnectivityPoints` should have a snake case name:
hook/src/hooks/nav.rs#L893
error: structure field `ConnectivityPoints` should have a snake case name
--> hook/src/hooks/nav.rs:893:5
|
893 | ConnectivityPoints: DeepArrayPool<FTerrainConnectivityPoint, FDeepCellStoredConnectivity>,
| ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `connectivity_points`
|
structure field `PFCollision` should have a snake case name:
hook/src/hooks/nav.rs#L892
error: structure field `PFCollision` should have a snake case name
--> hook/src/hooks/nav.rs:892:5
|
892 | PFCollision: DeepArrayPool<FPFCollisionKey, FDeepCellStored>,
| ^^^^^^^^^^^ help: convert the identifier to snake case: `pfcollision`
|
structure field `FPNodes` should have a snake case name:
hook/src/hooks/nav.rs#L891
error: structure field `FPNodes` should have a snake case name
--> hook/src/hooks/nav.rs:891:5
|
891 | FPNodes: DeepArrayPool<PFCellNode, FDeepCellStoredServer>,
| ^^^^^^^ help: convert the identifier to snake case: `fpnodes`
|
structure field `AttachPoints` should have a snake case name:
hook/src/hooks/nav.rs#L890
error: structure field `AttachPoints` should have a snake case name
--> hook/src/hooks/nav.rs:890:5
|
890 | AttachPoints: DeepArrayPool<FAttachCSGPoint, FDeepCellStored>,
| ^^^^^^^^^^^^ help: convert the identifier to snake case: `attach_points`
|
structure field `Debris` should have a snake case name:
hook/src/hooks/nav.rs#L889
error: structure field `Debris` should have a snake case name
--> hook/src/hooks/nav.rs:889:5
|
889 | Debris: DeepArrayPool<FDebrisCSGPoint, FDeepCellStored>,
| ^^^^^^ help: convert the identifier to snake case: `debris`
|
structure field `PhysTriangles` should have a snake case name:
hook/src/hooks/nav.rs#L888
error: structure field `PhysTriangles` should have a snake case name
--> hook/src/hooks/nav.rs:888:5
|
888 | PhysTriangles: DeepArrayPool<FTerrainPhysTriangle, FDeepCellStored>,
| ^^^^^^^^^^^^^ help: convert the identifier to snake case: `phys_triangles`
|
structure field `Faces` should have a snake case name:
hook/src/hooks/nav.rs#L887
error: structure field `Faces` should have a snake case name
--> hook/src/hooks/nav.rs:887:5
|
887 | Faces: DeepArrayPool<FTerrainMeshFace, FDeepCellStored>,
| ^^^^^ help: convert the identifier to snake case (notice the capitalization): `faces`
|
structure field `VertexPositions` should have a snake case name:
hook/src/hooks/nav.rs#L886
error: structure field `VertexPositions` should have a snake case name
--> hook/src/hooks/nav.rs:886:5
|
886 | VertexPositions: DeepArrayPool<FTerrainMeshVertex, FDeepCellStored>,
| ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `vertex_positions`
|
structure field `SubVolumes` should have a snake case name:
hook/src/hooks/nav.rs#L885
error: structure field `SubVolumes` should have a snake case name
--> hook/src/hooks/nav.rs:885:5
|
885 | SubVolumes: DeepArrayPool<FSubVolumeInfo, FDeepCellStored>,
| ^^^^^^^^^^ help: convert the identifier to snake case: `sub_volumes`
|
structure field `SubMeshes` should have a snake case name:
hook/src/hooks/nav.rs#L884
error: structure field `SubMeshes` should have a snake case name
--> hook/src/hooks/nav.rs:884:5
|
884 | SubMeshes: DeepArrayPool<FSubMeshInfo, FDeepCellStored>,
| ^^^^^^^^^ help: convert the identifier to snake case: `sub_meshes`
|
structure field `Planes` should have a snake case name:
hook/src/hooks/nav.rs#L883
error: structure field `Planes` should have a snake case name
--> hook/src/hooks/nav.rs:883:5
|
883 | Planes: DeepArrayPool<FDeepCSGPlane, FDeepCellStored>,
| ^^^^^^ help: convert the identifier to snake case: `planes`
|
= note: `-D non-snake-case` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(non_snake_case)]`
|
casting to the same type is unnecessary (`usize` -> `usize`):
hook/src/hooks/nav.rs#L1365
error: casting to the same type is unnecessary (`usize` -> `usize`)
--> hook/src/hooks/nav.rs:1365:68
|
1365 | let cell_offset = element_ptr!(this.section_infos.buffer => + (section_index as usize).*)
| ^^^^^^^^^^^^^^^^^^^^^^ help: try: `section_index`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
name `MAX` contains a capitalized acronym:
hook/src/hooks/nav.rs#L1240
error: name `MAX` contains a capitalized acronym
--> hook/src/hooks/nav.rs:1240:5
|
1240 | MAX = 0x2,
| ^^^ help: consider making the acronym lowercase, except the initial letter: `Max`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms
= note: `-D clippy::upper-case-acronyms` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::upper_case_acronyms)]`
|
methods with the following characteristics: (`to_*` and `self` type is `Copy`) usually take `self` by value:
hook/src/hooks/nav.rs#L734
error: methods with the following characteristics: (`to_*` and `self` type is `Copy`) usually take `self` by value
--> hook/src/hooks/nav.rs:734:21
|
734 | fn to_world_pos(&self) -> FVector {
| ^^^^^
|
= help: consider choosing a less ambiguous name
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention
= note: `-D clippy::wrong-self-convention` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::wrong_self_convention)]`
|
casting to the same type is unnecessary (`usize` -> `usize`):
hook/src/hooks/nav.rs#L652
error: casting to the same type is unnecessary (`usize` -> `usize`)
--> hook/src/hooks/nav.rs:652:76
|
652 | .map(|r| std::mem::transmute::<usize, FnGetAllSpawnPointsInSphere>(r.0 as usize))
| ^^^^^^^^^^^^ help: try: `r.0`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
writing `&mut Vec` instead of `&mut [_]` involves a new object where a slice will do:
hook/src/hooks/nav.rs#L595
error: writing `&mut Vec` instead of `&mut [_]` involves a new object where a slice will do
--> hook/src/hooks/nav.rs:595:13
|
595 | points: &mut Vec<FBatchedPoint>,
| ^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `&mut [FBatchedPoint]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `-D clippy::ptr-arg` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]`
|
casting integer literal to `usize` is unnecessary:
hook/src/hooks/nav.rs#L386
error: casting integer literal to `usize` is unnecessary
--> hook/src/hooks/nav.rs:386:41
|
386 | std::mem::transmute(0x143dc30b0 as usize);
| ^^^^^^^^^^^^^^^^^^^^ help: try: `0x143dc30b0_usize`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting integer literal to `usize` is unnecessary:
hook/src/hooks/nav.rs#L384
error: casting integer literal to `usize` is unnecessary
--> hook/src/hooks/nav.rs:384:72
|
384 | let get_cell_real: FnGetCellReal = std::mem::transmute(0x143dc2ff0 as usize);
| ^^^^^^^^^^^^^^^^^^^^ help: try: `0x143dc2ff0_usize`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
this range is empty so it will yield no values:
hook/src/hooks/nav.rs#L356
error: this range is empty so it will yield no values
--> hook/src/hooks/nav.rs:356:14
|
356 | for x in 0..0 {
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#reversed_empty_ranges
= note: `#[deny(clippy::reversed_empty_ranges)]` on by default
|
casting to the same type is unnecessary (`usize` -> `usize`):
hook/src/hooks/nav.rs#L256
error: casting to the same type is unnecessary (`usize` -> `usize`)
--> hook/src/hooks/nav.rs:256:58
|
256 | .map(|r| std::mem::transmute::<usize, FnGetPath>(r.0 as usize))
| ^^^^^^^^^^^^ help: try: `r.0`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `-D clippy::unnecessary-cast` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_cast)]`
|
this function has too many arguments (10/7):
hook/src/hooks/debug_drawing.rs#L419
error: this function has too many arguments (10/7)
--> hook/src/hooks/debug_drawing.rs:419:1
|
419 | / fn draw_cone(
420 | | batcher: &mut ULineBatchComponent,
421 | | origin: FVector,
422 | | direction: FVector,
... |
429 | | thickness: f32,
430 | | ) {
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
this function has too many arguments (10/7):
hook/src/hooks/debug_drawing.rs#L388
error: this function has too many arguments (10/7)
--> hook/src/hooks/debug_drawing.rs:388:1
|
388 | / fn add_circle(
389 | | lines: &mut Vec<FBatchedLine>,
390 | | base: &Vector3<f32>,
391 | | x: &Vector3<f32>,
... |
398 | | thickness: f32,
399 | | ) {
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
this function has too many arguments (10/7):
hook/src/hooks/debug_drawing.rs#L357
error: this function has too many arguments (10/7)
--> hook/src/hooks/debug_drawing.rs:357:1
|
357 | / fn add_half_circle(
358 | | lines: &mut Vec<FBatchedLine>,
359 | | base: &Vector3<f32>,
360 | | x: &Vector3<f32>,
... |
367 | | thickness: f32,
368 | | ) {
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: `-D clippy::too-many-arguments` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::too_many_arguments)]`
|
variants `Failed_StartingPointNotFound`, `Failed_EndPointNotFound`, `Failed_PointsNotConnected`, `Failed_UsedTooManyNodes`, `Failed_NotReady`, and `Failed_UnknownError` are never constructed:
hook/src/hooks/nav.rs#L1256
error: variants `Failed_StartingPointNotFound`, `Failed_EndPointNotFound`, `Failed_PointsNotConnected`, `Failed_UsedTooManyNodes`, `Failed_NotReady`, and `Failed_UnknownError` are never constructed
--> hook/src/hooks/nav.rs:1256:5
|
1254 | enum EPathfinderResult {
| ----------------- variants in this enum
1255 | Success = 0x0,
1256 | Failed_StartingPointNotFound = 0x1,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1257 | Failed_EndPointNotFound = 0x2,
| ^^^^^^^^^^^^^^^^^^^^^^^
1258 | Failed_PointsNotConnected = 0x3,
| ^^^^^^^^^^^^^^^^^^^^^^^^^
1259 | Failed_UsedTooManyNodes = 0x4,
| ^^^^^^^^^^^^^^^^^^^^^^^
1260 | Failed_NotReady = 0x5,
| ^^^^^^^^^^^^^^^
1261 | Failed_UnknownError = 0x6,
| ^^^^^^^^^^^^^^^^^^^
|
= note: `EPathfinderResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
|
variants `Invalid`, `Medium`, and `Large` are never constructed:
hook/src/hooks/nav.rs#L1246
error: variants `Invalid`, `Medium`, and `Large` are never constructed
--> hook/src/hooks/nav.rs:1246:5
|
1245 | pub enum DeepPathFinderSize {
| ------------------ variants in this enum
1246 | Invalid = 0x0,
| ^^^^^^^
...
1249 | Medium = 0x2,
| ^^^^^^
1250 | Large = 0x1,
| ^^^^^
|
= note: `DeepPathFinderSize` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
variants `Fly` and `MAX` are never constructed:
hook/src/hooks/nav.rs#L1239
error: variants `Fly` and `MAX` are never constructed
--> hook/src/hooks/nav.rs:1239:5
|
1236 | pub enum DeepPathFinderType {
| ------------------ variants in this enum
...
1239 | Fly = 0x1,
| ^^^
1240 | MAX = 0x2,
| ^^^
|
= note: `DeepPathFinderType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
variants `NotRunning` and `Running` are never constructed:
hook/src/hooks/nav.rs#L1098
error: variants `NotRunning` and `Running` are never constructed
--> hook/src/hooks/nav.rs:1098:5
|
1097 | enum GarbState {
| --------- variants in this enum
1098 | NotRunning = 0x0,
| ^^^^^^^^^^
1099 | Running = 0x1,
| ^^^^^^^
|
= note: `GarbState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
method `to_world_pos` is never used:
hook/src/hooks/nav.rs#L782
error: method `to_world_pos` is never used
--> hook/src/hooks/nav.rs:782:8
|
781 | impl FDeepNavSetFNode {
| --------------------- method in this implementation
782 | fn to_world_pos(&self) -> FVector {
| ^^^^^^^^^^^^
|
function `nav_stuff` is never used:
hook/src/hooks/nav.rs#L593
error: function `nav_stuff` is never used
--> hook/src/hooks/nav.rs:593:11
|
593 | unsafe fn nav_stuff(
| ^^^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
|
variable does not need to be mutable:
hook/src/hooks/nav.rs#L688
error: variable does not need to be mutable
--> hook/src/hooks/nav.rs:688:9
|
688 | let mut points = vec![];
| ----^^^^^^
| |
| help: remove this `mut`
|
variable does not need to be mutable:
hook/src/hooks/nav.rs#L687
error: variable does not need to be mutable
--> hook/src/hooks/nav.rs:687:9
|
687 | let mut lines = vec![];
| ----^^^^^
| |
| help: remove this `mut`
|
unused variable: `csg_world`:
hook/src/hooks/nav.rs#L694
error: unused variable: `csg_world`
--> hook/src/hooks/nav.rs:694:17
|
694 | if let Some(csg_world) = csg_world {
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_csg_world`
|
variable does not need to be mutable:
hook/src/hooks/nav.rs#L660
error: variable does not need to be mutable
--> hook/src/hooks/nav.rs:660:9
|
660 | let mut points = vec![];
| ----^^^^^^
| |
| help: remove this `mut`
|
= note: `-D unused-mut` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_mut)]`
|
unused variable: `points`:
hook/src/hooks/nav.rs#L595
error: unused variable: `points`
--> hook/src/hooks/nav.rs:595:5
|
595 | points: &mut Vec<FBatchedPoint>,
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_points`
|
unused variable: `connections`:
hook/src/hooks/nav.rs#L600
error: unused variable: `connections`
--> hook/src/hooks/nav.rs:600:9
|
600 | let connections = element_ptr!(nav => .connections);
| ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connections`
|
unused variable: `elm`:
hook/src/hooks/nav.rs#L521
error: unused variable: `elm`
--> hook/src/hooks/nav.rs:521:29
|
521 | let elm = element_ptr!(buffer.inner.Pool.start => + (index as usize).*);
| ^^^ help: if this is intentional, prefix it with an underscore: `_elm`
|
unused variable: `elm`:
hook/src/hooks/nav.rs#L515
error: unused variable: `elm`
--> hook/src/hooks/nav.rs:515:29
|
515 | let elm = element_ptr!(buffer.inner.Pool.start => + (index as usize).*);
| ^^^ help: if this is intentional, prefix it with an underscore: `_elm`
|
unused variable: `elm`:
hook/src/hooks/nav.rs#L509
error: unused variable: `elm`
--> hook/src/hooks/nav.rs:509:29
|
509 | let elm = element_ptr!(buffer.inner.Pool.start => + (index as usize).*);
| ^^^ help: if this is intentional, prefix it with an underscore: `_elm`
|
unused variable: `elm`:
hook/src/hooks/nav.rs#L459
error: unused variable: `elm`
--> hook/src/hooks/nav.rs:459:29
|
459 | let elm = element_ptr!(buffer.inner.Pool.start => + (index as usize).*);
| ^^^ help: if this is intentional, prefix it with an underscore: `_elm`
|
unused variable: `elm`:
hook/src/hooks/nav.rs#L453
error: unused variable: `elm`
--> hook/src/hooks/nav.rs:453:29
|
453 | let elm = element_ptr!(buffer.inner.Pool.start => + (index as usize).*);
| ^^^ help: if this is intentional, prefix it with an underscore: `_elm`
|
unused variable: `blue`:
hook/src/hooks/nav.rs#L420
error: unused variable: `blue`
--> hook/src/hooks/nav.rs:420:21
|
420 | let blue = FLinearColor::new(0., 0., 1., 0.5);
| ^^^^ help: if this is intentional, prefix it with an underscore: `_blue`
|
unused variable: `cell`:
hook/src/hooks/nav.rs#L389
error: unused variable: `cell`
--> hook/src/hooks/nav.rs:389:21
|
389 | let cell = {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_cell`
|
unused variable: `c`:
hook/src/hooks/nav.rs#L376
error: unused variable: `c`
--> hook/src/hooks/nav.rs:376:21
|
376 | let c = if rank == 0 {
| ^ help: if this is intentional, prefix it with an underscore: `_c`
|
variable `i` is assigned to, but never used:
hook/src/hooks/nav.rs#L352
error: variable `i` is assigned to, but never used
--> hook/src/hooks/nav.rs:352:13
|
352 | let mut i: u8 = 0;
| ^
|
= note: consider using `_i` instead
= note: `-D unused-variables` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_variables)]`
|
unused import: `crate::ue`:
hook/src/util.rs#L4
error: unused import: `crate::ue`
--> hook/src/util.rs:4:5
|
4 | use crate::ue;
| ^^^^^^^^^
|
unused import: `element_ptr::element_ptr`:
hook/src/util.rs#L1
error: unused import: `element_ptr::element_ptr`
--> hook/src/util.rs:1:5
|
1 | use element_ptr::element_ptr;
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
variant `Failed_UnknownError` should have an upper camel case name:
hook/src/hooks/nav.rs#L1261
error: variant `Failed_UnknownError` should have an upper camel case name
--> hook/src/hooks/nav.rs:1261:5
|
1261 | Failed_UnknownError = 0x6,
| ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FailedUnknownError`
|
variant `Failed_NotReady` should have an upper camel case name:
hook/src/hooks/nav.rs#L1260
error: variant `Failed_NotReady` should have an upper camel case name
--> hook/src/hooks/nav.rs:1260:5
|
1260 | Failed_NotReady = 0x5,
| ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FailedNotReady`
|
variant `Failed_UsedTooManyNodes` should have an upper camel case name:
hook/src/hooks/nav.rs#L1259
error: variant `Failed_UsedTooManyNodes` should have an upper camel case name
--> hook/src/hooks/nav.rs:1259:5
|
1259 | Failed_UsedTooManyNodes = 0x4,
| ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FailedUsedTooManyNodes`
|
variant `Failed_PointsNotConnected` should have an upper camel case name:
hook/src/hooks/nav.rs#L1258
error: variant `Failed_PointsNotConnected` should have an upper camel case name
--> hook/src/hooks/nav.rs:1258:5
|
1258 | Failed_PointsNotConnected = 0x3,
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FailedPointsNotConnected`
|
variant `Failed_EndPointNotFound` should have an upper camel case name:
hook/src/hooks/nav.rs#L1257
error: variant `Failed_EndPointNotFound` should have an upper camel case name
--> hook/src/hooks/nav.rs:1257:5
|
1257 | Failed_EndPointNotFound = 0x2,
| ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FailedEndPointNotFound`
|
variant `Failed_StartingPointNotFound` should have an upper camel case name:
hook/src/hooks/nav.rs#L1256
error: variant `Failed_StartingPointNotFound` should have an upper camel case name
--> hook/src/hooks/nav.rs:1256:5
|
1256 | Failed_StartingPointNotFound = 0x1,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FailedStartingPointNotFound`
|
= note: `-D non-camel-case-types` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(non_camel_case_types)]`
|
unused imports: `TArray` and `UObject`:
hook/src/hooks/debug_drawing.rs#L10
error: unused imports: `TArray` and `UObject`
--> hook/src/hooks/debug_drawing.rs:10:84
|
10 | self, get_world, FBatchedLine, FBatchedPoint, FLinearColor, FRotator, FVector, TArray,
| ^^^^^^
11 | ULineBatchComponent, UObject, UWorld,
| ^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
check
Clippy had exited with the 101 exit code
|
check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|