Fri, 26 Feb 2016 11:55:42 +0100
updated copyright and version info
1.1 --- a/LICENSE Wed Aug 26 14:46:42 2015 +0200 1.2 +++ b/LICENSE Fri Feb 26 11:55:42 2016 +0100 1.3 @@ -1,4 +1,4 @@ 1.4 -Copyright 2014 Mike Becker. All rights reserved. 1.5 +Copyright 2016 Mike Becker. All rights reserved. 1.6 1.7 Redistribution and use in source and binary forms, with or without 1.8 modification, are permitted provided that the following conditions are met:
2.1 --- a/Makefile Wed Aug 26 14:46:42 2015 +0200 2.2 +++ b/Makefile Fri Feb 26 11:55:42 2016 +0100 2.3 @@ -1,7 +1,7 @@ 2.4 # 2.5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 2.6 # 2.7 -# Copyright 2014 Mike Becker. All rights reserved. 2.8 +# Copyright 2016 Mike Becker. All rights reserved. 2.9 # 2.10 # Redistribution and use in source and binary forms, with or without 2.11 # modification, are permitted provided that the following conditions are met:
3.1 --- a/conf.mk Wed Aug 26 14:46:42 2015 +0200 3.2 +++ b/conf.mk Fri Feb 26 11:55:42 2016 +0100 3.3 @@ -1,7 +1,7 @@ 3.4 # 3.5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 3.6 # 3.7 -# Copyright 2014 Mike Becker. All rights reserved. 3.8 +# Copyright 2016 Mike Becker. All rights reserved. 3.9 # 3.10 # Redistribution and use in source and binary forms, with or without 3.11 # modification, are permitted provided that the following conditions are met:
4.1 --- a/src/Makefile Wed Aug 26 14:46:42 2015 +0200 4.2 +++ b/src/Makefile Fri Feb 26 11:55:42 2016 +0100 4.3 @@ -1,7 +1,7 @@ 4.4 # 4.5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 4.6 # 4.7 -# Copyright 2014 Mike Becker. All rights reserved. 4.8 +# Copyright 2016 Mike Becker. All rights reserved. 4.9 # 4.10 # Redistribution and use in source and binary forms, with or without 4.11 # modification, are permitted provided that the following conditions are met:
5.1 --- a/src/chess/Makefile Wed Aug 26 14:46:42 2015 +0200 5.2 +++ b/src/chess/Makefile Fri Feb 26 11:55:42 2016 +0100 5.3 @@ -1,7 +1,7 @@ 5.4 # 5.5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 5.6 # 5.7 -# Copyright 2014 Mike Becker. All rights reserved. 5.8 +# Copyright 2016 Mike Becker. All rights reserved. 5.9 # 5.10 # Redistribution and use in source and binary forms, with or without 5.11 # modification, are permitted provided that the following conditions are met:
6.1 --- a/src/chess/bishop.c Wed Aug 26 14:46:42 2015 +0200 6.2 +++ b/src/chess/bishop.c Fri Feb 26 11:55:42 2016 +0100 6.3 @@ -1,7 +1,7 @@ 6.4 /* 6.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 6.6 * 6.7 - * Copyright 2014 Mike Becker. All rights reserved. 6.8 + * Copyright 2016 Mike Becker. All rights reserved. 6.9 * 6.10 * Redistribution and use in source and binary forms, with or without 6.11 * modification, are permitted provided that the following conditions are met:
7.1 --- a/src/chess/bishop.h Wed Aug 26 14:46:42 2015 +0200 7.2 +++ b/src/chess/bishop.h Fri Feb 26 11:55:42 2016 +0100 7.3 @@ -1,7 +1,7 @@ 7.4 /* 7.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 7.6 * 7.7 - * Copyright 2014 Mike Becker. All rights reserved. 7.8 + * Copyright 2016 Mike Becker. All rights reserved. 7.9 * 7.10 * Redistribution and use in source and binary forms, with or without 7.11 * modification, are permitted provided that the following conditions are met:
8.1 --- a/src/chess/chess.h Wed Aug 26 14:46:42 2015 +0200 8.2 +++ b/src/chess/chess.h Fri Feb 26 11:55:42 2016 +0100 8.3 @@ -1,7 +1,7 @@ 8.4 /* 8.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 8.6 * 8.7 - * Copyright 2014 Mike Becker. All rights reserved. 8.8 + * Copyright 2016 Mike Becker. All rights reserved. 8.9 * 8.10 * Redistribution and use in source and binary forms, with or without 8.11 * modification, are permitted provided that the following conditions are met:
9.1 --- a/src/chess/conf.mk Wed Aug 26 14:46:42 2015 +0200 9.2 +++ b/src/chess/conf.mk Fri Feb 26 11:55:42 2016 +0100 9.3 @@ -1,7 +1,7 @@ 9.4 # 9.5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 9.6 # 9.7 -# Copyright 2014 Mike Becker. All rights reserved. 9.8 +# Copyright 2016 Mike Becker. All rights reserved. 9.9 # 9.10 # Redistribution and use in source and binary forms, with or without 9.11 # modification, are permitted provided that the following conditions are met:
10.1 --- a/src/chess/king.c Wed Aug 26 14:46:42 2015 +0200 10.2 +++ b/src/chess/king.c Fri Feb 26 11:55:42 2016 +0100 10.3 @@ -1,7 +1,7 @@ 10.4 /* 10.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 10.6 * 10.7 - * Copyright 2014 Mike Becker. All rights reserved. 10.8 + * Copyright 2016 Mike Becker. All rights reserved. 10.9 * 10.10 * Redistribution and use in source and binary forms, with or without 10.11 * modification, are permitted provided that the following conditions are met:
11.1 --- a/src/chess/king.h Wed Aug 26 14:46:42 2015 +0200 11.2 +++ b/src/chess/king.h Fri Feb 26 11:55:42 2016 +0100 11.3 @@ -1,7 +1,7 @@ 11.4 /* 11.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 11.6 * 11.7 - * Copyright 2014 Mike Becker. All rights reserved. 11.8 + * Copyright 2016 Mike Becker. All rights reserved. 11.9 * 11.10 * Redistribution and use in source and binary forms, with or without 11.11 * modification, are permitted provided that the following conditions are met:
12.1 --- a/src/chess/knight.c Wed Aug 26 14:46:42 2015 +0200 12.2 +++ b/src/chess/knight.c Fri Feb 26 11:55:42 2016 +0100 12.3 @@ -1,7 +1,7 @@ 12.4 /* 12.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 12.6 * 12.7 - * Copyright 2014 Mike Becker. All rights reserved. 12.8 + * Copyright 2016 Mike Becker. All rights reserved. 12.9 * 12.10 * Redistribution and use in source and binary forms, with or without 12.11 * modification, are permitted provided that the following conditions are met:
13.1 --- a/src/chess/knight.h Wed Aug 26 14:46:42 2015 +0200 13.2 +++ b/src/chess/knight.h Fri Feb 26 11:55:42 2016 +0100 13.3 @@ -1,7 +1,7 @@ 13.4 /* 13.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 13.6 * 13.7 - * Copyright 2014 Mike Becker. All rights reserved. 13.8 + * Copyright 2016 Mike Becker. All rights reserved. 13.9 * 13.10 * Redistribution and use in source and binary forms, with or without 13.11 * modification, are permitted provided that the following conditions are met:
14.1 --- a/src/chess/pawn.c Wed Aug 26 14:46:42 2015 +0200 14.2 +++ b/src/chess/pawn.c Fri Feb 26 11:55:42 2016 +0100 14.3 @@ -1,7 +1,7 @@ 14.4 /* 14.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 14.6 * 14.7 - * Copyright 2014 Mike Becker. All rights reserved. 14.8 + * Copyright 2016 Mike Becker. All rights reserved. 14.9 * 14.10 * Redistribution and use in source and binary forms, with or without 14.11 * modification, are permitted provided that the following conditions are met:
15.1 --- a/src/chess/pawn.h Wed Aug 26 14:46:42 2015 +0200 15.2 +++ b/src/chess/pawn.h Fri Feb 26 11:55:42 2016 +0100 15.3 @@ -1,7 +1,7 @@ 15.4 /* 15.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 15.6 * 15.7 - * Copyright 2014 Mike Becker. All rights reserved. 15.8 + * Copyright 2016 Mike Becker. All rights reserved. 15.9 * 15.10 * Redistribution and use in source and binary forms, with or without 15.11 * modification, are permitted provided that the following conditions are met:
16.1 --- a/src/chess/pgn.c Wed Aug 26 14:46:42 2015 +0200 16.2 +++ b/src/chess/pgn.c Fri Feb 26 11:55:42 2016 +0100 16.3 @@ -1,7 +1,7 @@ 16.4 /* 16.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 16.6 * 16.7 - * Copyright 2014 Mike Becker. All rights reserved. 16.8 + * Copyright 2016 Mike Becker. All rights reserved. 16.9 * 16.10 * Redistribution and use in source and binary forms, with or without 16.11 * modification, are permitted provided that the following conditions are met:
17.1 --- a/src/chess/pgn.h Wed Aug 26 14:46:42 2015 +0200 17.2 +++ b/src/chess/pgn.h Fri Feb 26 11:55:42 2016 +0100 17.3 @@ -1,7 +1,7 @@ 17.4 /* 17.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 17.6 * 17.7 - * Copyright 2014 Mike Becker. All rights reserved. 17.8 + * Copyright 2016 Mike Becker. All rights reserved. 17.9 * 17.10 * Redistribution and use in source and binary forms, with or without 17.11 * modification, are permitted provided that the following conditions are met:
18.1 --- a/src/chess/queen.c Wed Aug 26 14:46:42 2015 +0200 18.2 +++ b/src/chess/queen.c Fri Feb 26 11:55:42 2016 +0100 18.3 @@ -1,7 +1,7 @@ 18.4 /* 18.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 18.6 * 18.7 - * Copyright 2014 Mike Becker. All rights reserved. 18.8 + * Copyright 2016 Mike Becker. All rights reserved. 18.9 * 18.10 * Redistribution and use in source and binary forms, with or without 18.11 * modification, are permitted provided that the following conditions are met:
19.1 --- a/src/chess/queen.h Wed Aug 26 14:46:42 2015 +0200 19.2 +++ b/src/chess/queen.h Fri Feb 26 11:55:42 2016 +0100 19.3 @@ -1,7 +1,7 @@ 19.4 /* 19.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 19.6 * 19.7 - * Copyright 2014 Mike Becker. All rights reserved. 19.8 + * Copyright 2016 Mike Becker. All rights reserved. 19.9 * 19.10 * Redistribution and use in source and binary forms, with or without 19.11 * modification, are permitted provided that the following conditions are met:
20.1 --- a/src/chess/rook.c Wed Aug 26 14:46:42 2015 +0200 20.2 +++ b/src/chess/rook.c Fri Feb 26 11:55:42 2016 +0100 20.3 @@ -1,7 +1,7 @@ 20.4 /* 20.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 20.6 * 20.7 - * Copyright 2014 Mike Becker. All rights reserved. 20.8 + * Copyright 2016 Mike Becker. All rights reserved. 20.9 * 20.10 * Redistribution and use in source and binary forms, with or without 20.11 * modification, are permitted provided that the following conditions are met:
21.1 --- a/src/chess/rook.h Wed Aug 26 14:46:42 2015 +0200 21.2 +++ b/src/chess/rook.h Fri Feb 26 11:55:42 2016 +0100 21.3 @@ -1,7 +1,7 @@ 21.4 /* 21.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 21.6 * 21.7 - * Copyright 2014 Mike Becker. All rights reserved. 21.8 + * Copyright 2016 Mike Becker. All rights reserved. 21.9 * 21.10 * Redistribution and use in source and binary forms, with or without 21.11 * modification, are permitted provided that the following conditions are met:
22.1 --- a/src/chess/rules.c Wed Aug 26 14:46:42 2015 +0200 22.2 +++ b/src/chess/rules.c Fri Feb 26 11:55:42 2016 +0100 22.3 @@ -1,7 +1,7 @@ 22.4 /* 22.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 22.6 * 22.7 - * Copyright 2014 Mike Becker. All rights reserved. 22.8 + * Copyright 2016 Mike Becker. All rights reserved. 22.9 * 22.10 * Redistribution and use in source and binary forms, with or without 22.11 * modification, are permitted provided that the following conditions are met:
23.1 --- a/src/chess/rules.h Wed Aug 26 14:46:42 2015 +0200 23.2 +++ b/src/chess/rules.h Fri Feb 26 11:55:42 2016 +0100 23.3 @@ -1,7 +1,7 @@ 23.4 /* 23.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 23.6 * 23.7 - * Copyright 2014 Mike Becker. All rights reserved. 23.8 + * Copyright 2016 Mike Becker. All rights reserved. 23.9 * 23.10 * Redistribution and use in source and binary forms, with or without 23.11 * modification, are permitted provided that the following conditions are met:
24.1 --- a/src/client.c Wed Aug 26 14:46:42 2015 +0200 24.2 +++ b/src/client.c Fri Feb 26 11:55:42 2016 +0100 24.3 @@ -1,7 +1,7 @@ 24.4 /* 24.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 24.6 * 24.7 - * Copyright 2014 Mike Becker. All rights reserved. 24.8 + * Copyright 2016 Mike Becker. All rights reserved. 24.9 * 24.10 * Redistribution and use in source and binary forms, with or without 24.11 * modification, are permitted provided that the following conditions are met:
25.1 --- a/src/colors.c Wed Aug 26 14:46:42 2015 +0200 25.2 +++ b/src/colors.c Fri Feb 26 11:55:42 2016 +0100 25.3 @@ -1,7 +1,7 @@ 25.4 /* 25.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 25.6 * 25.7 - * Copyright 2014 Mike Becker. All rights reserved. 25.8 + * Copyright 2016 Mike Becker. All rights reserved. 25.9 * 25.10 * Redistribution and use in source and binary forms, with or without 25.11 * modification, are permitted provided that the following conditions are met:
26.1 --- a/src/colors.h Wed Aug 26 14:46:42 2015 +0200 26.2 +++ b/src/colors.h Fri Feb 26 11:55:42 2016 +0100 26.3 @@ -1,7 +1,7 @@ 26.4 /* 26.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 26.6 * 26.7 - * Copyright 2014 Mike Becker. All rights reserved. 26.8 + * Copyright 2016 Mike Becker. All rights reserved. 26.9 * 26.10 * Redistribution and use in source and binary forms, with or without 26.11 * modification, are permitted provided that the following conditions are met:
27.1 --- a/src/game.c Wed Aug 26 14:46:42 2015 +0200 27.2 +++ b/src/game.c Fri Feb 26 11:55:42 2016 +0100 27.3 @@ -1,7 +1,7 @@ 27.4 /* 27.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 27.6 * 27.7 - * Copyright 2014 Mike Becker. All rights reserved. 27.8 + * Copyright 2016 Mike Becker. All rights reserved. 27.9 * 27.10 * Redistribution and use in source and binary forms, with or without 27.11 * modification, are permitted provided that the following conditions are met:
28.1 --- a/src/game.h Wed Aug 26 14:46:42 2015 +0200 28.2 +++ b/src/game.h Fri Feb 26 11:55:42 2016 +0100 28.3 @@ -1,7 +1,7 @@ 28.4 /* 28.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 28.6 * 28.7 - * Copyright 2014 Mike Becker. All rights reserved. 28.8 + * Copyright 2016 Mike Becker. All rights reserved. 28.9 * 28.10 * Redistribution and use in source and binary forms, with or without 28.11 * modification, are permitted provided that the following conditions are met:
29.1 --- a/src/input.c Wed Aug 26 14:46:42 2015 +0200 29.2 +++ b/src/input.c Fri Feb 26 11:55:42 2016 +0100 29.3 @@ -1,7 +1,7 @@ 29.4 /* 29.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 29.6 * 29.7 - * Copyright 2014 Mike Becker. All rights reserved. 29.8 + * Copyright 2016 Mike Becker. All rights reserved. 29.9 * 29.10 * Redistribution and use in source and binary forms, with or without 29.11 * modification, are permitted provided that the following conditions are met:
30.1 --- a/src/input.h Wed Aug 26 14:46:42 2015 +0200 30.2 +++ b/src/input.h Fri Feb 26 11:55:42 2016 +0100 30.3 @@ -1,7 +1,7 @@ 30.4 /* 30.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 30.6 * 30.7 - * Copyright 2014 Mike Becker. All rights reserved. 30.8 + * Copyright 2016 Mike Becker. All rights reserved. 30.9 * 30.10 * Redistribution and use in source and binary forms, with or without 30.11 * modification, are permitted provided that the following conditions are met:
31.1 --- a/src/main.c Wed Aug 26 14:46:42 2015 +0200 31.2 +++ b/src/main.c Fri Feb 26 11:55:42 2016 +0100 31.3 @@ -1,7 +1,7 @@ 31.4 /* 31.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 31.6 * 31.7 - * Copyright 2014 Mike Becker. All rights reserved. 31.8 + * Copyright 2016 Mike Becker. All rights reserved. 31.9 * 31.10 * Redistribution and use in source and binary forms, with or without 31.11 * modification, are permitted provided that the following conditions are met: 31.12 @@ -146,7 +146,7 @@ 31.13 return 0; 31.14 } 31.15 31.16 -Settings default_settings() { 31.17 +static Settings default_settings() { 31.18 Settings settings; 31.19 memset(&settings, 0, sizeof(Settings)); 31.20 settings.gameinfo.servercolor = WHITE; 31.21 @@ -194,10 +194,6 @@ 31.22 refresh(); 31.23 } 31.24 31.25 -void leavescr() { 31.26 - endwin(); 31.27 -} 31.28 - 31.29 int main(int argc, char **argv) { 31.30 srand(time(NULL)); 31.31 31.32 @@ -218,7 +214,7 @@ 31.33 endwin(); 31.34 return EXIT_FAILURE; 31.35 } 31.36 - atexit(leavescr); 31.37 + atexit((void(*)())endwin); 31.38 31.39 int exitcode; 31.40 if (settings.singlemachine) {
32.1 --- a/src/network.c Wed Aug 26 14:46:42 2015 +0200 32.2 +++ b/src/network.c Fri Feb 26 11:55:42 2016 +0100 32.3 @@ -1,7 +1,7 @@ 32.4 /* 32.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 32.6 * 32.7 - * Copyright 2014 Mike Becker. All rights reserved. 32.8 + * Copyright 2016 Mike Becker. All rights reserved. 32.9 * 32.10 * Redistribution and use in source and binary forms, with or without 32.11 * modification, are permitted provided that the following conditions are met:
33.1 --- a/src/network.h Wed Aug 26 14:46:42 2015 +0200 33.2 +++ b/src/network.h Fri Feb 26 11:55:42 2016 +0100 33.3 @@ -1,7 +1,7 @@ 33.4 /* 33.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 33.6 * 33.7 - * Copyright 2014 Mike Becker. All rights reserved. 33.8 + * Copyright 2016 Mike Becker. All rights reserved. 33.9 * 33.10 * Redistribution and use in source and binary forms, with or without 33.11 * modification, are permitted provided that the following conditions are met:
34.1 --- a/src/server.c Wed Aug 26 14:46:42 2015 +0200 34.2 +++ b/src/server.c Fri Feb 26 11:55:42 2016 +0100 34.3 @@ -1,7 +1,7 @@ 34.4 /* 34.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 34.6 * 34.7 - * Copyright 2014 Mike Becker. All rights reserved. 34.8 + * Copyright 2016 Mike Becker. All rights reserved. 34.9 * 34.10 * Redistribution and use in source and binary forms, with or without 34.11 * modification, are permitted provided that the following conditions are met:
35.1 --- a/src/terminal-chess.h Wed Aug 26 14:46:42 2015 +0200 35.2 +++ b/src/terminal-chess.h Fri Feb 26 11:55:42 2016 +0100 35.3 @@ -1,7 +1,7 @@ 35.4 /* 35.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 35.6 * 35.7 - * Copyright 2014 Mike Becker. All rights reserved. 35.8 + * Copyright 2016 Mike Becker. All rights reserved. 35.9 * 35.10 * Redistribution and use in source and binary forms, with or without 35.11 * modification, are permitted provided that the following conditions are met: 35.12 @@ -36,7 +36,7 @@ 35.13 #ifndef TERMINAL_CHESS_H 35.14 #define TERMINAL_CHESS_H 35.15 35.16 -#define PROGRAM_VERSION "0.9-r52" 35.17 +#define PROGRAM_VERSION "0.9-r55" 35.18 35.19 #ifdef __cplusplus 35.20 extern "C" {