195 Commits (bea0cb261923afe66c18510fe9262b96ed152479)

Author SHA1 Message Date
  Bryan Miller 553cf3ad7b Finished up the first part of UI for NameTables. They can now be added, removed, and saved in project files. No editing as of yet. 5 years ago
  Bryan Miller a66a7cc2ea Fixed bugs and typos in NESNameTable and CTRLNameTablesStore. 5 years ago
  Bryan Miller 7c836337e0 CTRLNameTablesStore created (untested). Added UI elements for CTRLNameTableStore (not fully complete). 5 years ago
  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 years ago
  Bryan Miller 671c2234e7 CTRLBanksStore now has a getBankName() method which will return the name of the given bank if it's stored in the list, a getBank() method which will return the NESBank object under the given name (or null if no bank exists). Also has a new .keys property which is an array of all the current bank names in the store. 5 years ago
  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 years ago
  Bryan Miller f504f93fbe First full coding pass of NESNameTable complete. 5 years ago
  Bryan Miller 1e6b0ae751 Started work on NESNameTable class. Not complete. 5 years ago
  Bryan Miller 447f65c033 CTRLBankTools now listens for the 'bank_remove_duplicates' event, which will call the NESBank .removeDuplicates().compact() 5 years ago
  Bryan Miller 7fa9cd1d37 NESBank now has .removeDuplicates(), and .compact(). Both operations remove undo/redo history. 5 years ago
  Bryan Miller 9ddbcd8d0a NESTile now had .clear(), .isEmpty(), and a new parameter for isEq() which allows for testing equality without orientation changes. 5 years ago
  Bryan Miller 70a395004b NESBank fixed bug when switching between Tiles 8x8 and Tiles 8x16. 5 years ago
  Bryan Miller 7d9066da6c Added Tile 8x16 view in NESBank (some bugs remain) and added UI access. 5 years ago
  Bryan Miller aead6b8485 CTRLIO added functionality for exporting palette as 6502 assembly text. 5 years ago
  Bryan Miller 54b30b2ca6 Added .currentPalette and .currentPaletteName properties to CTRLPalettesStore 5 years ago
  Bryan Miller 20aab57e83 Updated drawing palette UI. 5 years ago
  Bryan Miller 1b5c724723 Added ui for NESBank tile view. 5 years ago
  Bryan Miller ffb4d1362a NESBank can now be narrowed down to specific tile/sprite. 5 years ago
  Bryan Miller 24b5db84dd Some tweaks to the UI for creating new 'Store' items. 5 years ago
  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 years ago
  Bryan Miller 00e5e8e850 Can now export CHR filesgit add .! 5 years ago
  Bryan Miller 82e30d22ba Added .currentBank and .currentBankName properties to CTRLBanksStore 5 years ago
  Bryan Miller c09222ca01 Modal can now be opened with emit args of 'id' to open by element id or 'cls' to open by element class. 5 years ago
  Bryan Miller 8922f21cf5 Loading of a project json file now works! 5 years ago
  Bryan Miller b56ccb7bcc Continue to attempt to integrate JSON schema validation for project loading process. Not yet working, but application will run. 5 years ago
  Bryan Miller fbf13b536d Started writing JSON Schema... not sure if doing right. 5 years ago
  Bryan Miller 97c0a73619 Hidden File Input reset after loading a project. 5 years ago
  Bryan Miller 5e5343920c Project can now be exported to a json file. Loading of project json file technically works, but doesn't actually put the loaded json into the data objects... effectively no loading ATM. 5 years ago
  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 years ago
  Bryan Miller de620447fa When painting the logo, no longer forces a background color. 5 years ago
  Bryan Miller d9ecac6506 Moved CTRLPalettesStore and CTRLBanksStore initialization from main to CTRLIO 5 years ago
  Bryan Miller df3c2830bb Added the cover element to the HTML and added code to remove it when the page is ready. 5 years ago
  Bryan Miller 29757a9284 Added addEventListeners() and addListenerToEvents() methods. Moved isElement into a first class function then added back to the returned Utils object. 5 years ago
  Bryan Miller d706e08883 Updated CTRLPalettesStore and CTRLBanksStore (and associative *ListItem.html files to use the new EditableText class. 5 years ago
  Bryan Miller d206ec97e0 Added ui class EditableText to handle swapping between a <span> and a text <input> element for text that can be changed. 5 years ago
  Bryan Miller 4954ea9592 Added getRegion() and setRegion() to NESBank which will return color information within a defined region. 5 years ago
  Bryan Miller 085e732488 CTRLPainter now listens for keyboard shortcuts 'ctrl+z' and 'ctrl+y' to undo and redo (respectively) any drawing on active surfaces. 5 years ago
  Bryan Miller 24146baf34 NESBank.snapshot() was not intended to remain debounced. Method .snapshot() will now clear redo history if any. 5 years ago
  Bryan Miller 1c0213ac24 Tweaks 5 years ago
  Bryan Miller 698cfa8bae Fixed a bug in Input 5 years ago
  Bryan Miller c4efdb74f0 ISurface and NESBank updated to handle undo/redo history. Fixed a base64 issue in NESBank. 5 years ago
  Bryan Miller 1d3024c167 Input updated to call the 'mouseup' event last, to remain consistant with all other events. 5 years ago
  Bryan Miller 3d446981c8 CTRLPainter can now accept null for surfaces and will render a cleared screen if surface is null. 5 years ago
  Bryan Miller 82069a3529 Renderer now has a clear() method for clearing the given context with the given color. 5 years ago
  Bryan Miller c282d88cee Updated CTRLPainter and CTRLBanksStore to use the new Renderer system to draw surfaces to the canvas. 5 years ago
  Bryan Miller 1939160fba ui/Renderer created to render Surface objects to canvas. 5 years ago
  Bryan Miller 71cb5b3380 CTRLBanksStore properly renders thumbnail. 5 years ago
  Bryan Miller 9c6c78941e Fixed issue with bank item list canvas not displaying. 5 years ago
  Bryan Miller 44c56a74ff Added bankListItem and updated CTRLBanksStore to handle them. Issues with displaying canvas element in bankListItem. Currently renders to black. 5 years ago
  Bryan Miller 10172b3a19 Can now switch between the sprite and tile palettes 5 years ago