Skip to content

Commit

Permalink
Merge pull request #181 from tfausak/inline-encode
Browse files Browse the repository at this point in the history
Inline encoding stuff
  • Loading branch information
tfausak authored Feb 13, 2021
2 parents dfe04bf + a74fcab commit e22ebd2
Show file tree
Hide file tree
Showing 156 changed files with 1,057 additions and 1,863 deletions.
77 changes: 1 addition & 76 deletions rattletrap.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -121,83 +121,7 @@ library
Rattletrap.Decode.Word32le
Rattletrap.Decode.Word64le
Rattletrap.Decode.Word8le
Rattletrap.Encode.AppliedDamageAttribute
Rattletrap.Encode.Attribute
Rattletrap.Encode.AttributeMapping
Rattletrap.Encode.AttributeValue
Rattletrap.Encode.BooleanAttribute
Rattletrap.Encode.ByteAttribute
Rattletrap.Encode.Cache
Rattletrap.Encode.CamSettingsAttribute
Rattletrap.Encode.ClassMapping
Rattletrap.Encode.ClubColorsAttribute
Rattletrap.Encode.Common
Rattletrap.Encode.CompressedWord
Rattletrap.Encode.CompressedWordVector
Rattletrap.Encode.Content
Rattletrap.Encode.CustomDemolishAttribute
Rattletrap.Encode.DamageStateAttribute
Rattletrap.Encode.DemolishAttribute
Rattletrap.Encode.DestroyedReplication
Rattletrap.Encode.Dictionary
Rattletrap.Encode.EnumAttribute
Rattletrap.Encode.ExplosionAttribute
Rattletrap.Encode.ExtendedExplosionAttribute
Rattletrap.Encode.FlaggedByteAttribute
Rattletrap.Encode.FlaggedIntAttribute
Rattletrap.Encode.Float32le
Rattletrap.Encode.FloatAttribute
Rattletrap.Encode.Frame
Rattletrap.Encode.GameModeAttribute
Rattletrap.Encode.Header
Rattletrap.Encode.Initialization
Rattletrap.Encode.Int32le
Rattletrap.Encode.Int64Attribute
Rattletrap.Encode.Int64le
Rattletrap.Encode.Int8le
Rattletrap.Encode.Int8Vector
Rattletrap.Encode.IntAttribute
Rattletrap.Encode.KeyFrame
Rattletrap.Encode.List
Rattletrap.Encode.LoadoutAttribute
Rattletrap.Encode.LoadoutOnlineAttribute
Rattletrap.Encode.LoadoutsAttribute
Rattletrap.Encode.LoadoutsOnlineAttribute
Rattletrap.Encode.LocationAttribute
Rattletrap.Encode.Mark
Rattletrap.Encode.Message
Rattletrap.Encode.MusicStingerAttribute
Rattletrap.Encode.PartyLeaderAttribute
Rattletrap.Encode.PickupAttribute
Rattletrap.Encode.PickupAttributeNew
Rattletrap.Encode.PlayerHistoryKeyAttribute
Rattletrap.Encode.PrivateMatchSettingsAttribute
Rattletrap.Encode.ProductAttribute
Rattletrap.Encode.Property
Rattletrap.Encode.PropertyValue
Rattletrap.Encode.Quaternion
Rattletrap.Encode.QWordAttribute
Rattletrap.Encode.RemoteId
Rattletrap.Encode.Replay
Rattletrap.Encode.Replication
Rattletrap.Encode.ReplicationValue
Rattletrap.Encode.ReservationAttribute
Rattletrap.Encode.RigidBodyStateAttribute
Rattletrap.Encode.Rotation
Rattletrap.Encode.Section
Rattletrap.Encode.SpawnedReplication
Rattletrap.Encode.StatEventAttribute
Rattletrap.Encode.Str
Rattletrap.Encode.StringAttribute
Rattletrap.Encode.TeamPaintAttribute
Rattletrap.Encode.TitleAttribute
Rattletrap.Encode.UniqueIdAttribute
Rattletrap.Encode.UpdatedReplication
Rattletrap.Encode.Vector
Rattletrap.Encode.WeldedInfoAttribute
Rattletrap.Encode.Word32le
Rattletrap.Encode.Word64le
Rattletrap.Encode.Word8le
Rattletrap.Type.AppliedDamageAttribute
Rattletrap.Type.Attribute
Rattletrap.Type.AttributeMapping
Expand Down Expand Up @@ -285,6 +209,7 @@ library
-Wno-all-missed-specialisations
-Wno-implicit-prelude
-Wno-missing-deriving-strategies
-Wno-missing-export-lists
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-safe
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Rattletrap/Decode/CompressedWord.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module Rattletrap.Decode.CompressedWord
) where

import Rattletrap.Decode.Common
import Rattletrap.Type.CompressedWord
import Rattletrap.Type.CompressedWord hiding (getMaxBits)

import qualified Data.Bits as Bits

Expand Down
1 change: 0 additions & 1 deletion src/lib/Rattletrap/Decode/Replay.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import Rattletrap.Decode.Common
import Rattletrap.Decode.Content
import Rattletrap.Decode.Header
import Rattletrap.Decode.Section
import Rattletrap.Encode.Content
import Rattletrap.Type.Content
import Rattletrap.Type.Dictionary
import Rattletrap.Type.Header
Expand Down
17 changes: 0 additions & 17 deletions src/lib/Rattletrap/Encode/AppliedDamageAttribute.hs

This file was deleted.

25 changes: 0 additions & 25 deletions src/lib/Rattletrap/Encode/Attribute.hs

This file was deleted.

13 changes: 0 additions & 13 deletions src/lib/Rattletrap/Encode/AttributeMapping.hs

This file was deleted.

84 changes: 0 additions & 84 deletions src/lib/Rattletrap/Encode/AttributeValue.hs

This file was deleted.

11 changes: 0 additions & 11 deletions src/lib/Rattletrap/Encode/BooleanAttribute.hs

This file was deleted.

12 changes: 0 additions & 12 deletions src/lib/Rattletrap/Encode/ByteAttribute.hs

This file was deleted.

17 changes: 0 additions & 17 deletions src/lib/Rattletrap/Encode/Cache.hs

This file was deleted.

20 changes: 0 additions & 20 deletions src/lib/Rattletrap/Encode/CamSettingsAttribute.hs

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/Rattletrap/Encode/ClassMapping.hs

This file was deleted.

15 changes: 0 additions & 15 deletions src/lib/Rattletrap/Encode/ClubColorsAttribute.hs

This file was deleted.

43 changes: 0 additions & 43 deletions src/lib/Rattletrap/Encode/CompressedWord.hs

This file was deleted.

Loading

0 comments on commit e22ebd2

Please sign in to comment.