- 15 Dec, 2020 10 commits
-
-
Derrick authored
-
Derrick authored
-
Derrick authored
H4ResourceEditorFrame.java: Updated to use the new util method to search for files with a certain prefix to find all actor sequences when packaging a creature. Updated to also check for h4d sound files when packaging a creature.
-
Derrick authored
H4ResourceEditorPanel.java: Started work on showing battlefield layouts for castles (still need to pass in fort and citadel objects). Updated to show resource frames for tables and strings objects.
-
Derrick authored
H4ResourceFrame.java: Updated to delete a file with the same name as the file being saved if the file exists. Added support for saving a csv file from a table or strings object.
-
Derrick authored
H4CombatObjectPanel.java/form: Updated to capture any updates to the footprint offset number spinners when saving.
-
Derrick authored
-
Derrick authored
H4LayerPanel.java: Fixed a bug where importing a new set of layers didn't update the list of layers in the combo box.
-
Derrick authored
H4TableParser.java, H4StringsParser.java, H4TablePanel.java/form: Added support for viewing and editing table and strings objects.
-
Derrick authored
H4CombatCastleLayoutPanel.java/form: Added to show the combat layout of castle battles. Currently still trying to figure out where the origin is for the various combat objects.
-
- 07 Dec, 2020 2 commits
- 06 Dec, 2020 23 commits
-
-
Derrick authored
H4ResourceEditorFrame.java: Added support for viewing the mod manager frame. Added the option to crop transparency during a mass import of ora files.
-
Derrick authored
H4ResourceEditor.java, H4ResourceEditorPanel.java, H4ResourceFrame.java: Added support for viewing and editing full layouts, specifically for the town screens.
-
Derrick authored
H4AdventureActorActionGroup.java, H4CombatActorActionGroup.java: Added set methods for the cardinal direction names.
-
Derrick authored
H4AdventureObjectParser.java, AdventureObjectMaskParser.java: Added support for changing the footprint size. Started initial work for calculating and updating the height offsets.
-
Derrick authored
H4ResourceFileParser.java: Updated to get the file channel for the h4r file instead of the mapped byte buffer directly in order to close the file channel after parsing the h4r header and table of contents. Added a method to get the list of resource files which aren't links to other files. Added a null check on the entry when trying to get a resource file. Added a method for adding a file from an array of bytes.
-
Derrick authored
H4AdventureObjectPanel.java/form: Changed the footprint textfields to number spinners. Added a check for null when switching frames. Updated to handle changes in the footprint dimensions.
-
Derrick authored
H4SpriteParser.java: Updated to use the new NeuQuant color quantizer class. Updated the constructors which take an H4ColorPalette as an argument to use the color palette to determine whether or not the image being imported has alpha data (this is to act as an override if you import a png, but don't want to use the alpha data). Updated to not loop through alpha data if there isn't any alpha data. Added a set method for the image name. Added methods to set the start x and y values so that layers can be moved. Minor bug fixes.
-
Derrick authored
H4SpriteParser.java: Added a default constructor (still takes the filename as a parameter). Updated to set hasBaseFrame and hasBaseShadow to false when importing images. Added a method to get the total width of just the image frames. Added a method to allow updating the name of a layer (image).
-
Derrick authored
H4AdventureActorPanel.java, H4CombatActorPanel.java: Removed the odd way of keeping a temp clone of the current group and now just modify the H4CombatActor GroupParser directly, since if you don't save, the object isn't preserved anyway.
-
Derrick authored
-
Derrick authored
-
Derrick authored
H4CombatActorParser.java: Fixed a bug where casting the indicator Y offset to a byte when setting the value turned it to a signed value, which was then negative, and caused the y offset values to not be saved.
-
Derrick authored
H4ColorPalette.java: Added a constructor to accept a 2-dimensional array color map, where the second dimension is an array of length 3 for rgb values. Fixed a bug where the number of colors should not have been increased by one until checking for alpha data.
-
Derrick authored
-
Derrick authored
-
Derrick authored
-
Derrick authored
Util.java: Added a method to get a file channel instead of mapped byte buffer, that way the file channel could be closed after use. Added a method to determine if a file is a zip file.
-
Derrick authored
H4LayerPanel.java/form: Updated to sort the layers for display alphabetically. Added support for changing the name of individual layers. Made the start x and y values editable. Added check for null when importing an image.
-
Derrick authored
-
Derrick authored
-
Derrick authored
H4ModManagerFrame.java/form, H4ModManagerPanel.java/form: Added frame and panel for the mod managing feature.
-
Derrick authored
-
Derrick authored
NeuQuant.java: Added a new color quantizing method which seems to work significantly better than the old one.
-
- 23 Nov, 2020 5 commits
-
-
Derrick authored
H4AdventureObjectPanel.java/form: Updated to use the new object code mappings in the config directory to properly set the type codes when changing the type of an object.
-
Derrick authored
H4ResourceFrame.java: Updated to handle importing and exporting folders of pngs. Added multi-threading since importing is resource intensive. Updated the ora import feature to also crop out transparency from frames.
-
Derrick authored
H4LayerPanel.java: Fixed a bug when having layers with the same name caused issues since combo boxes will always select the first when the items are Strings.
-
Derrick authored
H4SpriteParser.java: Since base frames can be called both base_frame and base, I updated to handle that case and added a method to get the base frame. More updates to handle other sprite types, such as animations.
-
Derrick authored
H4AdventureActorParser.java, H4AdventureActorActionGroup.java: Finished implementing the parser classes.
-