Bryan Miller
|
90bcc6fa99
|
Fixed a bug in NESNameTable where attribute table was being loaded incorrectly.
|
5 vuotta sitten |
Bryan Miller
|
b948d1ff52
|
Fixed a mistake from the last NESTile update
|
5 vuotta sitten |
Bryan Miller
|
86c4b4353d
|
NESNameTable now stores the NESBank.rp property into a class level object, reducing the amount of time NESBank needs to create a proxy object.
|
5 vuotta sitten |
Bryan Miller
|
8c2ff16c7d
|
NESTile now stores the proxy object for pixel access as a class level object instead of creating it for every call to the .pixels property.
|
5 vuotta sitten |
Bryan Miller
|
1bfa8b6230
|
Fixed tile assignments in NESNameTable
|
5 vuotta sitten |
Bryan Miller
|
8cd99f0bad
|
Fixed coloring issues in NESNameTable
|
5 vuotta sitten |
Bryan Miller
|
f6992da6be
|
Fixed some typos
|
5 vuotta sitten |
Bryan Miller
|
a66a7cc2ea
|
Fixed bugs and typos in NESNameTable and CTRLNameTablesStore.
|
5 vuotta sitten |
Bryan Miller
|
bf8dbd5eb9
|
NESNameTable now has a .eq() method that will return true if the object given is a NESNameTable containing the same data.
|
5 vuotta sitten |
Bryan Miller
|
d3451420d0
|
NESBank now has a getBase64() method that can get the base64 string of the bank at any size without interrupting the access_mode and access_offset settings. Also now has a eq() method which will return true if the given object is a NESBank containing the same data.
|
5 vuotta sitten |
Bryan Miller
|
f504f93fbe
|
First full coding pass of NESNameTable complete.
|
5 vuotta sitten |
Bryan Miller
|
1e6b0ae751
|
Started work on NESNameTable class. Not complete.
|
5 vuotta sitten |
Bryan Miller
|
7fa9cd1d37
|
NESBank now has .removeDuplicates(), and .compact(). Both operations remove undo/redo history.
|
5 vuotta sitten |
Bryan Miller
|
9ddbcd8d0a
|
NESTile now had .clear(), .isEmpty(), and a new parameter for isEq() which allows for testing equality without orientation changes.
|
5 vuotta sitten |
Bryan Miller
|
70a395004b
|
NESBank fixed bug when switching between Tiles 8x8 and Tiles 8x16.
|
5 vuotta sitten |
Bryan Miller
|
7d9066da6c
|
Added Tile 8x16 view in NESBank (some bugs remain) and added UI access.
|
5 vuotta sitten |
Bryan Miller
|
ffb4d1362a
|
NESBank can now be narrowed down to specific tile/sprite.
|
5 vuotta sitten |
Bryan Miller
|
808079ac24
|
Switched NESPalette.Default into a function that pulls colors from an array. These default values can now be set with the .SetDefault() function.
|
5 vuotta sitten |
Bryan Miller
|
8922f21cf5
|
Loading of a project json file now works!
|
5 vuotta sitten |
Bryan Miller
|
b56ccb7bcc
|
Continue to attempt to integrate JSON schema validation for project loading process. Not yet working, but application will run.
|
5 vuotta sitten |
Bryan Miller
|
efbeb123db
|
CTRLBanksStore, CTRLPalettesStore, and NESPalette now have an .obj property which returns a java object of the class's underlying data in a form that can be turned into a JSON. Each class's .json property has been modified to use the new .obj property.
|
5 vuotta sitten |
Bryan Miller
|
4954ea9592
|
Added getRegion() and setRegion() to NESBank which will return color information within a defined region.
|
5 vuotta sitten |
Bryan Miller
|
24146baf34
|
NESBank.snapshot() was not intended to remain debounced. Method .snapshot() will now clear redo history if any.
|
5 vuotta sitten |
Bryan Miller
|
c4efdb74f0
|
ISurface and NESBank updated to handle undo/redo history. Fixed a base64 issue in NESBank.
|
5 vuotta sitten |
Bryan Miller
|
2ebe99aa40
|
Lots of bug and general fixes.
|
5 vuotta sitten |
Bryan Miller
|
ba63481879
|
Added access_offset_length to NESBank for informational purposes (for UI use).
|
5 vuotta sitten |
Bryan Miller
|
8835afd3ad
|
Bug fixes for NESBank
|
5 vuotta sitten |
Bryan Miller
|
6af93698ae
|
Huge rewrite to NESBank. Still some tweaking to be done
|
5 vuotta sitten |
Bryan Miller
|
e2900290c6
|
Starting a rewrite of the NESBank class to support 1k, 2k, 4k, and the normal 8k access.
|
5 vuotta sitten |
Bryan Miller
|
7ba0c5f533
|
Fixed some confusion in NESBank and CTRLBankTools dealing with palette and side of bank.
|
5 vuotta sitten |
Bryan Miller
|
545329f804
|
NESBank will not emit 'data_changed' when the access mode has been changed.
|
5 vuotta sitten |
Bryan Miller
|
0d4808dbd4
|
Debounced the data_changed handler so as to not overload any listeners. Fixes sever slowdown in CTRLPainter.
|
5 vuotta sitten |
Bryan Miller
|
e9b9f9eeff
|
NESBank can now import/export to a base64 string.
|
5 vuotta sitten |
Bryan Miller
|
0b720d69d3
|
NESPalette updated to include a json parameter used for import and export.
|
5 vuotta sitten |
Bryan Miller
|
0d9058b70a
|
Modified NESPalette to accept color indexes as two character hex strings.
|
5 vuotta sitten |
Bryan Miller
|
16df3f71d1
|
NESTile and ISurface are now event emitters. NESTile and by extension NESBank will emit 'data_changed' when there's a change to the data. CTRLPainter updated to utilize the new events.
|
5 vuotta sitten |
Bryan Miller
|
b7957267eb
|
Fixed a bug in NESBank. Color Index values are now being stored in the correct location. Rendering palette colors now works correctly!
|
5 vuotta sitten |
Bryan Miller
|
1623084afc
|
NESBank uses 'access_mode' to determine if sprites, background tiles, or both should be accessed given a coordinate.
|
5 vuotta sitten |
Bryan Miller
|
b6a3f83b50
|
NESTile now has width and height as parameters.
|
5 vuotta sitten |
Bryan Miller
|
958450729e
|
NESPalette now has a static .Default[] array containing a system-wide palette. This is now used by NESBank instead of __default_pi (which is also removed from ISurface)
|
5 vuotta sitten |
Bryan Miller
|
c0d02bd0af
|
Another fix to NESBank.getColorIndex()... because, reasons.
|
5 vuotta sitten |
Bryan Miller
|
8d46e8a75f
|
Fix to ISurface and NESBank .getColorIndex() method's return value.
|
5 vuotta sitten |
Bryan Miller
|
20fa69bcc3
|
Added .getColorIndex() method to ISurface and extending classes.
|
5 vuotta sitten |
Bryan Miller
|
82e88847df
|
Renamed the ISurface file. NESBank now extends ISurface.
|
5 vuotta sitten |
Bryan Miller
|
77ffaf9449
|
Added several tile, color index, and color access modes to NESBank.
|
5 vuotta sitten |
Bryan Miller
|
57f2c716d9
|
Created the NESBank class, which handles multiple NESTiles and exports to full NES .chr format.
|
5 vuotta sitten |
Bryan Miller
|
dc3397b4e8
|
Small tweak to NESTile.copy() and NESTile.clone()
|
5 vuotta sitten |
Bryan Miller
|
8d57f47874
|
NESTile .copy() will copy the data from a given NESTile to the current one.
|
5 vuotta sitten |
Bryan Miller
|
d27d41b8e3
|
NESTile should now store pixel data in proper NES .chr format automatically. Some code cleanup as well.
|
5 vuotta sitten |
Bryan Miller
|
1b8eedede4
|
NESTile base64 value now includes paletteIndex value.
|
5 vuotta sitten |