From cbef37bd5bfb938a2303ee3887520c08be85d8e8 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Tue, 26 Mar 2013 17:10:10 +0100 Subject: Switch almost everything over to C++ --- src/q_ultrae.cc | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/q_ultrae.cc (limited to 'src/q_ultrae.cc') diff --git a/src/q_ultrae.cc b/src/q_ultrae.cc new file mode 100644 index 00000000..44f54158 --- /dev/null +++ b/src/q_ultrae.cc @@ -0,0 +1,8 @@ +#include "q_ultrae.h" + +#define cquest (quest[QUEST_ULTRA_EVIL]) + +bool_ quest_ultra_evil_init_hook(int q) +{ + return (FALSE); +} -- cgit v1.2.3 From f498e18ca748427db1de1bf0301df5113e4f5ba2 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Sun, 22 Mar 2015 14:23:30 +0100 Subject: Rename q_*.h headers to *.hpp and remove "extern C" wrappers --- src/q_ultrae.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/q_ultrae.cc') diff --git a/src/q_ultrae.cc b/src/q_ultrae.cc index 44f54158..d42b9c6f 100644 --- a/src/q_ultrae.cc +++ b/src/q_ultrae.cc @@ -1,4 +1,4 @@ -#include "q_ultrae.h" +#include "q_ultrae.hpp" #define cquest (quest[QUEST_ULTRA_EVIL]) -- cgit v1.2.3 From d9d9d8c5e96eadbefb2c8506a387fc282c2fe8b5 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Sat, 17 Sep 2016 09:58:14 +0200 Subject: Remove unused "quest_idx" parameter from quest_type::init() --- src/q_ultrae.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/q_ultrae.cc') diff --git a/src/q_ultrae.cc b/src/q_ultrae.cc index d42b9c6f..de0d5f16 100644 --- a/src/q_ultrae.cc +++ b/src/q_ultrae.cc @@ -2,7 +2,7 @@ #define cquest (quest[QUEST_ULTRA_EVIL]) -bool_ quest_ultra_evil_init_hook(int q) +bool_ quest_ultra_evil_init_hook() { - return (FALSE); + return FALSE; } -- cgit v1.2.3 From fdb532aec5234db77a9111d219f8a870d660c4fc Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Tue, 2 May 2017 19:20:57 +0200 Subject: Change away from bool_ for hooks --- src/q_ultrae.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/q_ultrae.cc') diff --git a/src/q_ultrae.cc b/src/q_ultrae.cc index de0d5f16..ff2a6a48 100644 --- a/src/q_ultrae.cc +++ b/src/q_ultrae.cc @@ -2,7 +2,7 @@ #define cquest (quest[QUEST_ULTRA_EVIL]) -bool_ quest_ultra_evil_init_hook() +void quest_ultra_evil_init_hook() { - return FALSE; + // Initialized by other hook. } -- cgit v1.2.3