From 1b5cfee715742f7e3207e571cb25955b8bb001d7 Mon Sep 17 00:00:00 2001 From: "Thomas \"Cakeisalie5\" Touhey" Date: Fri, 24 Feb 2017 02:29:56 +0100 Subject: [PATCH] Corrected all of the headers. --- configure | 2 +- src/bcd/get_exponent.c | 27 ++++++++++++++++++--------- src/bcd/is_nonzero.c | 27 ++++++++++++++++++--------- src/bcd/to_ascii.c | 27 ++++++++++++++++++--------- src/core/log.c | 27 ++++++++++++++++++--------- src/core/strerror.c | 27 ++++++++++++++++++--------- src/core/version.c | 27 ++++++++++++++++++--------- src/decode/addin.c | 27 ++++++++++++++++++--------- src/decode/eact.c | 36 ++++++++++++++++++------------------ src/decode/fkey.c | 27 ++++++++++++++++++--------- src/decode/lang.c | 27 ++++++++++++++++++--------- src/decode/main.c | 27 ++++++++++++++++++--------- src/decode/mcs.c | 27 ++++++++++++++++++--------- src/decode/picture.c | 27 ++++++++++++++++++--------- src/decode/storage.c.draft | 27 ++++++++++++++++++--------- src/image/16bits.c | 27 ++++++++++++++++++--------- src/image/packed1bit.c | 27 ++++++++++++++++++--------- src/image/packed4bits.c | 27 ++++++++++++++++++--------- src/user/free.c | 27 ++++++++++++++++++--------- src/user/make.c | 27 ++++++++++++++++++--------- src/user/mcs.c | 27 ++++++++++++++++++--------- src/user/open.c | 27 ++++++++++++++++++--------- src/utils/checksum32.c | 27 ++++++++++++++++++--------- src/utils/filebuffer.c | 27 ++++++++++++++++++--------- src/utils/mcstype.c | 27 ++++++++++++++++++--------- src/utils/skip.c | 27 ++++++++++++++++++--------- src/utils/type.c | 27 ++++++++++++++++++--------- 27 files changed, 469 insertions(+), 244 deletions(-) diff --git a/configure b/configure index 6af703d..38a3941 100755 --- a/configure +++ b/configure @@ -203,7 +203,7 @@ fi if [ "$windows" ] && [ ! "$win_target" ]; then cat >&2 < |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2016/11/21 16:14:08 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * bcd/get_exponent.c -- get the exponent out of a BCD-encoded number. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include #include diff --git a/src/bcd/is_nonzero.c b/src/bcd/is_nonzero.c index bc4802f..603cf8e 100644 --- a/src/bcd/is_nonzero.c +++ b/src/bcd/is_nonzero.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* bcd/is_zero.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2016/11/21 16:07:53 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * bcd/is_zero.c -- check if a BCD is zero or not. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include #include diff --git a/src/bcd/to_ascii.c b/src/bcd/to_ascii.c index 48964c2..05bcd26 100644 --- a/src/bcd/to_ascii.c +++ b/src/bcd/to_ascii.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* bcd/to_ascii.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2016/11/21 13:54:41 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * bcd/to_ascii.c -- make an ASCII-encoded string out of a BCD-encoded number. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include #include #define VISIBLE_PRECISION 5 diff --git a/src/core/log.c b/src/core/log.c index d1d59c7..17ae664 100644 --- a/src/core/log.c +++ b/src/core/log.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* log.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2016/10/31 00:14:27 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * core/log.c -- logging utilities. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include #include #include diff --git a/src/core/strerror.c b/src/core/strerror.c index 5460bb2..8cecb1c 100644 --- a/src/core/strerror.c +++ b/src/core/strerror.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* strerror.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2016/10/31 00:14:27 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * core/strerror.c -- error strings. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include /** diff --git a/src/core/version.c b/src/core/version.c index 80c48e8..5a12b11 100644 --- a/src/core/version.c +++ b/src/core/version.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* version.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2016/10/31 00:14:27 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * core/version.c -- display the version message when run directly. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include #include diff --git a/src/decode/addin.c b/src/decode/addin.c index 2bc4dfa..c51f338 100644 --- a/src/decode/addin.c +++ b/src/decode/addin.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* decode/addin.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2017/02/19 23:01:18 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * decode/addin.c -- decode an add-in file. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include /** diff --git a/src/decode/eact.c b/src/decode/eact.c index c01c771..0f548c2 100644 --- a/src/decode/eact.c +++ b/src/decode/eact.c @@ -1,21 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* decode/eact.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2017/02/19 23:01:18 |___/ */ -/* */ -/* ************************************************************************** */ -/* ************************************************************************** */ -/* _____ _ */ -/* decode/eact.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2016/12/01 13:33:45 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * decode/eact.c -- decode an e-activity file. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include /* ************************************************************************** */ diff --git a/src/decode/fkey.c b/src/decode/fkey.c index ac5a5dc..7a7c529 100644 --- a/src/decode/fkey.c +++ b/src/decode/fkey.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* decode/fkey.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2017/02/19 23:01:18 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * decode/fkey.c -- decode a function keys file. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include /* ************************************************************************** */ diff --git a/src/decode/lang.c b/src/decode/lang.c index e3fd1d9..f7d9d81 100644 --- a/src/decode/lang.c +++ b/src/decode/lang.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* decode/lang.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2017/02/19 23:01:18 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * decode/lang.c -- decode a language file. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include /* ************************************************************************** */ diff --git a/src/decode/main.c b/src/decode/main.c index e234a08..7e42291 100644 --- a/src/decode/main.c +++ b/src/decode/main.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* decode/main.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2017/02/19 23:01:18 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * decode/main.c -- decode a file. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include /* ************************************************************************** */ diff --git a/src/decode/mcs.c b/src/decode/mcs.c index 54ceeec..4061e4d 100644 --- a/src/decode/mcs.c +++ b/src/decode/mcs.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* decode/mcs.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2017/02/19 23:01:18 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * decode/mcs.c -- decode an MCS archive file. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include #include diff --git a/src/decode/picture.c b/src/decode/picture.c index 53c845e..eb80fd6 100644 --- a/src/decode/picture.c +++ b/src/decode/picture.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* decode/picture.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2017/02/19 23:01:18 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * decode/picture.c -- decode a picture file. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include #include diff --git a/src/decode/storage.c.draft b/src/decode/storage.c.draft index c15b2a6..bb60661 100644 --- a/src/decode/storage.c.draft +++ b/src/decode/storage.c.draft @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* decode/storage.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2017/02/19 23:01:18 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * decode/storage.c -- decode a storage file. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include #define MAX_SECTORS 27 #define SUB(V, TYPE) \ diff --git a/src/image/16bits.c b/src/image/16bits.c index b854655..da369a9 100644 --- a/src/image/16bits.c +++ b/src/image/16bits.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* image/16bits.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2016/11/23 07:04:05 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * image/16bits.c -- encode and decode from 16-bits encoded image. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include /** diff --git a/src/image/packed1bit.c b/src/image/packed1bit.c index f3f297b..8876a4f 100644 --- a/src/image/packed1bit.c +++ b/src/image/packed1bit.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* image/monochrome_packed.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2016/11/23 07:04:13 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * image/packed1bit.c -- encode and decode from packed monochrome encoded image. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include /** diff --git a/src/image/packed4bits.c b/src/image/packed4bits.c index c3ec2f9..3b78f77 100644 --- a/src/image/packed4bits.c +++ b/src/image/packed4bits.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* image/packed4bits.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2016/12/12 23:59:17 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * image/packed4bits.c -- encode and decode from packed 4-bits encoded image. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include /* colors correspondance */ diff --git a/src/user/free.c b/src/user/free.c index 8684340..0e2486e 100644 --- a/src/user/free.c +++ b/src/user/free.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* user/free.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2016/11/21 09:13:10 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * user/free.c -- free elements of a handle. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include #include diff --git a/src/user/make.c b/src/user/make.c index b1f4479..70b3532 100644 --- a/src/user/make.c +++ b/src/user/make.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* user/make.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2016/12/15 13:22:04 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * user/make.c -- create a handle. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include /** diff --git a/src/user/mcs.c b/src/user/mcs.c index 3287e97..39bbe41 100644 --- a/src/user/mcs.c +++ b/src/user/mcs.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* user/mcs.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2016/12/15 13:29:16 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * user/mcs.c -- manage an MCS archive. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include #define MCS_CHUNK_SIZE 16 diff --git a/src/user/open.c b/src/user/open.c index 6234834..13d1fb7 100644 --- a/src/user/open.c +++ b/src/user/open.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* user/open.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2016/11/21 09:14:15 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * user/open.c -- open a file. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include #include #include diff --git a/src/utils/checksum32.c b/src/utils/checksum32.c index 2ff046e..3e3ab10 100644 --- a/src/utils/checksum32.c +++ b/src/utils/checksum32.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* utils/checksum32.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2016/11/25 13:49:54 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * utils/checksum32.c -- make a checksum on 32-bits out of a memory zone. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include /** diff --git a/src/utils/filebuffer.c b/src/utils/filebuffer.c index 7c7ca51..6bf7cdc 100644 --- a/src/utils/filebuffer.c +++ b/src/utils/filebuffer.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* utils/filebuffer.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2017/02/19 22:35:20 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * utils/filebuffer.c -- FILE to libg1m buffer utilities. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include #ifndef G1M_DISABLED_FILE diff --git a/src/utils/mcstype.c b/src/utils/mcstype.c index 51d7a5d..7e04531 100644 --- a/src/utils/mcstype.c +++ b/src/utils/mcstype.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* utils/mcstype.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2016/12/16 12:26:03 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * utils/mcstype.c -- get the MCS type out of raw identification data. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include /* ************************************************************************** */ diff --git a/src/utils/skip.c b/src/utils/skip.c index e8d9938..7ed3f5f 100644 --- a/src/utils/skip.c +++ b/src/utils/skip.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* utils/skip.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2016/12/01 13:33:41 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * utils/skip.c -- skip some bytes (useful for debugging). + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include /** diff --git a/src/utils/type.c b/src/utils/type.c index 399adeb..760cf47 100644 --- a/src/utils/type.c +++ b/src/utils/type.c @@ -1,12 +1,21 @@ -/* ************************************************************************** */ -/* _____ _ */ -/* utils/type.c |_ _|__ _ _| |__ ___ _ _ */ -/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */ -/* | | (_) | |_| | | | | __/ |_| | */ -/* By: thomas |_|\___/ \__,_|_| |_|\___|\__, |.fr */ -/* Last updated: 2016/12/01 13:33:41 |___/ */ -/* */ -/* ************************************************************************** */ +/* ***************************************************************************** + * utils/type.c -- extract the G1M file type out of raw identification data. + * Copyright (C) 2017 Thomas "Cakeisalie5" Touhey + * + * This file is part of libg1m. + * libg1m is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 3.0 of the License, + * or (at your option) any later version. + * + * libg1m is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libg1m; if not, see . + * ************************************************************************** */ #include #include