Skip to content

X-Hax/SA3D.Common

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SA3D.Common

Code reused all throughout the SA3D Code Library.


Namespaces and their contents

Namespace Contents
SA3D.Common Various Utility Methods
SA3D.Common.Lookup 2-way pointer dictionaries for storing pairs with unique values and unique addresses
SA3D.Common.Ini Ini data de/serializer.
SA3D.Common.IO Data reader and writer, as well as Executable utilities.
SA3D.Common.Converters Various converters, mostly used in conjunction with Ini data.

Utility classes

Class Function
DistinctMap For calculating and storing distinct values and an index mapping.
FlagHelper Flag values from 8 to 64 bits.
CollectionExtensions Collection utility methods.
MathHelper Various mathematical functionalities. Primarily contains angle related methods so far.
RegionMarker Used to define and check "regions" in a 1 dimensional sequence.
StringExtensions Various extensions for formatting and generating strings.

Releasing

!! Requires authorization via the X-Hax organisation

  1. Edit the version number in src/SA3D.Common/SA3D.Common.csproj; Example: <Version>1.0.0</Version> -> <Version>2.0.0</Version>
  2. Commit the change but dont yet push.
  3. Tag the commit: git tag -a [version number] HEAD -m "Release version [version number]"
  4. Push with tags: git push --follow-tags

This will automatically start the Github Build and Publish workflow