Bryan Miller
								
							
						 | 
						
							
								8835afd3ad
								
							
						 | 
						
							
								
								Bug fixes for NESBank
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								6af93698ae
								
							
						 | 
						
							
								
								Huge rewrite to NESBank. Still some tweaking to be done
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								e2900290c6
								
							
						 | 
						
							
								
								Starting a rewrite of the NESBank class to support 1k, 2k, 4k, and the normal 8k access.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								1e47e836dd
								
							
						 | 
						
							
								
								Just some minor work on file dropping.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								44a568a401
								
							
						 | 
						
							
								
								CTRLPainter will now update image when current palette color is changed.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								7ba0c5f533
								
							
						 | 
						
							
								
								Fixed some confusion in NESBank and CTRLBankTools dealing with palette and side of bank.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								3af57031cc
								
							
						 | 
						
							
								
								CTRLBankTools displays and manages tools specifically for NESBank surfaces.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								ecd4f4193d
								
							
						 | 
						
							
								
								CTRLPalettes now listens for a 'set_palette_mode' event to determine which set of four palettes to display.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								545329f804
								
							
						 | 
						
							
								
								NESBank will not emit 'data_changed' when the access mode has been changed.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								0d4808dbd4
								
							
						 | 
						
							
								
								Debounced the data_changed handler so as to not overload any listeners. Fixes sever slowdown in CTRLPainter.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								768cd68144
								
							
						 | 
						
							
								
								Created CTRLBanksStore and removed test code from main.js
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								1249dd44a3
								
							
						 | 
						
							
								
								Fixed issue of mouse move event not checking if a surface is set first.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								e9b9f9eeff
								
							
						 | 
						
							
								
								NESBank can now import/export to a base64 string.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								eb01231ff3
								
							
						 | 
						
							
								
								CTRLPalettesStore now property generates a palette list entry.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								8829fc3e13
								
							
						 | 
						
							
								
								Working on palette lists.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								35b1cad2b8
								
							
						 | 
						
							
								
								Tabs working.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								5045de7f90
								
							
						 | 
						
							
								
								Working on TABs. There's a bug in the event listener at the moment.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								df1624a213
								
							
						 | 
						
							
								
								Create the CTRLPalettesStore which will handle the organization of project palettes both internally and visually.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								0b720d69d3
								
							
						 | 
						
							
								
								NESPalette updated to include a json parameter used for import and export.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								0d9058b70a
								
							
						 | 
						
							
								
								Modified NESPalette to accept color indexes as two character hex strings.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								01d511f101
								
							
						 | 
						
							
								
								Preparing to handle some IO. Nothing really done yet.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   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.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   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!
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								d100e56f28
								
							
						 | 
						
							
								
								Grid and Color palette toggle interfaces now working. Bug when drawing in a tile with a different palette.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								9d661281c3
								
							
						 | 
						
							
								
								Emitters now include the triggering element in the emitted event. Modal updated for the new element.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								e5916272ae
								
							
						 | 
						
							
								
								Rewrote CTRLPainter LineToSurface() function. Lines should be MUCH better now.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								0f4b20a3b1
								
							
						 | 
						
							
								
								Minor testing code added to main.js
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								1623084afc
								
							
						 | 
						
							
								
								NESBank uses 'access_mode' to determine if sprites, background tiles, or both should be accessed given a coordinate.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								b6a3f83b50
								
							
						 | 
						
							
								
								NESTile now has width and height as parameters.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								9513a05ada
								
							
						 | 
						
							
								
								CTRLPainter now... paints! May be some issues with lines.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								a801b4f90a
								
							
						 | 
						
							
								
								Small modification on mouse event triggering.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								26352e888d
								
							
						 | 
						
							
								
								Added a range() method to Utils which will return an array containing values from a to b over a given step.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								f598b53dfa
								
							
						 | 
						
							
								
								Added isMouseInBounds() and lastMousePosition() from Input.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								6167e610f1
								
							
						 | 
						
							
								
								Input mouse event data now includes the 'isCombo' parameter which will be true if the mouse event is part of a combo.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								329ff03e61
								
							
						 | 
						
							
								
								Fixed CTRLPainter scaling artifacts. Now renders grid.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								7999fa96f8
								
							
						 | 
						
							
								
								Much faster rendering. Scaling artifacts exist.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								173a43348e
								
							
						 | 
						
							
								
								Added throttle() to Utils. Debounce() can now accept a scope as an optional argument.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								6aa1185522
								
							
						 | 
						
							
								
								Input can now watch for 'wheelup' and 'wheeldown' for more fine grain event control.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								f5b3d77a03
								
							
						 | 
						
							
								
								CTRLPainter now has VERY rough scaling using mouse wheel
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								76ed24239f
								
							
						 | 
						
							
								
								Input now handles 'mousewheel' and 'wheel' events.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								aceb73ceb5
								
							
						 | 
						
							
								
								CTRLPainter now watches for offset with the combination shift+mouseleft+mousemove
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								d0c8dfcf62
								
							
						 | 
						
							
								
								Fixed mouse event name generations in Input.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								9f77e89b3b
								
							
						 | 
						
							
								
								Some minor refactoring of CTRLPainter
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								b16632ef1d
								
							
						 | 
						
							
								
								CTRLPainter automatically resizes the context when initialized. Render tweaks.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								842d93207f
								
							
						 | 
						
							
								
								Added [untested] code to combine kayboard and mouse events, to allow for keyboard+mouse event combos.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								a6c7aad9de
								
							
						 | 
						
							
								
								Very rough ISurface object rendering now functional.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   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)
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								c0d02bd0af
								
							
						 | 
						
							
								
								Another fix to NESBank.getColorIndex()... because, reasons.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								8d46e8a75f
								
							
						 | 
						
							
								
								Fix to ISurface and NESBank .getColorIndex() method's return value.
							
							
							
							
						 | 
						před 6 roky | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								20fa69bcc3
								
							
						 | 
						
							
								
								Added .getColorIndex() method to ISurface and extending classes.
							
							
							
							
						 | 
						před 6 roky |