Yves Rizoud 
							
						 
					 
					
						
						
						
						
							
						
						
							84ac0df49c 
							
						 
					 
					
						
						
							
							Issue 285: For skins and fonts, replaced calls to SDL_image with our own image-loading functions. Also fixed the generic loader that was updating the screen palette even when not useful.  
						
						 
						
						... 
						
						
						
						git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1247 416bcca6-2ee7-4201-b75f-2eb2f807beb1 
						
						
					 
					
						2010-01-15 01:48:33 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yves Rizoud 
							
						 
					 
					
						
						
						
						
							
						
						
							8bdd163ede 
							
						 
					 
					
						
						
							
							Huge rewrite of the file loading/saving system. Normally safer in case of problem. Added incremental safety backups at regular intervals in the 'application data' directory (Windows) or $HOME/.grafx2 (unix). Keeps 8 files, saves every 30-60s and/or every 10-30 clicks.  
						
						 
						
						... 
						
						
						
						git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1245 416bcca6-2ee7-4201-b75f-2eb2f807beb1 
						
						
					 
					
						2010-01-13 02:09:47 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yves Rizoud 
							
						 
					 
					
						
						
						
						
							
						
						
							224902e18e 
							
						 
					 
					
						
						
							
							Some endianness fixes in load/save of formats KCF, IMG, CEL, IMG, BMP. Now all file operations are done directly with the right endianness.  
						
						 
						
						... 
						
						
						
						git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1226 416bcca6-2ee7-4201-b75f-2eb2f807beb1 
						
						
					 
					
						2009-11-26 23:34:51 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yves Rizoud 
							
						 
					 
					
						
						
						
						
							
						
						
							33ef5cfde2 
							
						 
					 
					
						
						
							
							Fix on loading all formats 'misc': Marking some formats 'Backup_done=0' didn't work because this flag was specialized for importing and exporting palettes (a modification of the image), without updating the image on screen or remembering the file name.  
						
						 
						
						... 
						
						
						
						git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1183 416bcca6-2ee7-4201-b75f-2eb2f807beb1 
						
						
					 
					
						2009-11-14 17:16:46 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Adrien Destugues 
							
						 
					 
					
						
						
						
						
							
						
						
							e6e698c2bd 
							
						 
					 
					
						
						
							
							Added vim modelines to all files.  
						
						 
						
						... 
						
						
						
						Set them to 2-space indent, I hope this is ok.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1161 416bcca6-2ee7-4201-b75f-2eb2f807beb1 
						
						
					 
					
						2009-11-10 20:08:11 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Adrien Destugues 
							
						 
					 
					
						
						
						
						
							
						
						
							2239adbd58 
							
						 
					 
					
						
						
							
							Free memory properly when saving a cpc .scr.  
						
						 
						
						... 
						
						
						
						Also allow to save a brush in this format (in "screen" mode).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1160 416bcca6-2ee7-4201-b75f-2eb2f807beb1 
						
						
					 
					
						2009-11-08 13:22:00 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Adrien Destugues 
							
						 
					 
					
						
						
						
						
							
						
						
							74f723c3b0 
							
						 
					 
					
						
						
							
							Added save function for amstrad cpc scr images. No load available yet, and the code was pretty quickly hacked. Thanks to CloudStrife for providing libraw2crtc.  
						
						 
						
						... 
						
						
						
						git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1158 416bcca6-2ee7-4201-b75f-2eb2f807beb1 
						
						
					 
					
						2009-11-07 16:45:22 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Adrien Destugues 
							
						 
					 
					
						
						
						
						
							
						
						
							1406e74f56 
							
						 
					 
					
						
						
							
							Load and save palettes using JASC "standard" format. Still load old palettes from DOS Grafx2, but now we handle full color :)  
						
						 
						
						... 
						
						
						
						git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1137 416bcca6-2ee7-4201-b75f-2eb2f807beb1 
						
						
					 
					
						2009-11-01 21:55:54 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Adrien Destugues 
							
						 
					 
					
						
						
						
						
							
						
						
							1a2ac678e0 
							
						 
					 
					
						
						
							
							Splitted loadsave.c :  
						
						 
						
						... 
						
						
						
						- loadsave.c : common things
- fileformats.c : format that make a full backup of any picture without palette loss
- miscfileformats.c : formats that are not saving all the picture (palette only, pixels only, constrained palette)
I was not very precise in the splitting and we may rethink the flags that mark if a picture is fully saved or not... it was not updated after we decided to allow the full palette range 0.255 instead of 0.63, so most of the atari format were marked as saving everything.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1120 416bcca6-2ee7-4201-b75f-2eb2f807beb1 
						
						
					 
					
						2009-10-31 15:20:44 +00:00