Add TODOs and make texture size squared
This commit is contained in:
		
							parent
							
								
									6c23b1a0c7
								
							
						
					
					
						commit
						7cc36d4f54
					
				
							
								
								
									
										17
									
								
								game/ennix.todo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								game/ennix.todo
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,17 @@ | ||||
| #-*- mode: org -*- | ||||
| #+TODO: BUG TODO | DONE | ||||
| #+STARTUP: show2levels | ||||
| 
 | ||||
| * DONE Load images with stb_image | ||||
| * DONE Check if images exist | ||||
| * DONE Determine minimum size of output image | ||||
| * DONE Write images to correct regions in output buffer | ||||
| * TODO Generate a Rect data structure that determines where an image goes | ||||
| * TODO Write to the rect rather than global values | ||||
| * TODO Research simple texture packing algorithms | ||||
| * TODO Implement one? | ||||
| * TODO Take an =-o= flag for the name of the output file | ||||
| * TODO Write a description on how to use the application | ||||
| * TODO Figure out how to better structure/organize this project | ||||
| * TODO Write unit tests | ||||
| * TODO Figure out how to profile performance | ||||
| @ -111,7 +111,7 @@ int main(int argc, char* argv[]) { | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     stbi_write_png("test.png", maxw, totalh, 4, buf, maxw * 4); | ||||
|     stbi_write_png("test.png", max, max, 4, buf, maxw * 4); | ||||
| 
 | ||||
|     //-------------------------------------
 | ||||
|     // Free them all, but eventually we would free after we finished 1
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user