# HG changeset patch # User Teemu Piippo # Date 1378667332 -10800 # Node ID 6b82f6a3ad53f42d45052ff7331161506274f116 # Parent 251b121ab6c0c6c6d6bf19a237a417533572d1b1 renamed the project to ZCinema diff -r 251b121ab6c0 -r 6b82f6a3ad53 mkqrc.sh --- a/mkqrc.sh Sun Sep 08 21:58:54 2013 +0300 +++ b/mkqrc.sh Sun Sep 08 22:08:52 2013 +0300 @@ -1,6 +1,6 @@ #!/bin/bash -QRCFILE=zandemo.qrc +QRCFILE=zcinema.qrc FILES=$(echo ./icons/*.* LICENSE) printf "" > $QRCFILE diff -r 251b121ab6c0 -r 6b82f6a3ad53 src/cfg.cpp --- a/src/cfg.cpp Sun Sep 08 21:58:54 2013 +0300 +++ b/src/cfg.cpp Sun Sep 08 22:08:52 2013 +0300 @@ -1,5 +1,5 @@ /* - * ZanDemo: Zandronum demo launcher + * ZCinema: Zandronum demo launcher * Copyright (C) 2013 Santeri Piippo * * This program is free software: you can redistribute it and/or modify diff -r 251b121ab6c0 -r 6b82f6a3ad53 src/cfg.h --- a/src/cfg.h Sun Sep 08 21:58:54 2013 +0300 +++ b/src/cfg.h Sun Sep 08 22:08:52 2013 +0300 @@ -1,5 +1,5 @@ /* - * ZanDemo: Zandronum demo launcher + * ZCinema: Zandronum demo launcher * Copyright (C) 2013 Santeri Piippo * * This program is free software: you can redistribute it and/or modify @@ -16,8 +16,8 @@ * along with this program. If not, see . */ -#ifndef ZANDEMO_CFG_H -#define ZANDEMO_CFG_H +#ifndef ZCINEMA_CFG_H +#define ZCINEMA_CFG_H // ============================================================================= #include @@ -61,4 +61,4 @@ }; }; -#endif // ZANDEMO_CFG_H \ No newline at end of file +#endif // ZCINEMA_CFG_H \ No newline at end of file diff -r 251b121ab6c0 -r 6b82f6a3ad53 src/config.cpp --- a/src/config.cpp Sun Sep 08 21:58:54 2013 +0300 +++ b/src/config.cpp Sun Sep 08 22:08:52 2013 +0300 @@ -1,5 +1,5 @@ /* - * ZanDemo: Zandronum demo launcher + * ZCinema: Zandronum demo launcher * Copyright (C) 2013 Santeri Piippo * * This program is free software: you can redistribute it and/or modify diff -r 251b121ab6c0 -r 6b82f6a3ad53 src/config.h --- a/src/config.h Sun Sep 08 21:58:54 2013 +0300 +++ b/src/config.h Sun Sep 08 22:08:52 2013 +0300 @@ -1,5 +1,5 @@ /* - * ZanDemo: Zandronum demo launcher + * ZCinema: Zandronum demo launcher * Copyright (C) 2013 Santeri Piippo * * This program is free software: you can redistribute it and/or modify @@ -16,8 +16,8 @@ * along with this program. If not, see . */ -#ifndef ZANDEMO_CONFIG_H -#define ZANDEMO_CONFIG_H +#ifndef ZCINEMA_CONFIG_H +#define ZCINEMA_CONFIG_H #include #include "main.h" @@ -63,4 +63,4 @@ void addVersion (const str& name, bool isRelease); }; -#endif // ZANDEMO_CONFIG_H \ No newline at end of file +#endif // ZCINEMA_CONFIG_H \ No newline at end of file diff -r 251b121ab6c0 -r 6b82f6a3ad53 src/demo.cpp --- a/src/demo.cpp Sun Sep 08 21:58:54 2013 +0300 +++ b/src/demo.cpp Sun Sep 08 22:08:52 2013 +0300 @@ -1,5 +1,5 @@ /* - * ZanDemo: Zandronum demo launcher + * ZCinema: Zandronum demo launcher * Copyright (C) 2013 Santeri Piippo * * This program is free software: you can redistribute it and/or modify diff -r 251b121ab6c0 -r 6b82f6a3ad53 src/demo.h --- a/src/demo.h Sun Sep 08 21:58:54 2013 +0300 +++ b/src/demo.h Sun Sep 08 22:08:52 2013 +0300 @@ -1,5 +1,5 @@ /* - * ZanDemo: Zandronum demo launcher + * ZCinema: Zandronum demo launcher * Copyright (C) 2013 Santeri Piippo * * This program is free software: you can redistribute it and/or modify @@ -16,8 +16,8 @@ * along with this program. If not, see . */ -#ifndef ZANDEMO_DEMO_H -#define ZANDEMO_DEMO_H +#ifndef ZCINEMA_DEMO_H +#define ZCINEMA_DEMO_H #include "types.h" @@ -50,4 +50,4 @@ int launchDemo (str path); -#endif // ZANDEMO_DEMO_H \ No newline at end of file +#endif // ZCINEMA_DEMO_H \ No newline at end of file diff -r 251b121ab6c0 -r 6b82f6a3ad53 src/main.cpp --- a/src/main.cpp Sun Sep 08 21:58:54 2013 +0300 +++ b/src/main.cpp Sun Sep 08 22:08:52 2013 +0300 @@ -1,5 +1,5 @@ /* - * ZanDemo: Zandronum demo launcher + * ZCinema: Zandronum demo launcher * Copyright (C) 2013 Santeri Piippo * * This program is free software: you can redistribute it and/or modify diff -r 251b121ab6c0 -r 6b82f6a3ad53 src/main.h --- a/src/main.h Sun Sep 08 21:58:54 2013 +0300 +++ b/src/main.h Sun Sep 08 22:08:52 2013 +0300 @@ -1,5 +1,5 @@ /* - * ZanDemo: Zandronum demo launcher + * ZCinema: Zandronum demo launcher * Copyright (C) 2013 Santeri Piippo * * This program is free software: you can redistribute it and/or modify @@ -16,11 +16,11 @@ * along with this program. If not, see . */ -#ifndef ZANDEMO_MAIN_H -#define ZANDEMO_MAIN_H +#ifndef ZCINEMA_MAIN_H +#define ZCINEMA_MAIN_H -#define APPNAME "ZanDemo" -#define UNIXNAME "zandemo" +#define APPNAME "ZCinema" +#define UNIXNAME "zcinema" #define VERSION_MAJOR 0 #define VERSION_MINOR 0 #define VERSION_PATCH 999 @@ -45,4 +45,4 @@ QString versionString(); QString versionSignature(); -#endif // ZANDEMO_MAIN_H \ No newline at end of file +#endif // ZCINEMA_MAIN_H \ No newline at end of file diff -r 251b121ab6c0 -r 6b82f6a3ad53 src/misc.cpp --- a/src/misc.cpp Sun Sep 08 21:58:54 2013 +0300 +++ b/src/misc.cpp Sun Sep 08 22:08:52 2013 +0300 @@ -1,5 +1,5 @@ /* - * ZanDemo: Zandronum demo launcher + * ZCinema: Zandronum demo launcher * Copyright (C) 2013 Santeri Piippo * * This program is free software: you can redistribute it and/or modify diff -r 251b121ab6c0 -r 6b82f6a3ad53 src/misc.h --- a/src/misc.h Sun Sep 08 21:58:54 2013 +0300 +++ b/src/misc.h Sun Sep 08 22:08:52 2013 +0300 @@ -1,5 +1,5 @@ /* - * ZanDemo: Zandronum demo launcher + * ZCinema: Zandronum demo launcher * Copyright (C) 2013 Santeri Piippo * * This program is free software: you can redistribute it and/or modify @@ -16,8 +16,8 @@ * along with this program. If not, see . */ -#ifndef ZANDEMO_MISC_H -#define ZANDEMO_MISC_H +#ifndef ZCINEMA_MISC_H +#define ZCINEMA_MISC_H #include "types.h" @@ -50,4 +50,4 @@ return (a >= 0) ? a : -a; } -#endif // ZANDEMO_MISC_H \ No newline at end of file +#endif // ZCINEMA_MISC_H \ No newline at end of file diff -r 251b121ab6c0 -r 6b82f6a3ad53 src/prompts.cpp --- a/src/prompts.cpp Sun Sep 08 21:58:54 2013 +0300 +++ b/src/prompts.cpp Sun Sep 08 22:08:52 2013 +0300 @@ -1,5 +1,5 @@ /* - * ZanDemo: Zandronum demo launcher + * ZCinema: Zandronum demo launcher * Copyright (C) 2013 Santeri Piippo * * This program is free software: you can redistribute it and/or modify diff -r 251b121ab6c0 -r 6b82f6a3ad53 src/prompts.h --- a/src/prompts.h Sun Sep 08 21:58:54 2013 +0300 +++ b/src/prompts.h Sun Sep 08 22:08:52 2013 +0300 @@ -1,5 +1,5 @@ /* - * ZanDemo: Zandronum demo launcher + * ZCinema: Zandronum demo launcher * Copyright (C) 2013 Santeri Piippo * * This program is free software: you can redistribute it and/or modify @@ -16,8 +16,8 @@ * along with this program. If not, see . */ -#ifndef ZANDEMO_PROMPTS_H -#define ZANDEMO_PROMPTS_H +#ifndef ZCINEMA_PROMPTS_H +#define ZCINEMA_PROMPTS_H #include #include "main.h" @@ -65,4 +65,4 @@ Ui_FindFile* m_ui; }; -#endif // ZANDEMO_PROMPTS_H \ No newline at end of file +#endif // ZCINEMA_PROMPTS_H \ No newline at end of file diff -r 251b121ab6c0 -r 6b82f6a3ad53 src/src.pro --- a/src/src.pro Sun Sep 08 21:58:54 2013 +0300 +++ b/src/src.pro Sun Sep 08 22:08:52 2013 +0300 @@ -1,9 +1,9 @@ CONFIG += qt debug -TARGET = ../zandemo +TARGET = ../zcinema DEPENDPATH += . INCLUDEPATH += . -RC_FILE = ../zandemo.rc -RESOURCES = ../zandemo.qrc +RC_FILE = ../zcinema.rc +RESOURCES = ../zcinema.qrc RCC_DIR = ./build/ OBJECTS_DIR = ./build/ MOC_DIR = ./build/ diff -r 251b121ab6c0 -r 6b82f6a3ad53 src/types.cpp --- a/src/types.cpp Sun Sep 08 21:58:54 2013 +0300 +++ b/src/types.cpp Sun Sep 08 22:08:52 2013 +0300 @@ -1,5 +1,5 @@ /* - * ZanDemo: Zandronum demo launcher + * ZCinema: Zandronum demo launcher * Copyright (C) 2013 Santeri Piippo * * This program is free software: you can redistribute it and/or modify diff -r 251b121ab6c0 -r 6b82f6a3ad53 src/types.h --- a/src/types.h Sun Sep 08 21:58:54 2013 +0300 +++ b/src/types.h Sun Sep 08 22:08:52 2013 +0300 @@ -1,5 +1,5 @@ /* - * ZanDemo: Zandronum demo launcher + * ZCinema: Zandronum demo launcher * Copyright (C) 2013 Santeri Piippo * * This program is free software: you can redistribute it and/or modify @@ -16,8 +16,8 @@ * along with this program. If not, see . */ -#ifndef ZANDEMO_TYPES_H -#define ZANDEMO_TYPES_H +#ifndef ZCINEMA_TYPES_H +#define ZCINEMA_TYPES_H #include "main.h" #include @@ -126,4 +126,4 @@ void fprint (FILE* fp, const char* fmtstr, ...); #endif -#endif // ZANDEMO_TYPES_H \ No newline at end of file +#endif // ZCINEMA_TYPES_H \ No newline at end of file diff -r 251b121ab6c0 -r 6b82f6a3ad53 src/versionEditor.cpp --- a/src/versionEditor.cpp Sun Sep 08 21:58:54 2013 +0300 +++ b/src/versionEditor.cpp Sun Sep 08 22:08:52 2013 +0300 @@ -1,3 +1,21 @@ +/* + * ZCinema: Zandronum demo launcher + * Copyright (C) 2013 Santeri Piippo + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include "versionEditor.h" #include "ui_versionEditor.h" #include "ui_addversion.h" diff -r 251b121ab6c0 -r 6b82f6a3ad53 src/versionEditor.h --- a/src/versionEditor.h Sun Sep 08 21:58:54 2013 +0300 +++ b/src/versionEditor.h Sun Sep 08 22:08:52 2013 +0300 @@ -1,5 +1,23 @@ -#ifndef ZANDEMO_VERSIONEDITOR_H -#define ZANDEMO_VERSIONEDITOR_H +/* + * ZCinema: Zandronum demo launcher + * Copyright (C) 2013 Santeri Piippo + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#ifndef ZCINEMA_VERSIONEDITOR_H +#define ZCINEMA_VERSIONEDITOR_H #include #include "types.h" @@ -60,4 +78,4 @@ Ui_AddVersion* m_ui; }; -#endif // ZANDEMO_VERSIONEDITOR_H \ No newline at end of file +#endif // ZCINEMA_VERSIONEDITOR_H \ No newline at end of file diff -r 251b121ab6c0 -r 6b82f6a3ad53 zandemo.qrc --- a/zandemo.qrc Sun Sep 08 21:58:54 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ - - - - ./icons/zandemo.ico - LICENSE - - diff -r 251b121ab6c0 -r 6b82f6a3ad53 zcinema.qrc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zcinema.qrc Sun Sep 08 22:08:52 2013 +0300 @@ -0,0 +1,7 @@ + + + + ./icons/zandemo.ico + LICENSE + +