The tracy directory now has an experiment in getting Tracy to work. It's _not_ as easy as it is touted to be. 
						
					 
				 
				2025-01-19 12:58:05 -05:00  
		
			
			
			
			
				
					
						
							
								
								
									
									
									 
							
						
					 
				 
				
					
						
							
							BROKEN: Big refactoring happening, so it compiles but game does not run and the tests fail. 
						
					 
				 
				2025-02-08 14:03:09 -05:00  
		
			
			
			
			
				
					
						
							
								
								
									
									
									 
							
						
					 
				 
				
					
						
							
							Some quick hacks that do the seamless texture splits. 
						
					 
				 
				2025-01-22 11:14:57 -05:00  
		
			
			
			
			
				
					
						
							
								
								
									
									
									 
							
						
					 
				 
				
					
						
							
							Now the sprites are rendered in the 3d scene with just SFML sprites. 
						
					 
				 
				2025-01-23 11:24:06 -05:00  
		
			
			
			
			
				
					
						
							
								
								
									
									
									 
							
						
					 
				 
				
					
						
							
							Tweaking the build to turn on various debug options in GCC and enable -Wall -Werror on only our executable configs because turning them on globally causes most of the dependencies to fail.  One thing to note is if you try to move the -D_GLIBCXX options from the project() to the executable() then you get segfaults inside the libc++ and other places. This is because the ABI changes when you enable these options, so you have to recompile _all_ dependencies with these options. 
						
					 
				 
				2025-01-19 04:02:42 -05:00  
		
			
			
			
			
				
					
						
							
								
								
									
									
									 
							
						
					 
				 
				
					
						
							
							Sprites now have a distance lighting calculation that's the same as the raycaster using a shader. 
						
					 
				 
				2025-02-07 13:50:50 -05:00  
		
			
			
			
			
				
					
						
							
								
								
									
									
									 
							
						
					 
				 
				
					
						
							
							BROKEN: Big refactoring happening, so it compiles but game does not run and the tests fail. 
						
					 
				 
				2025-02-08 14:03:09 -05:00  
		
			
			
			
			
				
					
						
							
								
								
									
									
									 
							
						
					 
				 
				
					
						
							
							The tracy directory now has an experiment in getting Tracy to work. It's _not_ as easy as it is touted to be. 
						
					 
				 
				2025-01-19 12:58:05 -05:00  
		
			
			
			
			
				
					
						
							
								
								
									
									
									 
							
						
					 
				 
				
					
						
							
							We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 
						
					 
				 
				2025-02-07 19:32:00 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							My gdb debug thing. 
						
					 
				 
				2025-01-13 13:39:12 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							First build that actually works. SDL_main errors before but didn't figure out the cause. 
						
					 
				 
				2025-01-02 11:47:02 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							First build that actually works. SDL_main errors before but didn't figure out the cause. 
						
					 
				 
				2025-01-02 11:47:02 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Tiles now record their textures and this is loaded from the map then converted to an indexed integer on the fly. 
						
					 
				 
				2025-01-31 13:37:01 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Implement a little junk camera on its own that we can use later for movement and views. 
						
					 
				 
				2025-02-03 11:08:17 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 
						
					 
				 
				2025-02-07 19:32:00 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 
						
					 
				 
				2025-02-07 19:32:00 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 
						
					 
				 
				2025-02-07 19:32:00 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							FINALLY fix that stupid bug. The cause was two-fold:  I was giving every 'enemy' a sprite, but that automatically included the player in the list of enemies, which meant that I was rendering the player's sprite while moving.  Then in the sprite casting loop I was rendering things at 0. 
						
					 
				 
				2025-02-07 11:05:15 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							FINALLY fix that stupid bug. The cause was two-fold:  I was giving every 'enemy' a sprite, but that automatically included the player in the list of enemies, which meant that I was rendering the player's sprite while moving.  Then in the sprite casting loop I was rendering things at 0. 
						
					 
				 
				2025-02-07 11:05:15 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 
						
					 
				 
				2025-02-07 19:32:00 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Brought over a bunch of code from the roguelike and now will use it to generate a random map. 
						
					 
				 
				2025-01-30 11:38:57 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Brought over a bunch of code from the roguelike and now will use it to generate a random map. 
						
					 
				 
				2025-01-30 11:38:57 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							BROKEN: Big refactoring happening, so it compiles but game does not run and the tests fail. 
						
					 
				 
				2025-02-08 14:03:09 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Amit's code mostly converted to use the new texture.hpp but there's an error on line amt/pixel.hpp:472 
						
					 
				 
				2025-01-17 11:36:03 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Finished the first pass of moving everything around and cleaning up as much as possible. 
						
					 
				 
				2025-01-17 03:45:05 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 
						
					 
				 
				2025-02-07 19:32:00 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Fixed that crash and cleaned up more variables for some study next. I might also try out my debug macros. 
						
					 
				 
				2025-01-18 00:44:25 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							First cut at a replica of the python raycaster.  Left side almost works the same but have to sort out math differences. 
						
					 
				 
				2025-01-04 12:20:41 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Fixed that crash and cleaned up more variables for some study next. I might also try out my debug macros. 
						
					 
				 
				2025-01-18 00:44:25 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Brought over a bunch of code from the roguelike and now will use it to generate a random map. 
						
					 
				 
				2025-01-30 11:38:57 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Brought over a bunch of code from the roguelike and now will use it to generate a random map. 
						
					 
				 
				2025-01-30 11:38:57 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							BROKEN: Big refactoring happening, so it compiles but game does not run and the tests fail. 
						
					 
				 
				2025-02-08 14:03:09 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							BROKEN: Big refactoring happening, so it compiles but game does not run and the tests fail. 
						
					 
				 
				2025-02-08 14:03:09 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Brought over a bunch of code from the roguelike and now will use it to generate a random map. 
						
					 
				 
				2025-01-30 11:38:57 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Trying out an FSM for controlling the main loop. 
						
					 
				 
				2025-02-04 00:52:54 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 
						
					 
				 
				2025-02-07 19:32:00 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 
						
					 
				 
				2025-02-07 19:32:00 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Brought over a bunch of code from the roguelike and now will use it to generate a random map. 
						
					 
				 
				2025-01-30 11:38:57 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Brought over a bunch of code from the roguelike and now will use it to generate a random map. 
						
					 
				 
				2025-01-30 11:38:57 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							BROKEN: Big refactoring happening, so it compiles but game does not run and the tests fail. 
						
					 
				 
				2025-02-08 14:03:09 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							BROKEN: Big refactoring happening, so it compiles but game does not run and the tests fail. 
						
					 
				 
				2025-02-08 14:03:09 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Brought over a bunch of code from the roguelike and now will use it to generate a random map. 
						
					 
				 
				2025-01-30 11:38:57 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Brought over a bunch of code from the roguelike and now will use it to generate a random map. 
						
					 
				 
				2025-01-30 11:38:57 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 
						
					 
				 
				2025-02-07 19:32:00 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 
						
					 
				 
				2025-02-07 19:32:00 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Brought over a bunch of code from the roguelike and now will use it to generate a random map. 
						
					 
				 
				2025-01-30 11:38:57 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							BROKEN: Big refactoring happening, so it compiles but game does not run and the tests fail. 
						
					 
				 
				2025-02-08 14:03:09 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Brought over a bunch of code from the roguelike and now will use it to generate a random map. 
						
					 
				 
				2025-01-30 11:38:57 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Brought over a bunch of code from the roguelike and now will use it to generate a random map. 
						
					 
				 
				2025-01-30 11:38:57 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							BROKEN: Big refactoring happening, so it compiles but game does not run and the tests fail. 
						
					 
				 
				2025-02-08 14:03:09 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Add the tracy wrap and meson options. 
						
					 
				 
				2025-01-18 13:33:45 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 
						
					 
				 
				2025-02-07 19:32:00 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 
						
					 
				 
				2025-02-07 19:32:00 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Brought over a bunch of code from the roguelike and now will use it to generate a random map. 
						
					 
				 
				2025-01-30 11:38:57 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Brought over a bunch of code from the roguelike and now will use it to generate a random map. 
						
					 
				 
				2025-01-30 11:38:57 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							BROKEN: Big refactoring happening, so it compiles but game does not run and the tests fail. 
						
					 
				 
				2025-02-08 14:03:09 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Brought over a bunch of code from the roguelike and now will use it to generate a random map. 
						
					 
				 
				2025-01-30 11:38:57 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Brought over a bunch of code from the roguelike and now will use it to generate a random map. 
						
					 
				 
				2025-01-30 11:38:57 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Sprites now have a distance lighting calculation that's the same as the raycaster using a shader. 
						
					 
				 
				2025-02-07 13:50:50 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Sprites now have a distance lighting calculation that's the same as the raycaster using a shader. 
						
					 
				 
				2025-02-07 13:50:50 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							A quick warning in case people are funding the thing. 
						
					 
				 
				2025-01-28 02:45:02 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 
						
					 
				 
				2025-02-07 19:32:00 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 
						
					 
				 
				2025-02-07 19:32:00 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							BROKEN: Big refactoring happening, so it compiles but game does not run and the tests fail. 
						
					 
				 
				2025-02-08 14:03:09 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							BROKEN: Big refactoring happening, so it compiles but game does not run and the tests fail. 
						
					 
				 
				2025-02-08 14:03:09 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Brought over a bunch of code from the roguelike and now will use it to generate a random map. 
						
					 
				 
				2025-01-30 11:38:57 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							More cleanup of the raycaster, finally removed the window as a dependency but I went against making it an sf::Drawable since that had a lot of code quality problems. 
						
					 
				 
				2025-02-04 22:52:04 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Raycaster now controls the sprite locations with SpatialMap rather than the old way.  Quick hack job in main.cpp that shows how they can move too. 
						
					 
				 
				2025-02-01 14:39:08 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Bring in the gnu omni font for text, and rewrite my stats code to use c++ and then use that to calc FPS stats for an FPS display on the left.  Debug build gets about 48, release gets about 500fps.  Amit's code will probably do even better. 
						
					 
				 
				2025-01-18 02:42:41 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Bring in the gnu omni font for text, and rewrite my stats code to use c++ and then use that to calc FPS stats for an FPS display on the left.  Debug build gets about 48, release gets about 500fps.  Amit's code will probably do even better. 
						
					 
				 
				2025-01-18 02:42:41 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 
						
					 
				 
				2025-02-07 19:32:00 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 
						
					 
				 
				2025-02-07 19:32:00 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Raycaster now controls the sprite locations with SpatialMap rather than the old way.  Quick hack job in main.cpp that shows how they can move too. 
						
					 
				 
				2025-02-01 14:39:08 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							Sprite is no more, now using the position from the level's world. 
						
					 
				 
				2025-02-05 11:46:40 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 
						
					 
				 
				2025-02-07 19:32:00 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 
						
					 
				 
				2025-02-07 19:32:00 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							BROKEN: Big refactoring happening, so it compiles but game does not run and the tests fail. 
						
					 
				 
				2025-02-08 14:03:09 -05:00  
		
			
			
			
			
				
					
						
							
								 
				 
				
					
						
							
							BROKEN: Big refactoring happening, so it compiles but game does not run and the tests fail. 
						
					 
				 
				2025-02-08 14:03:09 -05:00