Skip to content

Commit

Permalink
Add module category and description
Browse files Browse the repository at this point in the history
  • Loading branch information
ThymoNL committed Feb 27, 2022
1 parent e69cf54 commit 1064776
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set(CMAKE_CXX_STANDARD 17)
set(ORBITER_LIB_DIR ${ORBITER_SDK_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${ORBITER_PLUGIN_DIR})

add_library(StateSnap SHARED StateSnap.cpp)
add_library(StateSnap SHARED StateSnap.cpp Resources.rc resource.h)

target_include_directories(StateSnap
PUBLIC ${ORBITER_SDK_DIR}/include)
Expand Down
26 changes: 26 additions & 0 deletions Resources.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#include "resource.h"

STRINGTABLE
BEGIN
IDS_INFO "StateSnap:\r\n\r\nThis plugin will periodically save the current scenario.\r\n\r\n
Author: Thymo van Beers\r\n\
Version: 0.1\r\n\
Source Code: https:\//github.com/ThymoNL/StateSnap\r\n\r\n
StateSnap - A module or Orbiter to periodically make scenario snapshots.\r\n
Copyright (C) 2022 Thymo van Beers\r\n
\r\n
This program is free software; you can redistribute it and/or modify\r\n
it under the terms of the GNU General Public License as published by\r\n
the Free Software Foundation; either version 2 of the License, or\r\n
(at your option) any later version.\r\n
\r\n
This program is distributed in the hope that it will be useful,\r\n
but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n
GNU General Public License for more details.\r\n
\r\n
You should have received a copy of the GNU General Public License along\r\n
with this program; if not, write to the Free Software Foundation, Inc.,\r\n
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\r\n"
IDS_TYPE "Tools and dialogs"
END
26 changes: 26 additions & 0 deletions resource.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* StateSnap - A module or Orbiter to periodically make scenario snapshots.
* Copyright (C) 2022 Thymo van Beers
*
* 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 2 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, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#ifndef STATESNAP_RESOURCE_H
#define STATESNAP_RESOURCE_H

#define IDS_INFO 1000
#define IDS_TYPE 1001

#endif //STATESNAP_RESOURCE_H

0 comments on commit 1064776

Please sign in to comment.