Fri, 26 Feb 2016 11:55:42 +0100
updated copyright and version info
--- a/LICENSE Wed Aug 26 14:46:42 2015 +0200 +++ b/LICENSE Fri Feb 26 11:55:42 2016 +0100 @@ -1,4 +1,4 @@ -Copyright 2014 Mike Becker. All rights reserved. +Copyright 2016 Mike Becker. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
--- a/Makefile Wed Aug 26 14:46:42 2015 +0200 +++ b/Makefile Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ # # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. # -# Copyright 2014 Mike Becker. All rights reserved. +# Copyright 2016 Mike Becker. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met:
--- a/conf.mk Wed Aug 26 14:46:42 2015 +0200 +++ b/conf.mk Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ # # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. # -# Copyright 2014 Mike Becker. All rights reserved. +# Copyright 2016 Mike Becker. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met:
--- a/src/Makefile Wed Aug 26 14:46:42 2015 +0200 +++ b/src/Makefile Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ # # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. # -# Copyright 2014 Mike Becker. All rights reserved. +# Copyright 2016 Mike Becker. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met:
--- a/src/chess/Makefile Wed Aug 26 14:46:42 2015 +0200 +++ b/src/chess/Makefile Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ # # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. # -# Copyright 2014 Mike Becker. All rights reserved. +# Copyright 2016 Mike Becker. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met:
--- a/src/chess/bishop.c Wed Aug 26 14:46:42 2015 +0200 +++ b/src/chess/bishop.c Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/chess/bishop.h Wed Aug 26 14:46:42 2015 +0200 +++ b/src/chess/bishop.h Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/chess/chess.h Wed Aug 26 14:46:42 2015 +0200 +++ b/src/chess/chess.h Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/chess/conf.mk Wed Aug 26 14:46:42 2015 +0200 +++ b/src/chess/conf.mk Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ # # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. # -# Copyright 2014 Mike Becker. All rights reserved. +# Copyright 2016 Mike Becker. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met:
--- a/src/chess/king.c Wed Aug 26 14:46:42 2015 +0200 +++ b/src/chess/king.c Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/chess/king.h Wed Aug 26 14:46:42 2015 +0200 +++ b/src/chess/king.h Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/chess/knight.c Wed Aug 26 14:46:42 2015 +0200 +++ b/src/chess/knight.c Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/chess/knight.h Wed Aug 26 14:46:42 2015 +0200 +++ b/src/chess/knight.h Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/chess/pawn.c Wed Aug 26 14:46:42 2015 +0200 +++ b/src/chess/pawn.c Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/chess/pawn.h Wed Aug 26 14:46:42 2015 +0200 +++ b/src/chess/pawn.h Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/chess/pgn.c Wed Aug 26 14:46:42 2015 +0200 +++ b/src/chess/pgn.c Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/chess/pgn.h Wed Aug 26 14:46:42 2015 +0200 +++ b/src/chess/pgn.h Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/chess/queen.c Wed Aug 26 14:46:42 2015 +0200 +++ b/src/chess/queen.c Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/chess/queen.h Wed Aug 26 14:46:42 2015 +0200 +++ b/src/chess/queen.h Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/chess/rook.c Wed Aug 26 14:46:42 2015 +0200 +++ b/src/chess/rook.c Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/chess/rook.h Wed Aug 26 14:46:42 2015 +0200 +++ b/src/chess/rook.h Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/chess/rules.c Wed Aug 26 14:46:42 2015 +0200 +++ b/src/chess/rules.c Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/chess/rules.h Wed Aug 26 14:46:42 2015 +0200 +++ b/src/chess/rules.h Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/client.c Wed Aug 26 14:46:42 2015 +0200 +++ b/src/client.c Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/colors.c Wed Aug 26 14:46:42 2015 +0200 +++ b/src/colors.c Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/colors.h Wed Aug 26 14:46:42 2015 +0200 +++ b/src/colors.h Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/game.c Wed Aug 26 14:46:42 2015 +0200 +++ b/src/game.c Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/game.h Wed Aug 26 14:46:42 2015 +0200 +++ b/src/game.h Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/input.c Wed Aug 26 14:46:42 2015 +0200 +++ b/src/input.c Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/input.h Wed Aug 26 14:46:42 2015 +0200 +++ b/src/input.h Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/main.c Wed Aug 26 14:46:42 2015 +0200 +++ b/src/main.c Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -146,7 +146,7 @@ return 0; } -Settings default_settings() { +static Settings default_settings() { Settings settings; memset(&settings, 0, sizeof(Settings)); settings.gameinfo.servercolor = WHITE; @@ -194,10 +194,6 @@ refresh(); } -void leavescr() { - endwin(); -} - int main(int argc, char **argv) { srand(time(NULL)); @@ -218,7 +214,7 @@ endwin(); return EXIT_FAILURE; } - atexit(leavescr); + atexit((void(*)())endwin); int exitcode; if (settings.singlemachine) {
--- a/src/network.c Wed Aug 26 14:46:42 2015 +0200 +++ b/src/network.c Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/network.h Wed Aug 26 14:46:42 2015 +0200 +++ b/src/network.h Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/server.c Wed Aug 26 14:46:42 2015 +0200 +++ b/src/server.c Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:
--- a/src/terminal-chess.h Wed Aug 26 14:46:42 2015 +0200 +++ b/src/terminal-chess.h Fri Feb 26 11:55:42 2016 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Mike Becker. All rights reserved. + * Copyright 2016 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -36,7 +36,7 @@ #ifndef TERMINAL_CHESS_H #define TERMINAL_CHESS_H -#define PROGRAM_VERSION "0.9-r52" +#define PROGRAM_VERSION "0.9-r55" #ifdef __cplusplus extern "C" {