Fix Sindri header

main
Alex 4 months ago
parent c041fca1ae
commit 0e0a21e00d

2
.gitignore vendored

@ -608,3 +608,5 @@ cython_debug/
/webserv.bat /webserv.bat
/yaml2sql.bat /yaml2sql.bat
/yamlupgrade.bat /yamlupgrade.bat
/brokkserv.bat
/sindriserv.bat

@ -142,7 +142,7 @@
<ClCompile Include="sindri.cpp" /> <ClCompile Include="sindri.cpp" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="..\Brokk\sindri.hpp" /> <ClInclude Include="sindri.hpp" />
</ItemGroup> </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets"> <ImportGroup Label="ExtensionTargets">

@ -20,7 +20,7 @@
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="..\Brokk\sindri.hpp"> <ClInclude Include="sindri.hpp">
<Filter>Headerdateien</Filter> <Filter>Headerdateien</Filter>
</ClInclude> </ClInclude>
</ItemGroup> </ItemGroup>

@ -0,0 +1,33 @@
// Copyright (c) 4lexKidd
// This software is licensed under the GPL v3 as to be fitting with the rathena project with the additional requirement
// that any distributed versions must include an attribution to the original author (4lexKidd) in all copies
// or substantial portions of the software.
#ifndef SINDRI_HPP
#define SINDRI_HPP
#include <common/cbasetypes.hpp>
#include <common/core.hpp>
#include <common/mmo.hpp> // NAME_LENGTH,SEX_*
#include <common/timer.hpp>
#include <config/core.hpp>
using rathena::server_core::Core;
using rathena::server_core::e_core_type;
namespace rathena {
namespace server_sindri {
class SindriServer : public Core {
protected:
bool initialize(int argc, char* argv[]) override;
void finalize() override;
void handle_shutdown() override;
public:
SindriServer() : Core(e_core_type::SINDRI) {
}
};
}
}
#endif /* SINDRI_HPP */
Loading…
Cancel
Save