issues
search
rickomax
/
psxprev
PSXPREV - Playstation (PSX) Files Previewer/Extractor
BSD 2-Clause "Simplified" License
193
stars
10
forks
source link
File reorganize
#131
Closed
trigger-segfault
closed
11 months ago
trigger-segfault
commented
11 months ago
Source files have been reorganized into subfolders so that everything is not in the root folder of Classes or Forms.
Classes/ root folder has been renamed to Common/.
Added Resources/ root folder with 16px pngs and ico files for the four PlayStation controller buttons.
Renamed a handful of files to follow conventions, more closely match what it does, or simplify the name where the more complex name wans't needed.
Deleted BigEndianReader.cs, as it wasn't even included in the project files (and has been replaced by BinaryReaderExtensions).
Deleted FileReader.cs, as it doesn't have any use.
Deleted OpenTK.dll.config, because it already exists under packages/.
Cleaned up some unused namespace using statements. And reorganized some usings so that System would always come first.
Renamed unused references: System.Data, System.Data.DataSetExtensions, and System.Xml.Linq.
Renamed files:
Renamed all format Parsers to use all caps for the format name, and always use Parser as the postfix in their name.
Renamed all format Exporters to use all caps in the format name.
Renamed CoordUnit to Coordinate.
Renamed GeomUtils to GeomMath (to justify keeping it in the root Common/ folder, because it's so commonly used)
Renamed VRAMPages to just VRAM.
Renamed LauncherForm to ScannerForm.
Renamed DialogForm to InputDialog.
Renamed SelectTMDForm to SelectRootEntityDialog.
Renamed Utils to StringUtils.
New subfolder structure:
Common/ - commonly used types that don't depend on anything in Common subfolders.
Animator/ - all animation classes
Exporters/ - exporter and helper classes
Parsers/ - parser and helper classes
Renderer/ - renderer classes (excluding RenderInfo and Texture)
Utils/ - utility and extension classes (excluding GeomUtils)
Forms/ - standalone forms that aren't used as dialogs
Controls/ - custom forms controls and editor classes
Dialogs/ - dialog forms only intended to be shown over another form (excludes TMDBindingsForm, since it uses Show)
Utils/ - property descriptors and extension classes
Renamed files:
New subfolder structure: