forked from Mirrors/openclonk
Use the OpenClonk version as the mape version
parent
3849972dfd
commit
9a6d545f94
|
@ -636,6 +636,8 @@ set(MAPE_SOURCES
|
||||||
src/mape/cpp-handles/random-handle.cpp
|
src/mape/cpp-handles/random-handle.cpp
|
||||||
src/mape/cpp-handles/texture-handle.h
|
src/mape/cpp-handles/texture-handle.h
|
||||||
src/mape/cpp-handles/texture-handle.cpp
|
src/mape/cpp-handles/texture-handle.cpp
|
||||||
|
src/mape/cpp-handles/version-handle.h
|
||||||
|
src/mape/cpp-handles/version-handle.cpp
|
||||||
src/mape/cpp-handles/stub-handle.cpp
|
src/mape/cpp-handles/stub-handle.cpp
|
||||||
src/mape/configfile.c
|
src/mape/configfile.c
|
||||||
src/mape/configfile.h
|
src/mape/configfile.h
|
||||||
|
|
|
@ -0,0 +1,28 @@
|
||||||
|
/*
|
||||||
|
* mape - C4 Landscape.txt editor
|
||||||
|
*
|
||||||
|
* Copyright (c) 2005-2009 Armin Burgmeier
|
||||||
|
*
|
||||||
|
* Portions might be copyrighted by other authors who have contributed
|
||||||
|
* to OpenClonk.
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
|
* copyright notice and this permission notice appear in all copies.
|
||||||
|
* See isc_license.txt for full license and disclaimer.
|
||||||
|
*
|
||||||
|
* "Clonk" is a registered trademark of Matthes Bender.
|
||||||
|
* See clonk_trademark_license.txt for full license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "C4Version.h"
|
||||||
|
#include "mape/cpp-handles/version-handle.h"
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
const char* c4_version_get()
|
||||||
|
{
|
||||||
|
return C4VERSION;
|
||||||
|
}
|
||||||
|
|
||||||
|
} /* extern "C" */
|
|
@ -0,0 +1,29 @@
|
||||||
|
/*
|
||||||
|
* mape - C4 Landscape.txt editor
|
||||||
|
*
|
||||||
|
* Copyright (c) 2005-2009 Armin Burgmeier
|
||||||
|
*
|
||||||
|
* Portions might be copyrighted by other authors who have contributed
|
||||||
|
* to OpenClonk.
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
|
* copyright notice and this permission notice appear in all copies.
|
||||||
|
* See isc_license.txt for full license and disclaimer.
|
||||||
|
*
|
||||||
|
* "Clonk" is a registered trademark of Matthes Bender.
|
||||||
|
* See clonk_trademark_license.txt for full license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef INC_MAPE_C4_VERSION_HANDLE_H
|
||||||
|
#define INC_MAPE_C4_VERSION_HANDLE_H
|
||||||
|
|
||||||
|
#include <glib.h>
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
const char* c4_version_get();
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* INC_MAPE_C4_TEXTURE_HANDLE_H */
|
|
@ -18,6 +18,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <gtksourceview/gtksourcebuffer.h>
|
#include <gtksourceview/gtksourcebuffer.h>
|
||||||
|
|
||||||
|
#include "mape/cpp-handles/version-handle.h"
|
||||||
#include "mape/fileicon.h"
|
#include "mape/fileicon.h"
|
||||||
#include "mape/configfile.h"
|
#include "mape/configfile.h"
|
||||||
#include "mape/preferencesdialog.h"
|
#include "mape/preferencesdialog.h"
|
||||||
|
@ -447,6 +448,7 @@ static void mape_window_cb_help_about(GtkAction* action,
|
||||||
"",
|
"",
|
||||||
"Contributors:",
|
"Contributors:",
|
||||||
" Tyron Madlener <tm@tyron.at>",
|
" Tyron Madlener <tm@tyron.at>",
|
||||||
|
" Günther Brammer <gbrammer@gmx.de>",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -465,12 +467,12 @@ static void mape_window_cb_help_about(GtkAction* action,
|
||||||
|
|
||||||
gtk_about_dialog_set_version(
|
gtk_about_dialog_set_version(
|
||||||
GTK_ABOUT_DIALOG(about_dialog),
|
GTK_ABOUT_DIALOG(about_dialog),
|
||||||
"1.3.90"
|
c4_version_get()
|
||||||
);
|
);
|
||||||
|
|
||||||
gtk_about_dialog_set_copyright(
|
gtk_about_dialog_set_copyright(
|
||||||
GTK_ABOUT_DIALOG(about_dialog),
|
GTK_ABOUT_DIALOG(about_dialog),
|
||||||
"Copyright \xc2\xa9 2005-2009 Armin Burgmeier"
|
"Copyright \xc2\xa9 2005-2013 Armin Burgmeier"
|
||||||
);
|
);
|
||||||
|
|
||||||
gtk_about_dialog_set_comments(
|
gtk_about_dialog_set_comments(
|
||||||
|
|
Loading…
Reference in New Issue