repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
MrPepperoni/Reaping2-1 | src/render/renderable_repo.h | #ifndef INCLUDED_RENDER_RENDERABLE_REPO_H
#define INCLUDED_RENDER_RENDERABLE_REPO_H
#include "platform/i_platform.h"
#include "sprite_collection.h"
//class SpriteCollection;
class RenderableRepo : public Repository<SpriteCollection>, public Singleton<RenderableRepo>
{
SpriteCollection mDefaultRenderable;
std::... |
MrPepperoni/Reaping2-1 | src/network/client_datas_message.h | #ifndef INCLUDED_NETWORK_CLIENT_DATAS_H
#define INCLUDED_NETWORK_CLIENT_DATAS_H
#include "network/message.h"
#include "network/message_handler_sub_system.h"
#include "network/message_sender_system.h"
#include "single_message_sender.h"
#include "platform/export.h"
namespace network {
class ClientDatasMessage: public ... |
MrPepperoni/Reaping2-1 | src/core/map/level_generator/hdouble_room1.h | <reponame>MrPepperoni/Reaping2-1
#ifndef INCLUDED_MAP_HDOUBLE_ROOM1_H
#define INCLUDED_MAP_HDOUBLE_ROOM1_H
#include "i_room.h"
#include "core/actor_factory.h"
namespace map {
class HDoubleRoom1 : public IRoom
{
public:
HDoubleRoom1( int32_t Id );
virtual void Generate( RoomDesc& roomDesc, glm::vec2 pos, bool... |
MrPepperoni/Reaping2-1 | src/core/i_controller_component.h | #ifndef INCLUDED_CORE_I_CONTROLLER_COMPONENT_H
#define INCLUDED_CORE_I_CONTROLLER_COMPONENT_H
#include "component.h"
#include "platform/export.h"
class Actor;
class IControllerComponent : public Component
{
public:
DEFINE_COMPONENT_BASE( IControllerComponent )
virtual void Update( double Seconds ) = 0;
vi... |
MrPepperoni/Reaping2-1 | src/core/scripted_controller/selection_type.h | <reponame>MrPepperoni/Reaping2-1<gh_stars>1-10
#ifndef INCLUDED_SCRIPTEDCONTROLLER_SELECTION_TYPE_H
#define INCLUDED_SCRIPTEDCONTROLLER_SELECTION_TYPE_H
#include "platform/singleton.h"
#include "boost/bimap.hpp"
namespace scriptedcontroller {
class SelectionType : public platform::Singleton<SelectionType>
{... |
MrPepperoni/Reaping2-1 | src/render/projection.h | <reponame>MrPepperoni/Reaping2-1
#ifndef INCLUDED_RENDER_PROJECTION_H
#define INCLUDED_RENDER_PROJECTION_H
#include "platform/i_platform.h"
#include "main/window.h"
struct Viewport
{
GLint X;
GLint Y;
GLsizei Width;
GLsizei Height;
Viewport(): X( 0 ), Y( 0 ), Width( 0 ), Height( 0 ) {}
glm::vec... |
MrPepperoni/Reaping2-1 | src/engine/cloak_changed_event.h | #ifndef INCLUDED_ENGINE_CLOAK_CHANGED_EVENT_H
#define INCLUDED_ENGINE_CLOAK_CHANGED_EVENT_H
#include "platform/event.h"
namespace engine {
struct CloakChangedEvent : public platform::Event
{
int32_t mActorGUID;
bool mActivated;
CloakChangedEvent( int32_t actorGUID, bool activated )
: mActorGUID( ... |
MrPepperoni/Reaping2-1 | src/network/create_actor_message_handler_sub_system.h | <gh_stars>1-10
#ifndef INCLUDED_NETWORK_CREATE_ACTOR_MESSAGE_HANDLER_SUB_SYSTEM_H
#define INCLUDED_NETWORK_CREATE_ACTOR_MESSAGE_HANDLER_SUB_SYSTEM_H
#include "message_handler_sub_system.h"
#include "messsage_holder.h"
#include "core/actor_factory.h"
#include "core/scene.h"
namespace network {
class CreateActorMessage... |
MrPepperoni/Reaping2-1 | src/core/pistol.h | #ifndef INCLUDED_CORE_PISTOL_H
#define INCLUDED_CORE_PISTOL_H
#include "core/weapon.h"
#include "platform/export.h"
class Pistol : public Weapon
{
public:
Pistol( int32_t Id );
Pistol();
friend class ::boost::serialization::access;
template<class Archive>
void serialize( Archive& ar, const unsigned... |
MrPepperoni/Reaping2-1 | src/engine/collisions/aoe_collision_sub_system.h | #ifndef INCLUDED_ENGINE_AOE_COLLISION_SUB_SYSTEM_H
#define INCLUDED_ENGINE_AOE_COLLISION_SUB_SYSTEM_H
#include "engine/collisions/collision_sub_system.h"
namespace engine {
class AoeCollisionSubSystem : public CollisionSubSystem
{
public:
DEFINE_SUB_SYSTEM_BASE( AoeCollisionSubSystem )
AoeCollisionSubSystem(... |
MrPepperoni/Reaping2-1 | src/core/attachable_component.h | <filename>src/core/attachable_component.h
#ifndef INCLUDED_CORE_ATTACHABLE_COMPONENT_H
#define INCLUDED_CORE_ATTACHABLE_COMPONENT_H
#include "i_attachable_component.h"
#include "core/property_loader.h"
#include "platform/export.h"
namespace ctf {
class AttachableComponent : public IAttachableComponent
{
public:
... |
MrPepperoni/Reaping2-1 | src/platform/texture_base.h | #ifndef INCLUDED_PLATFORM_TEXTURE_BASE_H
#define INCLUDED_PLATFORM_TEXTURE_BASE_H
#include "rstdint.h"
#include <cstddef>
#include <memory>
namespace platform {
namespace detail {
class TextureImpl;
}
class TextureBase
{
public:
virtual ~TextureBase();
size_t GetWidth()const;
size_t GetHeight()const;
... |
MrPepperoni/Reaping2-1 | src/core/map/i_grid.h | #ifndef INCLUDED_CORE_MAP_I_GRID_H
#define INCLUDED_CORE_MAP_I_GRID_H
#include "platform/i_platform.h"
#include "neighbors.h"
namespace map {
class IGrid
{
public:
IGrid( int32_t Id );
virtual ~IGrid();
virtual void Update( double DeltaTime ) = 0;
virtual glm::vec2 GetProcessedPosition();
virtual ... |
MrPepperoni/Reaping2-1 | src/platform/frequency_timer.h | #ifndef INCLUDED_PLATFORM_FREQUENCY_TIMER_H
#define INCLUDED_PLATFORM_FREQUENCY_TIMER_H
#include "rstdint.h"
#include "platform/export.h"
#include <boost/serialization/serialization.hpp>
#include <boost/ptr_container/serialize_ptr_map.hpp>
#include "json/json.h"
namespace platform {
class FrequencyTimer
{
double ... |
MrPepperoni/Reaping2-1 | src/core/controller_component.h | <filename>src/core/controller_component.h<gh_stars>1-10
#ifndef INCLUDED_CORE_CONTROLLER_COMPONENT_H
#define INCLUDED_CORE_CONTROLLER_COMPONENT_H
#include "core/i_controller_component.h"
#include "core/actor.h"
#include "platform/export.h"
class ControllerComponent : public IControllerComponent
{
public:
Controll... |
MrPepperoni/Reaping2-1 | src/core/i_detonate_on_hit_component.h | #ifndef INCLUDED_CORE_I_DETONATE_ON_HIT_COMPONENT_H
#define INCLUDED_CORE_I_DETONATE_ON_HIT_COMPONENT_H
#include "component.h"
#include "platform/export.h"
class IDetonateOnHitComponent : public Component
{
public:
DEFINE_COMPONENT_BASE( IDetonateOnHitComponent )
virtual void SetMaterial( int32_t material ) =... |
MrPepperoni/Reaping2-1 | src/core/pickup_collision_component.h | #ifndef INCLUDED_CORE_PICKUP_COLLISION_COMPONENT_H
#define INCLUDED_CORE_PICKUP_COLLISION_COMPONENT_H
#include "core/collision_component.h"
#include "item.h"
#include "platform/export.h"
class PickupCollisionComponent : public CollisionComponent
{
public:
virtual void SetPickupContent( int32_t PickupContent );
... |
MrPepperoni/Reaping2-1 | src/network/client_id_message.h | #ifndef INCLUDED_NETWORK_CLIENT_ID_MESSAGE_H
#define INCLUDED_NETWORK_CLIENT_ID_MESSAGE_H
#include "network/message.h"
#include "platform/export.h"
namespace network {
class ClientIdMessage: public Message
{
friend class ::boost::serialization::access;
public:
DEFINE_MESSAGE_BASE( ClientIdMessage )
std::s... |
MrPepperoni/Reaping2-1 | src/core/map/level_generator/room_start_property.h | #ifndef INCLUDED_MAP_ROOM_START_PROPERTY_H
#define INCLUDED_MAP_ROOM_START_PROPERTY_H
#include "core/map/level_generator/i_property.h"
#include "platform/i_platform.h"
#include "entrance_type.h"
namespace map {
class RoomStartProperty : public IProperty
{
public:
DEFINE_ROOM_PROPERTY_BASE(RoomStartProperty)
... |
MrPepperoni/Reaping2-1 | src/core/ctf_program_state.h | #ifndef INCLUDED_CTF_PROGRAM_STATE_H
#define INCLUDED_CTF_PROGRAM_STATE_H
#include "platform/singleton.h"
#include "platform/i_platform.h"
#include "opt.h"
#include <map>
#include <vector>
#include "platform/export.h"
class Team : public platform::Singleton<Team>
{
protected:
friend class platform::Singleton<Team... |
MrPepperoni/Reaping2-1 | src/render/i_visual_box_multiplier_component.h | <filename>src/render/i_visual_box_multiplier_component.h
#ifndef INCLUDED_RENDER_I_VISUAL_BOX_MULTIPLIER_COMPONENT_H
#define INCLUDED_RENDER_I_VISUAL_BOX_MULTIPLIER_COMPONENT_H
#include "core/component.h"
namespace render {
class IVisualBoxMultiplierComponent : public Component
{
public:
DEFINE_COMPONENT_BASE(re... |
MrPepperoni/Reaping2-1 | src/core/i_fade_out_component.h | <reponame>MrPepperoni/Reaping2-1
#ifndef INCLUDED_CORE_I_FADE_OUT_COMPONENT_H
#define INCLUDED_CORE_I_FADE_OUT_COMPONENT_H
#include "component.h"
#include "platform/export.h"
class IFadeOutComponent : public Component
{
public:
DEFINE_COMPONENT_BASE( IFadeOutComponent )
virtual void Update( double Seconds ) = ... |
MrPepperoni/Reaping2-1 | src/engine/recreate_borders_map_element_system.h | <filename>src/engine/recreate_borders_map_element_system.h
#ifndef INCLUDED_MAP_RECREATE_BORDERS_MAP_ELEMENT_SYSTEM_H
#define INCLUDED_MAP_RECREATE_BORDERS_MAP_ELEMENT_SYSTEM_H
#include "core/map/map_element_system.h"
#include "core/map/neighbors.h"
namespace map {
class RecreateBordersMapElementSystem : public MapE... |
MrPepperoni/Reaping2-1 | src/ui/image.h | #pragma once
#ifndef INCLUDED_IMAGE_H
#define INCLUDED_IMAGE_H
#include "widget.h"
namespace Json {
class Value;
}
class ImageWidget : public Widget
{
typedef Widget BaseClass;
public:
ImageWidget( int32_t Id );
virtual void Init( Json::Value& Descriptor );
};
#endif // INCLUDED_IMAGE_H
|
MrPepperoni/Reaping2-1 | src/core/explode_on_hit_component.h | <filename>src/core/explode_on_hit_component.h<gh_stars>1-10
#ifndef INCLUDED_CORE_EXPLODE_ON_HIT_COMPONENT_H
#define INCLUDED_CORE_EXPLODE_ON_HIT_COMPONENT_H
#include "i_explode_on_hit_component.h"
#include "core/property_loader.h"
#include "platform/export.h"
class ExplodeOnHitComponent : public IExplodeOnHitCompone... |
MrPepperoni/Reaping2-1 | src/core/map/base_output.h | #ifndef INCLUDED_CORE_MAP_BASE_OUTPUT_H
#define INCLUDED_CORE_MAP_BASE_OUTPUT_H
#include "platform/i_platform.h"
#include "i_output.h"
#include <map>
#include <list>
#include <boost/bimap.hpp>
namespace map {
class BaseOutput : public IOutput
{
public:
BaseOutput();
~BaseOutput();
void PlugInNode( int32_t... |
MrPepperoni/Reaping2-1 | src/render/font.h | #ifndef INCLUDED_RENDER_FONT_H
#define INCLUDED_RENDER_FONT_H
#include "platform/i_platform.h"
#include "sprite_phase.h"
#include "texture.h"
struct Character
{
SpritePhase Phase;
glm::vec2 Size;
};
class Font : public Singleton<Font>
{
friend class Singleton<Font>;
Font();
char mFirstChar;
c... |
MrPepperoni/Reaping2-1 | src/core/map/editor_group_system.h | #ifndef INCLUDED_MAP_EDITOR_GROUP_SYSTEM_H
#define INCLUDED_MAP_EDITOR_GROUP_SYSTEM_H
#include "core/scene.h"
#include "engine/system.h"
#include "editor_mode_changed_event.h"
#include "editor_back_event.h"
#include "level_generator/room_desc.h"
#include "input/mouse.h"
#include "map_element_removed_event.h"
namespac... |
MrPepperoni/Reaping2-1 | tools/texcombiner/i_texcombiner.h | #include <platform/i_platform.h>
#include "tex_combiner.h" |
MrPepperoni/Reaping2-1 | src/core/map/map_start_map_element_system.h | <reponame>MrPepperoni/Reaping2-1
#ifndef INCLUDED_MAP_MAP_START_MAP_ELEMENT_SYSTEM_H
#define INCLUDED_MAP_MAP_START_MAP_ELEMENT_SYSTEM_H
#include "core/map/map_element_system.h"
#include "core/map_start_event.h"
namespace map {
class MapStartMapElementSystem : public MapElementSystem
{
public:
DEFINE_SYSTEM_BASE... |
MrPepperoni/Reaping2-1 | src/core/map/property_editor_base_system.h | <reponame>MrPepperoni/Reaping2-1
#ifndef INCLUDED_MAP_PROPERTY_EDITOR_BASE_SYSTEM_H
#define INCLUDED_MAP_PROPERTY_EDITOR_BASE_SYSTEM_H
#include "platform/i_platform.h"
#include "engine/system.h"
#include "../../input/keyboard.h"
#include "editor_hud_state.h"
#include "editor_back_event.h"
#include "../../engine/engine... |
MrPepperoni/Reaping2-1 | src/engine/explode_on_death_system.h | <reponame>MrPepperoni/Reaping2-1
#ifndef INCLUDED_ENGINE_EXPLODE_ON_DEATH_SYSTEM_H
#define INCLUDED_ENGINE_EXPLODE_ON_DEATH_SYSTEM_H
#include "core/scene.h"
#include "engine/system.h"
#include "core/actor_factory.h"
#include "core/i_explode.h"
#include "items/weapon_item_sub_system.h"
namespace engine {
class Explod... |
MrPepperoni/Reaping2-1 | src/core/map/map_repo.h | <gh_stars>1-10
#ifndef INCLUDED_MAP_MAP_REPO_H
#define INCLUDED_MAP_MAP_REPO_H
#include "platform/repository.h"
#include "platform/singleton.h"
#include <json/json.h>
namespace map {
// Repository to store metadata about maps, the content of description.json
class MapRepo : public platform::Repository<Json::Value>, ... |
MrPepperoni/Reaping2-1 | src/network/move_message.h | <reponame>MrPepperoni/Reaping2-1<filename>src/network/move_message.h
#ifndef INCLUDED_NETWORK_MOVE_MESSAGE_H
#define INCLUDED_NETWORK_MOVE_MESSAGE_H
#include "network/message.h"
#include "platform/export.h"
namespace network {
class MoveMessage: public Message
{
friend class ::boost::serialization::access;
public... |
MrPepperoni/Reaping2-1 | src/core/map_start_event.h | <gh_stars>0
#ifndef INCLUDED_CORE_MAP_START_EVENT_H
#define INCLUDED_CORE_MAP_START_EVENT_H
#include "platform/event.h"
namespace core {
struct MapStartEvent : public platform::Event
{
enum State
{
Started,
Ready
} mState;
MapStartEvent(State state):mState(state) {}
};
} // namespace... |
MrPepperoni/Reaping2-1 | src/network/position_message_handler_sub_system.h | #ifndef INCLUDED_NETWORK_POSITION_MESSAGE_HANDLER_SUB_SYSTEM_H
#define INCLUDED_NETWORK_POSITION_MESSAGE_HANDLER_SUB_SYSTEM_H
#include "message_handler_sub_system.h"
namespace network {
class PositionMessageHandlerSubSystem: public MessageHandlerSubSystem
{
public:
DEFINE_SUB_SYSTEM_BASE( PositionMessageHandlerSu... |
MrPepperoni/Reaping2-1 | src/core/map/level_generator/level_generator_factory.h | <reponame>MrPepperoni/Reaping2-1
#ifndef INCLUDED_MAP_LEVEL_GENERATOR_FACTORY_H
#define INCLUDED_MAP_LEVEL_GENERATOR_FACTORY_H
#include "platform/factory.h"
#include "platform/singleton.h"
#include "i_level_generator.h"
namespace map {
class LevelGeneratorFactory : public platform::Factory<ILevelGenerator>, public p... |
MrPepperoni/Reaping2-1 | src/input/i_input.h | <gh_stars>1-10
#include "platform/i_platform.h"
#include "keyboard.h"
#include "mouse.h"
|
MrPepperoni/Reaping2-1 | src/network/message_handler_sub_system_holder.h | #ifndef INCLUDED_NETWORK_MESSAGE_HANDLER_SUB_SYSTEM_HOLDER_H
#define INCLUDED_NETWORK_MESSAGE_HANDLER_SUB_SYSTEM_HOLDER_H
#include "network/message_handler_sub_system.h"
#include <boost/ptr_container/ptr_map.hpp>
#include "platform/singleton.h"
#include "platform/i_platform.h"
#include "core/opt.h"
#include "engine/s... |
MrPepperoni/Reaping2-1 | src/engine/items/common_sub_system_includes.h | <reponame>MrPepperoni/Reaping2-1
#ifndef INCLUDED_ENGINE_ITEMS_COMMON_SUB_SYSTEM_INCLUDES_H
#define INCLUDED_ENGINE_ITEMS_COMMON_SUB_SYSTEM_INCLUDES_H
#include "core/scene.h"
#include "engine/sub_system.h"
#include "core/opt.h"
#include "engine/sub_system_holder.h"
#include "weapon_item_sub_system.h"
#include "core/ac... |
MrPepperoni/Reaping2-1 | src/core/player_controller_component.h | <reponame>MrPepperoni/Reaping2-1
#ifndef INCLUDED_CORE_PLAYER_CONTROLLER_H
#define INCLUDED_CORE_PLAYER_CONTROLLER_H
#include "input/i_input.h"
#include "core/controller_component.h"
#include "core/actor.h"
#include "core/property_loader.h"
#include "trigger.h"
#include "platform/export.h"
class PlayerControllerCompo... |
MrPepperoni/Reaping2-1 | src/network/shot_message.h | <reponame>MrPepperoni/Reaping2-1
#ifndef INCLUDED_NETWORK_SHOT_H
#define INCLUDED_NETWORK_SHOT_H
#include "network/message.h"
#include "network/message_handler_sub_system.h"
#include "network/message_sender_system.h"
#include "core/shot_event.h"
#include "platform/export.h"
namespace network {
class ShotMessage : pu... |
MrPepperoni/Reaping2-1 | src/core/box_collision_model.h | <filename>src/core/box_collision_model.h
#ifndef INCLUDED_CORE_BOX_COLLISION_MODEL_H
#define INCLUDED_CORE_BOX_COLLISION_MODEL_H
#include "core/collision_model.h"
#include "core/actor.h"
class BoxCollisionModel : public CollisionModel
{
public:
using CollisionModel::AreActorsColliding;
static bool AreActorsCol... |
MrPepperoni/Reaping2-1 | src/ui/ui.h | <filename>src/ui/ui.h
#ifndef INCLUDED_UI_UI_H
#define INCLUDED_UI_UI_H
#include "ui/i_ui.h"
#include "input/input_state_changed.h"
class Ui : public Singleton<Ui>
{
friend class Singleton<Ui>;
ModelValue& mUiModel;
ModelValue mLoad;
Root mEmptyRoot;
Root* mActiveRoot;
Widget* mLastEnteredWidget... |
MrPepperoni/Reaping2-1 | src/engine/remove_on_death_system.h | #ifndef INCLUDED_ENGINE_REMOVE_ON_DEATH_SYSTEM_H
#define INCLUDED_ENGINE_REMOVE_ON_DEATH_SYSTEM_H
#include "core/scene.h"
#include "engine/system.h"
namespace engine {
class RemoveOnDeathSystem : public System
{
public:
DEFINE_SYSTEM_BASE( RemoveOnDeathSystem )
RemoveOnDeathSystem();
virtual void Init();... |
MrPepperoni/Reaping2-1 | src/engine/buffs_engine/heal_over_time_buff_sub_system.h | #ifndef INCLUDED_ENGINE_BUFFS_HEAL_OVER_TIME_SUB_SYSTEM_H
#define INCLUDED_ENGINE_BUFFS_HEAL_OVER_TIME_SUB_SYSTEM_H
#include "core/scene.h"
#include "engine/sub_system.h"
#include "core/program_state.h"
namespace engine {
class HealOverTimeBuffSubSystem : public SubSystem
{
public:
DEFINE_SUB_SYSTEM_BASE( HealOv... |
MrPepperoni/Reaping2-1 | src/engine/show_text_system.h | #ifndef INCLUDED_ENGINE_SHOW_TEXT_SYSTEM_H
#define INCLUDED_ENGINE_SHOW_TEXT_SYSTEM_H
#include "core/scene.h"
#include "engine/system.h"
#include "show_text_event.h"
namespace engine {
struct TimedText
{
double mSeconds;
std::string mText;
TimedText( double seconds, std::string text )
: mSeconds(... |
MrPepperoni/Reaping2-1 | src/core/map/map_element_system.h | #ifndef INCLUDED_MAP_MAP_ELEMENT_SYSTEM_H
#define INCLUDED_MAP_MAP_ELEMENT_SYSTEM_H
#include "core/scene.h"
#include "engine/system.h"
#include "map_system.h"
namespace map {
class MapElementSystem : public engine::System
{
public:
MapElementSystem();
protected:
virtual void Init();
virtual void Update( ... |
MrPepperoni/Reaping2-1 | src/core/i_score_on_death_component.h | #ifndef INCLUDED_CORE_I_SCORE_ON_DEATH_COMPONENT_H
#define INCLUDED_CORE_I_SCORE_ON_DEATH_COMPONENT_H
#include "component.h"
#include "platform/export.h"
class IScoreOnDeathComponent : public Component
{
public:
DEFINE_COMPONENT_BASE( IScoreOnDeathComponent )
virtual void SetScored( bool scored ) = 0;
vir... |
MrPepperoni/Reaping2-1 | src/render/ctf_flag_action_renderer.h | <reponame>MrPepperoni/Reaping2-1<gh_stars>1-10
#ifndef INCLUDED_RENDER_CTF_FLAG_ACTION_RENDERER_H
#define INCLUDED_RENDER_CTF_FLAG_ACTION_RENDERER_H
#include "platform/i_platform.h"
#include "render/action_renderer.h"
#include "core/actor.h"
#include "renderable_sprite.h"
#include "renderable_repo.h"
#include "hat_act... |
MrPepperoni/Reaping2-1 | src/engine/health_system.h | #ifndef INCLUDED_ENGINE_HEALTH_SYSTEM_H
#define INCLUDED_ENGINE_HEALTH_SYSTEM_H
#include "core/scene.h"
#include "engine/system.h"
#include "core/actor_factory.h"
namespace engine {
class HealthSystem : public System
{
public:
DEFINE_SYSTEM_BASE( HealthSystem )
HealthSystem();
virtual void Init();
vi... |
MrPepperoni/Reaping2-1 | src/render/shader_manager.h | <reponame>MrPepperoni/Reaping2-1
#ifndef INCLUDED_RENDER_SHADER_MANAGER_H
#define INCLUDED_RENDER_SHADER_MANAGER_H
#include "platform/i_platform.h"
#include "shader.h"
struct GlobalShaderData
{
enum Type
{
WorldProjection,
WorldCamera,
InverseProjection,
Resolution,
// k... |
MrPepperoni/Reaping2-1 | src/platform/ipackage.h | <reponame>MrPepperoni/Reaping2-1
#ifndef INCLUDED_PLATFORM_IPACKAGE_H
#define INCLUDED_PLATFORM_IPACKAGE_H
#include "rstdint.h"
#include <boost/filesystem/path.hpp>
#include <memory>
#include <vector>
namespace platform {
class File;
typedef std::vector<boost::filesystem::path> PathVect_t;
class IPackage
{
public:
... |
MrPepperoni/Reaping2-1 | src/core/rocket_launcher.h | <gh_stars>1-10
#ifndef INCLUDED_CORE_ROCKET_LAUNCHER_H
#define INCLUDED_CORE_ROCKET_LAUNCHER_H
#include "core/weapon.h"
#include "platform/export.h"
class RocketLauncher : public Weapon
{
public:
RocketLauncher( int32_t Id );
RocketLauncher();
friend class ::boost::serialization::access;
template<clas... |
MrPepperoni/Reaping2-1 | src/render/visual_box_multiplier_component.h | <reponame>MrPepperoni/Reaping2-1<filename>src/render/visual_box_multiplier_component.h
#ifndef INCLUDED_RENDER_VISUAL_BOX_MULTIPLIER_COMPONENT_H
#define INCLUDED_RENDER_VISUAL_BOX_MULTIPLIER_COMPONENT_H
#include "render/i_visual_box_multiplier_component.h"
#include "core/property_loader.h"
#include "platform/export.h"... |
MrPepperoni/Reaping2-1 | src/core/map/editor_back_event.h | <filename>src/core/map/editor_back_event.h
#ifndef INCLUDED_MAP_EDITOR_BACK_EVENT_H
#define INCLUDED_MAP_EDITOR_BACK_EVENT_H
#include "platform/event.h"
namespace map {
struct EditorBackEvent : public platform::Event
{
bool mBackToBaseHud;
EditorBackEvent( bool backToBaseHud = false )
: mBackToBaseHu... |
MrPepperoni/Reaping2-1 | src/core/i_light_component.h | <filename>src/core/i_light_component.h
#ifndef INCLUDED_CORE_I_LIGHT_COMPONENT_H
#define INCLUDED_CORE_I_LIGHT_COMPONENT_H
#include "component.h"
class ILightComponent : public Component
{
public:
DEFINE_COMPONENT_BASE(ILightComponent)
virtual void SetRadius(double radius)=0;
virtual double GetRadius()con... |
MrPepperoni/Reaping2-1 | src/core/i_collision_component.h | #ifndef INCLUDED_CORE_I_COLLISION_COMPONENT_H
#define INCLUDED_CORE_I_COLLISION_COMPONENT_H
#include "component.h"
#include "core/collision_class.h"
#include "platform/export.h"
class ICollisionComponent : public Component
{
public:
DEFINE_COMPONENT_BASE( ICollisionComponent )
virtual CollisionClass::Type GetC... |
MrPepperoni/Reaping2-1 | src/core/map/pickup_target.h | #ifndef INCLUDED_CORE_MAP_PICKUP_TARGET_H
#define INCLUDED_CORE_MAP_PICKUP_TARGET_H
#include "platform/i_platform.h"
#include "i_target.h"
#include "../scene.h"
namespace map {
class PickupTarget: public ITarget
{
public:
PickupTarget( int32_t Id );
PickupTarget( int32_t Id, int32_t typeId, int32_t contentId... |
MrPepperoni/Reaping2-1 | src/engine/path_system.h | #ifndef INCLUDED_ENGINE_PATH_SYSTEM_H
#define INCLUDED_ENGINE_PATH_SYSTEM_H
#include "core/scene.h"
#include "engine/system.h"
#include "core/map/level_generator/level_generated_event.h"
#include "input/keyboard.h"
#include <unordered_map>
#include <unordered_set>
#include "core/perf_timer.h"
#include "core/actor_even... |
MrPepperoni/Reaping2-1 | src/engine/score_on_death_system.h | <filename>src/engine/score_on_death_system.h
#ifndef INCLUDED_ENGINE_SCORE_ON_DEATH_SYSTEM_H
#define INCLUDED_ENGINE_SCORE_ON_DEATH_SYSTEM_H
#include "core/scene.h"
#include "engine/system.h"
namespace engine {
class ScoreOnDeathSystem : public System
{
public:
DEFINE_SYSTEM_BASE( ScoreOnDeathSystem )
ScoreO... |
MrPepperoni/Reaping2-1 | src/core/i_static_actor_component.h | <filename>src/core/i_static_actor_component.h
#ifndef INCLUDED_CORE_I_STATIC_ACTOR_COMPONENT_H
#define INCLUDED_CORE_I_STATIC_ACTOR_COMPONENT_H
#include "component.h"
class IStaticActorComponent : public Component
{
public:
DEFINE_COMPONENT_BASE(IStaticActorComponent)
public:
friend class ::boost::s... |
MrPepperoni/Reaping2-1 | src/engine/removed_actors_system.h | <gh_stars>1-10
#ifndef INCLUDED_ENGINE_REMOVED_ACTORS_SYSTEM_H
#define INCLUDED_ENGINE_REMOVED_ACTORS_SYSTEM_H
#include "core/scene.h"
#include "engine/system.h"
#include <set>
#include "core/actor_event.h"
namespace engine {
class RemovedActorsSystem : public System
{
public:
DEFINE_SYSTEM_BASE( RemovedActorsSy... |
MrPepperoni/Reaping2-1 | src/platform/factory.h | <reponame>MrPepperoni/Reaping2-1
#ifndef INCLUDED_PLATFORM_FACTORY_H
#define INCLUDED_PLATFORM_FACTORY_H
#include <memory>
#include "rstdint.h"
#include <boost/function.hpp>
#include <map>
#include <boost/static_assert.hpp>
#include <boost/type_traits/is_base_of.hpp>
#include <boost/bind.hpp>
namespace platform {
te... |
MrPepperoni/Reaping2-1 | src/network/damage_taken_message.h | <reponame>MrPepperoni/Reaping2-1
#ifndef INCLUDED_NETWORK_DAMAGE_TAKEN_MESSAGE_H
#define INCLUDED_NETWORK_DAMAGE_TAKEN_MESSAGE_H
#include "network/message.h"
#include "network/message_handler_sub_system.h"
#include "network/message_sender_system.h"
#include "core/damage_taken_event.h"
#include "platform/export.h"
name... |
MrPepperoni/Reaping2-1 | src/core/shotgun.h | #ifndef INCLUDED_CORE_SHOTGUN_H
#define INCLUDED_CORE_SHOTGUN_H
#include "core/weapon.h"
#include "i_explode.h"
#include "explode_distribution_type.h"
#include "platform/export.h"
class Shotgun : public Weapon, public IExplode
{
public:
Shotgun( int32_t Id );
Shotgun();
friend class ::boost::serialization:... |
MrPepperoni/Reaping2-1 | src/core/scripted_controller/turn_away_act.h | #ifndef INCLUDED_CORE_SCRIPTED_CONTROLLER_TURN_AWAY_ACT_H
#define INCLUDED_CORE_SCRIPTED_CONTROLLER_TURN_AWAY_ACT_H
#include "i_act.h"
#include "../scene.h"
namespace scriptedcontroller
{
class TurnAwayAct : public IAct
{
public:
DEFINE_ACT_BASE( TurnAwayAct );
virtual void Update( Actor& actor, double Secon... |
MrPepperoni/Reaping2-1 | src/engine/items/rusty_reaper_weapon_sub_system.h | <filename>src/engine/items/rusty_reaper_weapon_sub_system.h
#ifndef INCLUDED_ENGINE_RUSTY_REAPER_WEAPON_SUB_SYSTEM_H
#define INCLUDED_ENGINE_RUSTY_REAPER_WEAPON_SUB_SYSTEM_H
#include "engine/items/common_sub_system_includes.h"
#include "core/item_dropped_event.h"
namespace engine {
class RustyReaperWeaponSubSystem :... |
MrPepperoni/Reaping2-1 | src/engine/stop_on_death_system.h | #ifndef INCLUDED_ENGINE_STOP_ON_DEATH_SYSTEM_H
#define INCLUDED_ENGINE_STOP_ON_DEATH_SYSTEM_H
#include "core/scene.h"
#include "engine/system.h"
namespace engine {
class StopOnDeathSystem : public System
{
public:
DEFINE_SYSTEM_BASE( StopOnDeathSystem )
StopOnDeathSystem();
protected:
virtual void Init()... |
MrPepperoni/Reaping2-1 | src/core/map/map_element.h | <gh_stars>0
#ifndef INCLUDED_CORE_MAP_MAP_ELEMENT_H
#define INCLUDED_CORE_MAP_MAP_ELEMENT_H
#include "platform/auto_id.h"
#include "core/opt.h"
#include "platform/jsonreader.h"
namespace map {
#define DEFINE_MAP_ELEMENT_BASE( BuffType ) \
static int GetType_static() \
{ \
static int const typ = platfo... |
MrPepperoni/Reaping2-1 | src/engine/player_model_system.h | #ifndef INCLUDED_ENGINE_PLAYER_MODEL_SYSTEM_H
#define INCLUDED_ENGINE_PLAYER_MODEL_SYSTEM_H
#include "core/scene.h"
#include "engine/system.h"
#include "core/actor_event.h"
#include "core/program_state.h"
namespace engine {
class PlayerModelSystem : public System
{
public:
DEFINE_SYSTEM_BASE( PlayerModelSystem )... |
MrPepperoni/Reaping2-1 | src/core/start_game_mode_event.h | #ifndef INCLUDED_CORE_START_GAME_MODE_EVENT_H
#define INCLUDED_CORE_START_GAME_MODE_EVENT_H
#include "platform/event.h"
#include "core/game_modes.h"
namespace core {
struct StartGameModeEvent : public platform::Event
{
GameModes::Type mMode;
StartGameModeEvent( GameModes::Type mode )
: mMode( mode ) ... |
MrPepperoni/Reaping2-1 | src/core/map/room_editor_loaded_event.h | #ifndef INCLUDED_MAP_ROOM_EDITOR_LOADED_EVENT_H
#define INCLUDED_MAP_ROOM_EDITOR_LOADED_EVENT_H
#include "platform/event.h"
namespace map {
struct RoomEditorLoadedEvent : public platform::Event
{
Opt<RoomDesc> mRoomDesc;
RoomEditorLoadedEvent(Opt<RoomDesc> roomDesc)
:mRoomDesc(roomDesc){}
... |
MrPepperoni/Reaping2-1 | src/core/flag_carrier_component.h | #ifndef INCLUDED_CTF_FLAG_CARRIER_COMPONENT_H
#define INCLUDED_CTF_FLAG_CARRIER_COMPONENT_H
#include "i_flag_carrier_component.h"
#include "core/property_loader.h"
#include "platform/export.h"
namespace ctf {
class FlagCarrierComponent : public IFlagCarrierComponent
{
public:
FlagCarrierComponent();
protected:
... |
MrPepperoni/Reaping2-1 | src/core/normal_item.h | #ifndef INCLUDED_CORE_NORMAL_ITEM_H
#define INCLUDED_CORE_NORMAL_ITEM_H
#include "core/item.h"
#include "platform/export.h"
class NormalItem : public Item
{
public:
NormalItem( int32_t Id );
NormalItem();
virtual void SetUse( bool use );
bool IsUse() const;
void SetConsumed( bool consumed );
b... |
MrPepperoni/Reaping2-1 | src/core/scripted_controller/distance_to_aggressor_condition.h | #ifndef INCLUDED_CORE_SCRIPTED_CONTROLLER_DISTANCE_TO_AGGRESSOR_CONDITION_H
#define INCLUDED_CORE_SCRIPTED_CONTROLLER_DISTANCE_TO_AGGRESSOR_CONDITION_H
#include "i_condition.h"
#include "platform/frequency_timer.h"
namespace scriptedcontroller
{
class DistanceToAggressorCondition : public ICondition
{
public:
DE... |
MrPepperoni/Reaping2-1 | src/render/particle_engine.h | <gh_stars>1-10
#pragma once
#ifndef INCLUDED_PARTICLE_ENGINE_H
#define INCLUDED_PARTICLE_ENGINE_H
#include "platform/i_platform.h"
namespace render {
class ParticleEngineImpl;
class ParticleEngine : public platform::Singleton<ParticleEngine>
{
std::auto_ptr<ParticleEngineImpl> mImpl;
public:
ParticleEngine()... |
MrPepperoni/Reaping2-1 | src/core/buffs/cloak_buff.h | #ifndef INCLUDED_CORE_CLOAK_BUFF_H
#define INCLUDED_CORE_CLOAK_BUFF_H
#include "buff.h"
class CloakBuff : public Buff
{
public:
DEFINE_BUFF_BASE( CloakBuff )
CloakBuff();
virtual void SetApplied( bool applied );
virtual bool IsApplied()const;
protected:
bool mApplied;
private:
public:
friend c... |
MrPepperoni/Reaping2-1 | src/engine/collisions/normal_collision_sub_system.h | <gh_stars>1-10
#ifndef INCLUDED_ENGINE_NORMAL_COLLISION_SUB_SYSTEM_H
#define INCLUDED_ENGINE_NORMAL_COLLISION_SUB_SYSTEM_H
#include "core/scene.h"
#include "engine/collisions/collision_sub_system.h"
namespace engine {
class NormalCollisionSubSystem : public CollisionSubSystem
{
public:
DEFINE_SUB_SYSTEM_BASE( No... |
MrPepperoni/Reaping2-1 | src/network/set_ownership_message.h | #ifndef INCLUDED_NETWORK_SET_OWNERSHIP_H
#define INCLUDED_NETWORK_SET_OWNERSHIP_H
#include "network/message.h"
#include "network/message_handler_sub_system.h"
#include "network/message_sender_system.h"
#include "engine/soldier_created_event.h"
#include "platform/export.h"
namespace network {
class SetOwnershipMessag... |
MrPepperoni/Reaping2-1 | src/network/revive_message.h | #ifndef INCLUDED_NETWORK_REVIVE_MESSAGE_H
#define INCLUDED_NETWORK_REVIVE_MESSAGE_H
#include "network/message.h"
#include "network/message_handler_sub_system.h"
#include "network/message_sender_system.h"
#include "platform/register.h"
#include "platform/export.h"
namespace network {
class ReviveMessage: public Messag... |
MrPepperoni/Reaping2-1 | src/main/window_settings.h | #ifndef INCLUDED_MAIN_WINDOW_SETTINGS_H
#define INCLUDED_MAIN_WINDOW_SETTINGS_H
#include <memory.h>
#include "platform/i_platform.h"
class WindowSettings : public platform::Singleton<WindowSettings>
{
public:
enum Mode {
Windowed,
BorderlessWindowed,
Fullscreen,
};
~WindowSettings(... |
MrPepperoni/Reaping2-1 | src/network/data_checksum_message.h | <reponame>MrPepperoni/Reaping2-1
#ifndef INCLUDED_NETWORK_DATA_CHECKSUM_H
#define INCLUDED_NETWORK_DATA_CHECKSUM_H
#include "network/message.h"
#include "network/message_handler_sub_system.h"
#include "network/message_sender_system.h"
#include <boost/cstdint.hpp>
namespace network {
class DataChecksumMessage : publi... |
MrPepperoni/Reaping2-1 | src/core/level_selected_event.h | #ifndef INCLUDED_CORE_LEVEL_SELECTED_EVENT_H
#define INCLUDED_CORE_LEVEL_SELECTED_EVENT_H
#include "platform/event.h"
#include <string>
namespace core {
struct LevelSelectedEvent : public Event
{
std::string mLevel;
LevelSelectedEvent( std::string const& level ) : mLevel( level ) {}
};
}
#endif
|
MrPepperoni/Reaping2-1 | src/audio/audio_player.h | #ifndef INCLUDED_AUDIO_AUDIO_PLAYER_H
#define INCLUDED_AUDIO_AUDIO_PLAYER_H
class AudioPlayer : public Singleton<AudioPlayer>
{
AudioFiles_t mActiveFiles;
AudioFiles_t mNewFiles;
std::vector<int32_t> mHaltedIds;
std::vector<int32_t> mRunningIds;
static const size_t MinPlaybackBufferSize;
const... |
MrPepperoni/Reaping2-1 | src/engine/fade_out_system.h | #ifndef INCLUDED_ENGINE_FADE_OUT_SYSTEM_H
#define INCLUDED_ENGINE_FADE_OUT_SYSTEM_H
#include "core/scene.h"
#include "engine/system.h"
#include "core/actor_factory.h"
namespace engine {
class FadeOutSystem : public System
{
public:
DEFINE_SYSTEM_BASE( FadeOutSystem )
FadeOutSystem();
virtual void Init();... |
MrPepperoni/Reaping2-1 | src/network/map_start_message.h | <gh_stars>1-10
#ifndef INCLUDED_NETWORK_MAP_START_H
#define INCLUDED_NETWORK_MAP_START_H
#include "network/message.h"
#include "network/message_handler_sub_system.h"
#include "network/message_sender_system.h"
#include "platform/export.h"
#include "core/map_start_event.h"
namespace network {
class MapStartMessage : p... |
MrPepperoni/Reaping2-1 | src/platform/compression.h | #ifndef INCLUDED_PLATFORM_COMPRESSION_H
#define INCLUDED_PLATFORM_COMPRESSION_H
#include "singleton.h"
#include <string>
#include <zlib.h>
namespace platform {
class Compression : public Singleton<Compression>
{
friend class Singleton<Compression>;
Compression();
public:
~Compression();
bool Deflate(... |
MrPepperoni/Reaping2-1 | src/network/lifecycle_sender_system.h | #ifndef INCLUDED_NETWORK_LIFECYCLE_SENDER_SYSTEM_H
#define INCLUDED_NETWORK_LIFECYCLE_SENDER_SYSTEM_H
#include "engine/system.h"
#include "messsage_holder.h"
#include "core/scene.h"
#include "core/program_state.h"
namespace network {
class LifecycleSenderSystem: public engine::System
{
DEFINE_SYSTEM_BASE( Lifecy... |
MrPepperoni/Reaping2-1 | src/core/collision_traits.h | #ifndef INCLUDED_CORE_COLLISION_TRAITS_H
#define INCLUDED_CORE_COLLISION_TRAITS_H
#include "core/actor.h"
#include "core/collision_class.h"
namespace core {
struct CollisionTraits {
static size_t constexpr NumClasses = CollisionClass::Num_Classes;
static bool AreCorrelated( int32_t CC1, int32_t CC2 );
sta... |
MrPepperoni/Reaping2-1 | src/core/property_loader.h | #ifndef INCLUDED_CORE_PROPERTY_LOADER_H
#define INCLUDED_CORE_PROPERTY_LOADER_H
#include "platform/factory.h"
#include "platform/singleton.h"
#include <boost/ptr_container/ptr_map.hpp>
#include <list>
#include <string>
#include <boost/function.hpp>
#include <boost/bind.hpp>
#include <boost/static_assert.hpp>
#include ... |
MrPepperoni/Reaping2-1 | src/audio/mixer.h | #ifndef INCLUDED_AUDIO_MIXER_H
#define INCLUDED_AUDIO_MIXER_H
#include "i_audio.h"
class Mixer
{
float mAudioTypeRelativeWeights[audio::NumTypes];
public:
Mixer();
void Mix( AudioBuffer& Dest, AudioFiles_t& Files, size_t const Size );
};
#endif//INCLUDED_AUDIO_MIXER_H
|
MrPepperoni/Reaping2-1 | src/input/input_state_changed.h | #ifndef INCLUDED_ENGINE_INPUT_STATE_CHANGED_H
#define INCLUDED_ENGINE_INPUT_STATE_CHANGED_H
#include "platform/event.h"
#include "input_state.h"
namespace engine {
struct InputStateChangedEvent : public platform::Event
{
InputState const& mInputState;
int32_t mPlayerId;
InputStateChangedEvent( int32_t pl... |
MrPepperoni/Reaping2-1 | src/core/flag_state_changed_event.h | #ifndef INCLUDED_CTF_FLAG_STATE_CHANGED_EVENT_H
#define INCLUDED_CTF_FLAG_STATE_CHANGED_EVENT_H
#include "platform/event.h"
#include "ctf_program_state.h"
namespace ctf {
struct FlagStateChangedEvent : public platform::Event
{
enum Type
{
Captured = 0,
Returned,
Scored,
Droppe... |
MrPepperoni/Reaping2-1 | src/network/flash_message.h | <gh_stars>1-10
#ifndef INCLUDED_NETWORK_FLASH_H
#define INCLUDED_NETWORK_FLASH_H
#include "network/message.h"
#include "network/message_handler_sub_system.h"
#include "network/message_sender_system.h"
#include "engine/items/flash_event.h"
#include "platform/export.h"
namespace network {
class FlashMessage : public M... |
MrPepperoni/Reaping2-1 | src/core/item_factory.h | <reponame>MrPepperoni/Reaping2-1
#ifndef INCLUDED_CORE_ITEM_REPO_H
#define INCLUDED_CORE_ITEM_REPO_H
#include "platform/factory.h"
#include "platform/singleton.h"
#include "item_loader_repo.h"
#include "item_loader.h"
class Item;
class ItemFactory : public platform::Factory<Item>, public platform::Singleton<ItemFacto... |
MrPepperoni/Reaping2-1 | src/core/map/editor_renderable_layer_system.h | #ifndef INCLUDED_MAP_EDITOR_RENDERABLE_LAYER_SYSTEM_H
#define INCLUDED_MAP_EDITOR_RENDERABLE_LAYER_SYSTEM_H
#include "core/scene.h"
#include "engine/system.h"
#include "editor_mode_changed_event.h"
#include "editor_back_event.h"
#include "level_generator/room_desc.h"
#include "input/mouse.h"
namespace map {
class Ed... |
MrPepperoni/Reaping2-1 | src/engine/buffs_engine/cloak_buff_sub_system.h | #ifndef INCLUDED_ENGINE_CLOAK_BUFF_SUB_SYSTEM_H
#define INCLUDED_ENGINE_CLOAK_BUFF_SUB_SYSTEM_H
#include "core/scene.h"
#include "engine/sub_system.h"
#include "core/program_state.h"
namespace engine {
class CloakBuffSubSystem : public SubSystem
{
public:
DEFINE_SUB_SYSTEM_BASE( CloakBuffSubSystem )
CloakBuf... |
MrPepperoni/Reaping2-1 | src/engine/flag_spawn_system.h | #ifndef INCLUDED_ENGINE_FLAG_SPAWN_SYSTEM_H
#define INCLUDED_ENGINE_FLAG_SPAWN_SYSTEM_H
#include "core/scene.h"
#include "engine/system.h"
namespace engine {
namespace ctf {
class FlagSpawnSystem : public System
{
public:
DEFINE_SYSTEM_BASE( FlagSpawnSystem )
FlagSpawnSystem();
void SetFlagPositionToStar... |
MrPepperoni/Reaping2-1 | src/core/map/level_generator/vdouble_room1.h | <filename>src/core/map/level_generator/vdouble_room1.h
#ifndef INCLUDED_MAP_VDOUBLE_ROOM1_H
#define INCLUDED_MAP_VDOUBLE_ROOM1_H
#include "i_room.h"
#include "core/actor_factory.h"
namespace map {
class VDoubleRoom1 : public IRoom
{
public:
VDoubleRoom1( int32_t Id );
virtual void Generate( RoomDesc& roomDes... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.