Commit Graph

2884 Commits

Author SHA1 Message Date
TheDiamondMiner
99ce6175de
Fixed Typo (#98) 2022-09-09 21:14:33 -05:00
Haven1433
8a2c2763f8 code updates 2022-09-07 06:50:53 -05:00
Haven1433
440071f477 use drag icons instead of buttons 2022-09-06 20:03:27 -05:00
Haven1433
1649b35603 connection editing first pass 2022-09-06 19:19:00 -05:00
Haven1433
2427daf76f render OWs 2022-09-05 23:02:36 -05:00
Haven1433
4273c0ef70 add automatic scrolling of blocks when right-clicking the map 2022-09-05 21:01:32 -05:00
Haven1433
eecde5212f make scrollbar width a multiple of 16
having even sizes helps raster-rendering to work better
2022-09-05 20:45:16 -05:00
Haven1433
8c3beaa4df hover selection
also fix the data binding issue (PropertyChanged event was in both the subclass and the baseclass).
2022-09-05 20:44:44 -05:00
Haven1433
8ff604125c fix clipping issue 2022-09-05 11:44:34 -05:00
Haven1433
28b6f2229f right-click map to select a block 2022-09-05 11:43:20 -05:00
Haven1433
2c22819297 support undo for map editing 2022-09-05 11:35:04 -05:00
Haven1433
39db5d9426 drawing blocks 2022-09-05 09:47:09 -05:00
Haven1433
03a0ce6d06 allow selection 2022-09-05 00:48:20 -05:00
Haven1433
2991dcb8ef outline of braille tests 2022-09-04 23:36:39 -05:00
Haven1433
417eb04338 first pass at adding braille support
add the classes / types needed to support braille text. Still needs testing, but this is the skeleton.
2022-09-04 23:32:30 -05:00
Haven1433
d24e150eff add names for specials in FR/LG 2022-09-04 22:21:34 -05:00
Haven1433
be3b053d12 Merge branch 'master' of https://github.com/haven1433/HexManiacAdvance 2022-09-04 21:26:06 -05:00
TheDiamondMiner
7f86f06817
Updated description for setmaptile command (#97)
* Added list varmacros on the defaut .toml and updates script reference as per shiny's request

* changed description

* Made your changes
2022-09-04 19:01:59 -05:00
Haven1433
a69bce0547 Improve zooming
zoom in based on the cursor
2022-09-04 15:12:04 -05:00
Haven1433
cc845d9e1a Add Block View
For now, just put them against the left edge.
2022-09-04 14:07:13 -05:00
Haven1433
14fba508cc improvents
zoom
switching as you click/drag
lazy loading
2022-09-04 00:36:36 -05:00
Haven1433
f4e173bc49 improve paste logic
when pasting text, always complete the current cell by putting an extra space on the end. This might not be quite what we want, as we may want to paste something and then be in the middle of a cell edit... but more often, we want to paste multiple cells, and the last cell doesn't commit correctly if we didn't copy a space.
2022-09-03 23:04:25 -05:00
Haven1433
5d24810343 "goto source" in text tool 2022-09-03 22:05:29 -05:00
Haven1433
21eb4fc006 add down arrow graphics for menus/text 2022-09-03 21:16:20 -05:00
Haven1433
b81bd0506a implement missing method 2022-09-03 21:01:47 -05:00
Haven1433
5630ea5eb9 Update tools after editing the last byte in a table/stream 2022-09-03 20:52:31 -05:00
Haven1433
d22478a002 don't auto-change palettes when 8x8 editing a 16 color sprite
If a single sprite only supports 16 colors but has multiple palettes, you can cycle through the available palettes while editing it. But editing a 8x8 tile has special logic that causes it to switch the palette associated with a tile... which doesn't work in this case. So the 8x8 special logic should be skipped if its a 16-color image.
2022-09-03 20:51:59 -05:00
Haven1433
ed5a9eb47c fix D5 in scripts for R/S/E
R/S don't seem to have this commmand. Emerald does. In FR it's a nop.
2022-09-03 20:12:48 -05:00
Haven1433
ddf14d3837 Code cleanup 2022-09-03 00:07:36 -05:00
Haven1433
cf0e9dcc2e hex/decimal converter should support +/- 2022-09-01 21:54:14 -05:00
Haven1433
dc3cd28319 allow rom expansion to take MBs 2022-09-01 21:32:11 -05:00
Haven1433
d903c7e342 allow overworld sprite lists to have up to 27 sprites 2022-09-01 21:16:27 -05:00
Haven1433
5a4f63a8dc add option to copy crash message to clipboard 2022-09-01 21:15:43 -05:00
Haven1433
e35286c970 be more careful about which viewport we search
if multiple viewports are open on the same model, prefer to search the model from the viewport that the user has selected as a primary tab.
2022-09-01 20:18:23 -05:00
Haven1433
fc821ddd9d Expand tables using safe data
only expand the table using data that was already within the table for the new elements. This means that if you're doubling-or-more, you'll get the first element potentially multiple times (before you would get a _negative_ element, which doesn't exist)
2022-09-01 20:08:00 -05:00
Haven1433
8545fa95cb add right-click menu for controlling base-16/base-10 for length box 2022-09-01 19:58:16 -05:00
Haven1433
b704fb2f50 paste raw bytes
Pasting raw bytes is useful in a few situations. But pasting over a pointer isn't safe. So any time you paste over a pointer (or pointer in a table), paste-raw-bytes will clear the formatting. Other than that, it's an easy way to paste arbitrary data, but can cause issues if you're not careful, such as pasting over compressed data.
2022-09-01 16:12:14 -05:00
Haven1433
59c5c02f81 add 'Export All Table' function for images 2022-09-01 16:10:26 -05:00
Haven1433
aad0f4e48c fixes 2022-09-01 12:48:12 -05:00
Haven1433
52880278ea update battleScriptReference
thanks to AGSMG for helping to fill out some of these missing details
2022-09-01 12:45:33 -05:00
Haven1433
19c0d05030 support hex numbers in table length 2022-09-01 12:26:36 -05:00
Haven1433
cd78b16f69 revert owtextcolor change
This doesn't apply in vanilla
2022-09-01 11:19:53 -05:00
Haven1433
470f33266b Reading a pointer a ModelArrayElement should be smarter
If the user tries to get a field from a ModelArrayElement, and that field is a pointer that points to an ITable, do the same as GetSubTable would do.
2022-09-01 11:19:36 -05:00
Haven1433
6a761d9d23 Merge branch 'master' of https://github.com/haven1433/HexManiacAdvance 2022-09-01 10:55:06 -05:00
TheDiamondMiner
55958724a0
Added a new value to default toml which is the owtextcolor for the unused value in overworld sprite (#95) 2022-09-01 10:54:45 -05:00
Haven1433
9a9d020f6e fix goto textbox height
wasn't quite tall enough for the text
2022-09-01 08:08:16 -05:00
Haven1433
bdcd527858 allow long tablestreams to become multiline
useful for pokemon teams, which can get very wide
2022-09-01 08:01:56 -05:00
Haven1433
c1651807d6 fix issues from tests
thanks tests
2022-09-01 08:01:21 -05:00
Haven1433
587dada550 update script commands 2022-09-01 07:24:44 -05:00
Haven1433
ca2ec54581 bump to 0.4.4.4
clear non-required files from the build directory
2022-08-31 22:48:02 -05:00