Opened 4 years ago
Closed 4 years ago
#154 closed task (fixed)
split large source files
|Reported by:||Thomas Bernard||Owned by:||Thomas Bernard|
some of the .c source files are very long :
$ wc -l *.c|sort -n|tail 3147 palette.c 3787 windows.c 3903 engine.c 3967 graph.c 4176 operatio.c 5717 buttons.c 7091 fileformats.c 7692 miscfileformats.c 19375 recoil.c 108223 total
About fileformats.c/miscfileformats.c, I think we can move some functions to specific files, such as iffformat.c / gifformat.c / st_formats.c / etc.
Change History (6)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Yes, miscfileformats was already split from fileformats a long time ago. Splitting per platform would make sense indeed.
comment:3 by , 4 years ago
|Status:||new → accepted|
comment:5 by , 4 years ago
most of the work have been done.
We may still gtet GIF out of fileformats.c (that's a big chunk)
comment:6 by , 4 years ago
|Status:||accepted → closed|
Note: See TracTickets for help on using tickets.
ms_formats.c for ico/bmp ;)