Bryan Miller
								
							
						 | 
						
							
								842d93207f
								
							
						 | 
						
							
								
								Added [untested] code to combine kayboard and mouse events, to allow for keyboard+mouse event combos.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								a6c7aad9de
								
							
						 | 
						
							
								
								Very rough ISurface object rendering now functional.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   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)
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								c0d02bd0af
								
							
						 | 
						
							
								
								Another fix to NESBank.getColorIndex()... because, reasons.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								8d46e8a75f
								
							
						 | 
						
							
								
								Fix to ISurface and NESBank .getColorIndex() method's return value.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								20fa69bcc3
								
							
						 | 
						
							
								
								Added .getColorIndex() method to ISurface and extending classes.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								e2e138c846
								
							
						 | 
						
							
								
								CTRLPainter initialization called. Slowly commenting out some test code.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								fe3e65f054
								
							
						 | 
						
							
								
								CTRLPainter listens for color changes and surface changes. Still mostly doesn't do anything yet.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								432fc157ad
								
							
						 | 
						
							
								
								CTRLPalettes now emits a global 'active_palette_color' event when a palette color button is clicked.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								4f7d9d494e
								
							
						 | 
						
							
								
								Forgot to add last commit.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								82e88847df
								
							
						 | 
						
							
								
								Renamed the ISurface file. NESBank now extends ISurface.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								180f5753db
								
							
						 | 
						
							
								
								Added an interface class for Surface object... like NESBank will become.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								102001bc71
								
							
						 | 
						
							
								
								Some silly test code added to main.js
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								77ffaf9449
								
							
						 | 
						
							
								
								Added several tile, color index, and color access modes to NESBank.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								d1b017f8ee
								
							
						 | 
						
							
								
								Added a little code to main.js
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								57f2c716d9
								
							
						 | 
						
							
								
								Created the NESBank class, which handles multiple NESTiles and exports to full NES .chr format.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								dc3397b4e8
								
							
						 | 
						
							
								
								Small tweak to NESTile.copy() and NESTile.clone()
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								8d57f47874
								
							
						 | 
						
							
								
								NESTile .copy() will copy the data from a given NESTile to the current one.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								d27d41b8e3
								
							
						 | 
						
							
								
								NESTile should now store pixel data in proper NES .chr format automatically. Some code cleanup as well.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								1b8eedede4
								
							
						 | 
						
							
								
								NESTile base64 value now includes paletteIndex value.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								c800dd5a18
								
							
						 | 
						
							
								
								NESTile no longer needs a palette. That job is moving to the upcoming NESBank.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								657988781c
								
							
						 | 
						
							
								
								Slight enhancement of the NESTile.isEq() method.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								451edac454
								
							
						 | 
						
							
								
								NESTile now uses the Utils.isInt() function.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								3cd7c1984b
								
							
						 | 
						
							
								
								Added Utils.isInt() function.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								90ea91d3d3
								
							
						 | 
						
							
								
								Added array-like access to pixels. BROKEN atm.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								344ec3bda1
								
							
						 | 
						
							
								
								Bitwise access in NESTile should be fixed. *fingers crossed*
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								33553b1667
								
							
						 | 
						
							
								
								Added NESTile model and tests in main. NESTile.flip() is not working ATM.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								bfc9f740d7
								
							
						 | 
						
							
								
								Created a reference list of current emitted events and the data that comes with them.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								615d171c65
								
							
						 | 
						
							
								
								Added some mouse button code/name mapping in Input.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								95e479b81e
								
							
						 | 
						
							
								
								NESPalette class now exported as default. Updated imports accordingly.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								3f1c0039b2
								
							
						 | 
						
							
								
								Trimming some commented out code
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								4bec407e06
								
							
						 | 
						
							
								
								Minor fix
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								a6af0f9dd8
								
							
						 | 
						
							
								
								Properly preventing default mouse events (right-click).
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								b86d5b939b
								
							
						 | 
						
							
								
								Fixed mouse event test for element bounds. Attempting to add 'preventDefault' events.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								3ab48bdeb6
								
							
						 | 
						
							
								
								Properly refactored variables.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								fd9ec031e2
								
							
						 | 
						
							
								
								Added Input parameters to access mouse information.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								903b1cf2fa
								
							
						 | 
						
							
								
								Renamed a couple of Input keyboard properties to be more explicit.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								7c3595bac9
								
							
						 | 
						
							
								
								Input class basic mouse events functional. Wheel not handled.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								b94808b208
								
							
						 | 
						
							
								
								Added isElement(), which returns true if the given argument is an HTMLElement.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								da3b49763a
								
							
						 | 
						
							
								
								Added initial code for handling mouse. Nothing functional.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								862664c6be
								
							
						 | 
						
							
								
								Input class used for Keyboard and (soon) mouse events and complex combinations.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								b65ea61e31
								
							
						 | 
						
							
								
								CTRLPainter now resizes internal surface to match as close as possible the DOM canvas element size.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								6b15932ff0
								
							
						 | 
						
							
								
								Reorganized files. Adjusted imports to match new locations.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								7fe55cd661
								
							
						 | 
						
							
								
								CTRLPainter watching window resize. Using Debounce.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								abe1cf8f84
								
							
						 | 
						
							
								
								Fixed the name of the Utils file.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								830f9b877e
								
							
						 | 
						
							
								
								Added general Utils object. Debounce, in this case.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								055d98a185
								
							
						 | 
						
							
								
								Connected CTRLPainter to main.
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								5590cd01ea
								
							
						 | 
						
							
								
								Fixed broken code in CTRLPalette. Reworked a but of main
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								c3e3161bf2
								
							
						 | 
						
							
								
								Readded GlobalEvents to CTRLPalettes HA!
							
							
							
							
						 | 
						vor 6 Jahren | 
					
				
					
						
							
								
								   Bryan Miller
								
							
						 | 
						
							
								fdd555bf8c
								
							
						 | 
						
							
								
								Moved NESPainter to CTRLPainter. Just a rename at the moment.
							
							
							
							
						 | 
						vor 6 Jahren |