diff --git a/SFont.c b/SFont.c index 6b23f027..0e9a8c95 100644 --- a/SFont.c +++ b/SFont.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* SFont: a simple font-library that uses special .pngs as fonts Copyright (C) 2003 Karl Bartel diff --git a/SFont.h b/SFont.h index dd1c9804..bca5fae2 100644 --- a/SFont.h +++ b/SFont.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* SFont: a simple font-library that uses special bitmaps as fonts Copyright (C) 2003 Karl Bartel diff --git a/brush.c b/brush.c index c6fe95ca..df1179f9 100644 --- a/brush.c +++ b/brush.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Franck Charlet diff --git a/brush.h b/brush.h index f7e20080..7369cd6d 100644 --- a/brush.h +++ b/brush.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007-2008 Adrien Destugues diff --git a/buttons.c b/buttons.c index 84eb0ec7..8ba733d3 100644 --- a/buttons.c +++ b/buttons.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/buttons.h b/buttons.h index 4088f0a5..febb78a5 100644 --- a/buttons.h +++ b/buttons.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/const.h b/const.h index e88d32f2..34de1b1f 100644 --- a/const.h +++ b/const.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/engine.c b/engine.c index d97230a5..4c68bfa6 100644 --- a/engine.c +++ b/engine.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/engine.h b/engine.h index 14b84244..4af90670 100644 --- a/engine.h +++ b/engine.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/errors.h b/errors.h index 4f1cab97..5fc671ce 100644 --- a/errors.h +++ b/errors.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Adrien Destugues diff --git a/factory.c b/factory.c index de1d026d..2ca223a2 100644 --- a/factory.c +++ b/factory.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2009 Adrien Destugues diff --git a/factory.h b/factory.h index cefd687c..ff12d081 100644 --- a/factory.h +++ b/factory.h @@ -1 +1,3 @@ +/* vim:expandtab:ts=2 sw=2: +*/ void Button_Brush_Factory(void); diff --git a/fileformats.c b/fileformats.c index 5e8052da..35dbd2e1 100644 --- a/fileformats.c +++ b/fileformats.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2009 Petter Lindquist diff --git a/filesel.c b/filesel.c index a8ca7dfc..1c12bb87 100644 --- a/filesel.c +++ b/filesel.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2009 Franck Charlet diff --git a/filesel.h b/filesel.h index ba2cc4a5..1064b0b1 100644 --- a/filesel.h +++ b/filesel.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/global.h b/global.h index 8a2fd8dc..6facebf4 100644 --- a/global.h +++ b/global.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2009 Franck Charlet diff --git a/graph.c b/graph.c index c996a9ea..8b62a779 100644 --- a/graph.c +++ b/graph.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Franck Charlet diff --git a/graph.h b/graph.h index 08154832..ec124732 100644 --- a/graph.h +++ b/graph.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007-2008 Adrien Destugues diff --git a/help.c b/help.c index 53e39674..9c6415b6 100644 --- a/help.c +++ b/help.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Peter Gordon diff --git a/help.h b/help.h index 883df678..14c866d0 100644 --- a/help.h +++ b/help.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/helpfile.h b/helpfile.h index a3938903..cc7bd648 100644 --- a/helpfile.h +++ b/helpfile.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/hotkeys.c b/hotkeys.c index 4e05beb5..01d23d4c 100644 --- a/hotkeys.c +++ b/hotkeys.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/hotkeys.h b/hotkeys.h index b90e4340..380964d5 100644 --- a/hotkeys.h +++ b/hotkeys.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/init.c b/init.c index 00b9a423..5538d5c0 100644 --- a/init.c +++ b/init.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Peter Gordon diff --git a/init.h b/init.h index 4ef9eeb4..44152a19 100644 --- a/init.h +++ b/init.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/input.c b/input.c index 3f147bb5..ac5d4db9 100644 --- a/input.c +++ b/input.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2009 Franck Charlet diff --git a/input.h b/input.h index c6f68f23..e4564942 100644 --- a/input.h +++ b/input.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/io.c b/io.c index 507700be..e468823b 100644 --- a/io.c +++ b/io.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/io.h b/io.h index f63aa54f..38e556d6 100644 --- a/io.h +++ b/io.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/keyboard.c b/keyboard.c index 5582d931..db96567c 100644 --- a/keyboard.c +++ b/keyboard.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2009 Franck Charlet diff --git a/keyboard.h b/keyboard.h index eca0352e..08787c0e 100644 --- a/keyboard.h +++ b/keyboard.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/libraw2crtc.c b/libraw2crtc.c index 2db8d02b..94d502ae 100644 --- a/libraw2crtc.c +++ b/libraw2crtc.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* GFX2CRTC - libraw2crtc.c * CloudStrife - 20080921 * Diffusé sous licence libre CeCILL v2 diff --git a/libraw2crtc.h b/libraw2crtc.h index a192c10c..f689043c 100644 --- a/libraw2crtc.h +++ b/libraw2crtc.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* GFX2CRTC - libraw2crtc.h * CloudStrife - 20080921 * Diffusé sous licence libre CeCILL v2 diff --git a/loadsave.c b/loadsave.c index 7a79384b..99b450a0 100644 --- a/loadsave.c +++ b/loadsave.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2009 Petter Lindquist diff --git a/loadsave.h b/loadsave.h index 5277bff1..126e5f33 100644 --- a/loadsave.h +++ b/loadsave.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/main.c b/main.c index 2ce2d961..10cf427a 100644 --- a/main.c +++ b/main.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Peter Gordon diff --git a/misc.c b/misc.c index 1bf58df3..899ed8fd 100644 --- a/misc.c +++ b/misc.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/misc.h b/misc.h index a4396e02..65ada702 100644 --- a/misc.h +++ b/misc.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/miscfileformats.c b/miscfileformats.c index 651efd04..458d9657 100644 --- a/miscfileformats.c +++ b/miscfileformats.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2009 Petter Lindquist @@ -2539,8 +2541,55 @@ void Save_C64(void) // SCR (Amstrad CPC) +void Test_SCR(void) +{ + // Mmh... not sure what we could test. Any idea ? + // The palette file can be tested, if it exists and have the right size it's + // ok. But if it's not there the pixel data may still be valid. And we can't + // use the filesize as this depends on the screen format. + + // An AMSDOS header would be a good indication but in some cases it may not + // be there +} + +void Load_SCR(void) +{ + // The Amstrad CPC screen memory is mapped in a weird mode, somewhere + // between bitmap and textmode. Basically the only way to decode this is to + // emulate the video chip and read the bytes as needed... + // Moreover, the hardware allows the screen to have any size from 8x1 to + // 800x273 pixels, and there is no indication of that in the file besides + // its size. It can also use any of the 3 screen modes. Fortunately this + // last bit of information is stored in the palette file. + // Oh, and BTW, the picture can be offset, and it's even usual to do it, + // because letting 128 pixels unused at the beginning of the file make it a + // lot easier to handle screens using more than 16K of VRam. + // The pixel encoding change with the video mode so we have to know that + // before attempting to load anything... + // As if this wasn't enough, Advanced OCP Art Studio, the reference tool on + // Amstrad, can use RLE packing when saving files, meaning we also have to + // handle that. + + // All this mess enforces us to load (and unpack if needed) the file to a + // temporary 32k buffer before actually decoding it. + + // 1) Seek for a palette + // 2) If palette found get screenmode from there, else ask user + // 3) ask user for screen size (or register values) + // 4) Load color data from palette (if found) + // 5) Close palette + // 6) Open the file + // 7) Run around the screen to untangle the pixeldata + // 8) Close the file +} + void Save_SCR(void) { + // TODO : Add possibility to set R9, R12, R13 values + // TODO : Add OCP packing support + // TODO : Add possibility to include AMSDOS header, with proper loading + // address guessed from r12/r13 values. + unsigned char* output; unsigned long outsize; unsigned char r1; diff --git a/mountlist.c b/mountlist.c index 74674df2..36171754 100644 --- a/mountlist.c +++ b/mountlist.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* mountlist.c -- return a list of mounted file systems Copyright (C) 1991, 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2003, diff --git a/mountlist.h b/mountlist.h index 3a5a3906..7cf87fef 100644 --- a/mountlist.h +++ b/mountlist.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* mountlist.h -- declarations for list of mounted file systems Copyright (C) 1991, 1992, 1998, 2000, 2001, 2002, 2003, 2004, 2005 diff --git a/op_c.c b/op_c.c index fa3cbb8f..28cb68e1 100644 --- a/op_c.c +++ b/op_c.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/op_c.h b/op_c.h index 4f12fa30..ead494db 100644 --- a/op_c.h +++ b/op_c.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/operatio.c b/operatio.c index a477c954..f504e54b 100644 --- a/operatio.c +++ b/operatio.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/operatio.h b/operatio.h index 41f6f133..928ed7bb 100644 --- a/operatio.h +++ b/operatio.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/pages.c b/pages.c index a52c9c22..d532d682 100644 --- a/pages.c +++ b/pages.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Franck Charlet diff --git a/pages.h b/pages.h index 8a6c8ca4..84bf9d65 100644 --- a/pages.h +++ b/pages.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/palette.c b/palette.c index b25eb280..75bae4ce 100644 --- a/palette.c +++ b/palette.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/palette.h b/palette.h index e28f280c..65d3e2e7 100644 --- a/palette.h +++ b/palette.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/pversion.c b/pversion.c index 6943344e..61c474c5 100644 --- a/pversion.c +++ b/pversion.c @@ -1 +1,3 @@ +/* vim:expandtab:ts=2 sw=2: +*/ char Program_version[]="2.2wip"; diff --git a/pxdouble.c b/pxdouble.c index a0758684..99a63f55 100644 --- a/pxdouble.c +++ b/pxdouble.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/pxdouble.h b/pxdouble.h index 3d8296f8..14810f86 100644 --- a/pxdouble.h +++ b/pxdouble.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/pxquad.c b/pxquad.c index d7bb35f2..47609320 100644 --- a/pxquad.c +++ b/pxquad.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/pxquad.h b/pxquad.h index 66ed0713..04f21950 100644 --- a/pxquad.h +++ b/pxquad.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/pxsimple.c b/pxsimple.c index a9290da7..9cfaff3f 100644 --- a/pxsimple.c +++ b/pxsimple.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/pxsimple.h b/pxsimple.h index 785a96a5..175d1a65 100644 --- a/pxsimple.h +++ b/pxsimple.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/pxtall.c b/pxtall.c index 71d923b7..b62a3986 100644 --- a/pxtall.c +++ b/pxtall.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/pxtall.h b/pxtall.h index 0499cf33..424ec774 100644 --- a/pxtall.h +++ b/pxtall.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/pxtall2.c b/pxtall2.c index 4393feee..1e45b972 100644 --- a/pxtall2.c +++ b/pxtall2.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/pxtall2.h b/pxtall2.h index eaf40fe5..478edf9f 100644 --- a/pxtall2.h +++ b/pxtall2.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/pxtriple.c b/pxtriple.c index fc299cfb..39fb7189 100644 --- a/pxtriple.c +++ b/pxtriple.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/pxtriple.h b/pxtriple.h index 6e470548..29719cdd 100644 --- a/pxtriple.h +++ b/pxtriple.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/pxwide.c b/pxwide.c index 2656dd25..e1aa8055 100644 --- a/pxwide.c +++ b/pxwide.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/pxwide.h b/pxwide.h index b1db7ec4..7ffaf24d 100644 --- a/pxwide.h +++ b/pxwide.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/pxwide2.c b/pxwide2.c index 498756be..0fcd8104 100644 --- a/pxwide2.c +++ b/pxwide2.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/pxwide2.h b/pxwide2.h index 15dff2d9..d6409e97 100644 --- a/pxwide2.h +++ b/pxwide2.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/readini.c b/readini.c index 7e1b9ef8..66c00678 100644 --- a/readini.c +++ b/readini.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Peter Gordon diff --git a/readini.h b/readini.h index 02188f3d..e55152f3 100644 --- a/readini.h +++ b/readini.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/readline.c b/readline.c index 8f2a509f..80a895cf 100644 --- a/readline.c +++ b/readline.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/readline.h b/readline.h index f76242a3..498fad58 100644 --- a/readline.h +++ b/readline.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/realpath.c b/realpath.c index fa74307e..ca583a15 100644 --- a/realpath.c +++ b/realpath.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ #include #include #include diff --git a/realpath.h b/realpath.h index 72c08e7f..35f625bc 100644 --- a/realpath.h +++ b/realpath.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Adrien Destugues diff --git a/saveini.c b/saveini.c index 543b8124..c97077b8 100644 --- a/saveini.c +++ b/saveini.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Peter Gordon diff --git a/saveini.h b/saveini.h index 93f9647b..c45b38f5 100644 --- a/saveini.h +++ b/saveini.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/sdlscreen.c b/sdlscreen.c index af0a266c..34ca890b 100644 --- a/sdlscreen.c +++ b/sdlscreen.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/sdlscreen.h b/sdlscreen.h index 455865ab..a7b83c2e 100644 --- a/sdlscreen.h +++ b/sdlscreen.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/setup.c b/setup.c index 548af219..b6b0bb98 100644 --- a/setup.c +++ b/setup.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Peter Gordon diff --git a/setup.h b/setup.h index 0fc2e25e..58a22b97 100644 --- a/setup.h +++ b/setup.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Peter Gordon diff --git a/shade.c b/shade.c index 31a41cf4..5b0cc9d6 100644 --- a/shade.c +++ b/shade.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/shade.h b/shade.h index 7f9e23c8..94278e55 100644 --- a/shade.h +++ b/shade.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/special.c b/special.c index 492037b4..d4006c0d 100644 --- a/special.c +++ b/special.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/special.h b/special.h index d6d64b37..ac651126 100644 --- a/special.h +++ b/special.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007 Adrien Destugues diff --git a/struct.h b/struct.h index eac999a2..56a2cf2b 100644 --- a/struct.h +++ b/struct.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/text.c b/text.c index 76c36313..f465249c 100644 --- a/text.c +++ b/text.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/text.h b/text.h index cb96813a..48b3e20b 100644 --- a/text.h +++ b/text.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Yves Rizoud diff --git a/transform.c b/transform.c index 1707ab6f..68874dde 100644 --- a/transform.c +++ b/transform.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2009 Yves Rizoud diff --git a/transform.h b/transform.h index 899c4443..26cf28d1 100644 --- a/transform.h +++ b/transform.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2009 Yves Rizoud diff --git a/windows.c b/windows.c index 2b1303ea..a268ff32 100644 --- a/windows.c +++ b/windows.c @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2008 Franck Charlet diff --git a/windows.h b/windows.h index 84563728..d5ccdc37 100644 --- a/windows.h +++ b/windows.h @@ -1,3 +1,5 @@ +/* vim:expandtab:ts=2 sw=2: +*/ /* Grafx2 - The Ultimate 256-color bitmap paint program Copyright 2007-2008 Adrien Destugues