Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							3ab746ef29
							
						
					 | 
					
						
						
							
							fileformats.c: Get rid of "unreferenced argument" Warning
						
						
						
						
						
						
					 | 
					
						2018-03-15 12:21:22 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							cd8291b6ff
							
						
					 | 
					
						
						
							
							loadsave: change Test_XXX functions to open file only once
						
						
						
						
						
						
					 | 
					
						2018-03-15 12:21:22 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							b039977f5f
							
						
					 | 
					
						
						
							
							move Test_XXX/Load_XXX/Save_XXX functions prototypes to fileformats.h
						
						
						
						
						
						
					 | 
					
						2018-03-15 12:21:16 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							ebaccbab3e
							
						
					 | 
					
						
						
							
							Load_INFO() : load comments + fix for NewIcons
						
						
						
						
						
						
						
						fix Palette loading of newIcons when the palette spans
on several lines 
						
						
					 | 
					
						2018-03-14 10:48:47 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							856ba45839
							
						
					 | 
					
						
						
							
							Load_INFO() right colors for 2nd image of NewIcons
						
						
						
						
						
						
					 | 
					
						2018-03-12 11:39:10 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							d57c6dd4ba
							
						
					 | 
					
						
						
							
							Load_INFO Add more colors in default palette
						
						
						
						
						
						
					 | 
					
						2018-03-12 11:39:10 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							6efc257229
							
						
					 | 
					
						
						
							
							Load_IFF() fix for some ILBM containing only palette
						
						
						
						
						
						
					 | 
					
						2018-03-12 11:39:10 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							b388bc56a8
							
						
					 | 
					
						
						
							
							Load_INFO() fix memory leak
						
						
						
						
						
						
					 | 
					
						2018-03-12 11:39:10 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							e48e2101e4
							
						
					 | 
					
						
						
							
							Load_INFO() Amiga Icons : don't load 2nd image in preview mode
						
						
						
						
						
						
					 | 
					
						2018-03-12 11:39:10 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							cfd5839ba5
							
						
					 | 
					
						
						
							
							Load Amiga Icons found in .info files
						
						
						
						
						
						
					 | 
					
						2018-03-12 11:39:10 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							44a8bab861
							
						
					 | 
					
						
						
							
							Update online help about the Circles and Ellipses
						
						
						
						
						
						
					 | 
					
						2018-03-10 00:46:11 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							30f23b93ef
							
						
					 | 
					
						
						
							
							Massive change of button callback function prototypes
						
						
						
						
						
						
					 | 
					
						2018-03-10 00:46:11 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							f2d579695c
							
						
					 | 
					
						
						
							
							implements selection of circle/ellipse mode with right button
						
						
						
						
						
						
						
						see http://pulkomandy.tk/projects/GrafX2/ticket/54 
						
						
					 | 
					
						2018-03-10 00:46:11 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							df73e91c08
							
						
					 | 
					
						
						
							
							Implement "corner to corner" Gradient ellipses
						
						
						
						
						
						
					 | 
					
						2018-03-10 00:46:11 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							c1afa188a2
							
						
					 | 
					
						
						
							
							Change empty/filled Ellipse drawing to draw ellipse inscribed in rectangle
						
						
						
						
						
						
						
						still to do gradient ellipses.
see http://pulkomandy.tk/projects/GrafX2/ticket/54 
						
						
					 | 
					
						2018-03-10 00:46:11 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							d6ce86cae4
							
						
					 | 
					
						
						
							
							Remove Circle_limit global variable
						
						
						
						
						
						
					 | 
					
						2018-03-10 00:46:11 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							ce1b55be03
							
						
					 | 
					
						
						
							
							graph.c: Pixel_figure is not a global var anymore
						
						
						
						
						
						
					 | 
					
						2018-03-10 00:46:11 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							be8b05a384
							
						
					 | 
					
						
						
							
							remove Ellipse_vertical_radius_squared Ellipse_horizontal_radius_squared Ellipse_limit global variables
						
						
						
						
						
						
					 | 
					
						2018-03-10 00:46:11 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							6b97fcc322
							
						
					 | 
					
						
						
							
							Remove Ellipse_cursor_X/Y and Circle_cursor_X/Y global variables
						
						
						
						
						
						
					 | 
					
						2018-03-10 00:46:11 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							6be7cb1e9f
							
						
					 | 
					
						
						
							
							move circle/ellipse functions from misc.c to graph.c
						
						
						
						
						
						
						
						void Ellipse_compute_limites(short horizontal_radius,short vertical_radius);
byte Pixel_in_ellipse(void);
byte Pixel_in_circle(void); 
						
						
					 | 
					
						2018-03-10 00:46:11 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							c03984fccb
							
						
					 | 
					
						
						
							
							Load_IFF() set a default grayscale palette for files without CMAP
						
						
						
						
						
						
					 | 
					
						2018-03-06 16:25:39 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							144207f6d6
							
						
					 | 
					
						
						
							
							Load_IFF() improve 4bits per component palettes
						
						
						
						
						
						
					 | 
					
						2018-03-06 16:25:39 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							975c343cd7
							
						
					 | 
					
						
						
							
							Load_IFF() cleanup. remove counter variable
						
						
						
						
						
						
					 | 
					
						2018-03-06 16:25:39 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							141d0bf698
							
						
					 | 
					
						
						
							
							parseiff: try to parse after the theorical end of the file
						
						
						
						
						
						
						
						some malformed IFF files are like this 
						
						
					 | 
					
						2018-03-06 16:25:39 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							5907219e6f
							
						
					 | 
					
						
						
							
							Load_IFF(): Use same palette structures for SHAM and PCHG + PCHG ok with EHB modes
						
						
						
						
						
						
					 | 
					
						2018-03-06 16:25:39 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							ca352e756c
							
						
					 | 
					
						
						
							
							Load_IFF() parse RAST chunks
						
						
						
						
						
						
					 | 
					
						2018-03-06 16:25:39 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							2338e99d47
							
						
					 | 
					
						
						
							
							Load_IFF(): parse DYCP and CTBL chunks found in Dynamic Hires files
						
						
						
						
						
						
					 | 
					
						2018-03-06 16:25:39 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							aca95e4ca0
							
						
					 | 
					
						
						
							
							remove left over printf
						
						
						
						
						
						
					 | 
					
						2018-03-06 16:25:39 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							b0203ff93c
							
						
					 | 
					
						
						
							
							Display original picture size in Load/Save dialog when displaying a thumbnail
						
						
						
						
						
						
					 | 
					
						2018-03-06 16:25:39 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							3876f8e1c5
							
						
					 | 
					
						
						
							
							Load_IFF(): Move ILBM decoding to LBM_Decode() and display ILBM thumbnails
						
						
						
						
						
						
						
						also dont load thumbnail with invalid dimensions 
						
						
					 | 
					
						2018-03-06 16:25:39 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							c29f1c9161
							
						
					 | 
					
						
						
							
							Fix compilation with recoil with MSVC
						
						
						
						
						
						
						
						Also fix handling of long extensions (more than 3 characters) 
						
						
					 | 
					
						2018-03-05 17:07:42 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							0fd3fb80fd
							
						
					 | 
					
						
						
							
							Load_Recoil(): preserve original picture aspect ratio
						
						
						
						
						
						
						
						skip RECOIL pixel doubling 
						
						
					 | 
					
						2018-03-05 15:42:14 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							2995a0e3e1
							
						
					 | 
					
						
						
							
							Load_Recoil(): show number of colors in "comment"
						
						
						
						
						
						
					 | 
					
						2018-03-05 15:42:14 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							e36c96e21c
							
						
					 | 
					
						
						
							
							3rdparty: add lua and recoil directories to .gitignore
						
						
						
						
						
						
					 | 
					
						2018-03-05 15:42:14 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							49bc467358
							
						
					 | 
					
						
						
							
							Fix Makefile for building with RECOIL + update Makefile.dep
						
						
						
						
						
						
						
						it was failing when building with make -j3 
						
						
					 | 
					
						2018-03-05 15:42:14 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							d9ca8c044b
							
						
					 | 
					
						
						
							
							Allow to compile without RECOIL (make NORECOIL=1)
						
						
						
						
						
						
					 | 
					
						2018-03-05 15:42:14 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							701dec6df3
							
						
					 | 
					
						
						
							
							Load_Recoil_Image(): Read image in multiple files with RECOIL
						
						
						
						
						
						
						
						add Recoil virtual readFile() method to allow loading of Companion files 
						
						
					 | 
					
						2018-03-05 15:42:14 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							44b1d5a466
							
						
					 | 
					
						
						
							
							Try to load images with RECOIL (REtro COmputer IMage Library)
						
						
						
						
						
						
					 | 
					
						2018-03-05 15:42:14 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							f53925f4f5
							
						
					 | 
					
						
						
							
							Load_CM5() : clean up palette setup
						
						
						
						
						
						
					 | 
					
						2018-03-05 13:55:35 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							9e89fb665b
							
						
					 | 
					
						
						
							
							Load_CM5() Fix preview for CM5 format
						
						
						
						
						
						
					 | 
					
						2018-03-05 13:55:35 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							68cad3884b
							
						
					 | 
					
						
						
							
							Load_CM5() update comments
						
						
						
						
						
						
					 | 
					
						2018-03-05 13:55:35 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							9209cc0a5c
							
						
					 | 
					
						
						
							
							Load_CM5(): clear palette if configured to do so
						
						
						
						
						
						
					 | 
					
						2018-03-05 13:55:35 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							4b4a66d65c
							
						
					 | 
					
						
						
							
							Load_CM5() remove uneeded buffer
						
						
						
						
						
						
					 | 
					
						2018-03-05 13:55:35 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							524bdfba90
							
						
					 | 
					
						
						
							
							improve Test_CM5()
						
						
						
						
						
						
					 | 
					
						2018-03-05 13:55:35 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							8a1781df09
							
						
					 | 
					
						
						
							
							Delete_safety_backups() fix memory leaks
						
						
						
						
						
						
					 | 
					
						2018-03-05 09:22:03 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							f32eacaa01
							
						
					 | 
					
						
						
							
							Make compilers happy, remove warnings...
						
						
						
						
						
						
						
						unsigned/signed comparaison in miscfileformat.c
unused argument in readline.c 
						
						
					 | 
					
						2018-03-05 09:22:03 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							b98b743d21
							
						
					 | 
					
						
						
							
							Look_for_alternate_ext() fix uninitialized memory access
						
						
						
						
						
						
					 | 
					
						2018-03-05 09:22:02 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							3870cc8afb
							
						
					 | 
					
						
						
							
							Program_shutdown() free all images, backups, brushes.
						
						
						
						
						
						
					 | 
					
						2018-03-05 09:22:02 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							37eac890c2
							
						
					 | 
					
						
						
							
							memory leak fix : free the main page on exit
						
						
						
						
						
						
					 | 
					
						2018-03-05 09:22:02 +01:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Thomas Bernard
							
						 
					 | 
					
						
						
						
						
							
						
						
							5acf27c1b4
							
						
					 | 
					
						
						
							
							call iconv_close() to free iconv resources
						
						
						
						
						
						
					 | 
					
						2018-03-05 09:22:02 +01:00 | 
					
					
						
						
							
							
							
						
					 |