repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
AKD92/Columnar-Transposition-Cipher-CryptoSystem
src/ccipher.h
/************************************************************************************ Program Interface of Columnar Transposition Cypher Author: <NAME> Email: <EMAIL> GitHub: https://github.com/AKD92 **********************************************************************...
AKD92/Columnar-Transposition-Cipher-CryptoSystem
src/ccipher_algorithms.c
/************************************************************************************ Implementation of Columnar Transposition Cypher Core Algorithms Author: <NAME> Email: <EMAIL> GitHub: https://github.com/AKD92 *********************************************************...
AKD92/Columnar-Transposition-Cipher-CryptoSystem
src/ccipher_utilities.c
<filename>src/ccipher_utilities.c /************************************************************************************ Implementation of Columnar Transposition Cypher Utility Functions Author: <NAME> Email: <EMAIL> GitHub: https://github.com/AKD92 *********************...
0mcandal0/rpmalloc
rpmalloc/malloc.c
<filename>rpmalloc/malloc.c<gh_stars>0 /* malloc.c - Memory allocator - Public Domain - 2016 <NAME> * * This library provides a cross-platform lock free thread caching malloc implementation in C11. * The latest source code is always available at * * https://github.com/mjansson/rpmalloc * * This library is ...
panguangze/delly
src/coverage.h
<reponame>panguangze/delly #ifndef COVERAGE_H #define COVERAGE_H #include <boost/container/flat_set.hpp> #include <boost/dynamic_bitset.hpp> #include <boost/iostreams/stream.hpp> #include <boost/iostreams/stream_buffer.hpp> #include <boost/iostreams/device/file.hpp> #include <boost/iostreams/filtering_stream.hpp> #inc...
UCSB-CS32-F15/CS32-Iterators
RosterExample/student.h
<filename>RosterExample/student.h #ifndef STUDENT_H #define STUDENT_H #include <string> class Student { public: Student(const char * const name, int perm); int getPerm() const; std:string getName() const; void setPerm(const int perm); void setName(const char * const name); std::string toString() con...
A-Salty-Fish/AlgorithmHomework
Week1/Week1/BTree.h
#pragma once template<typename T> class BTree { public: T value; BTree* Left; BTree* Right; };
A-Salty-Fish/AlgorithmHomework
Week1/Week1/2.h
<reponame>A-Salty-Fish/AlgorithmHomework #pragma once #include "BTree.h" int SumsBiggerNodes(BTree<int>* head, int k) { if (head == nullptr) return 0; return SumsBiggerNodes(head->Left, k) + SumsBiggerNodes(head->Right, k) + head->value >= k ? 1 : 0; }
A-Salty-Fish/AlgorithmHomework
Week1/Week1/6.h
<filename>Week1/Week1/6.h #pragma once #include <math.h> int SepaExpNum(int num) { if (num <= 2) return 1; else { int sum = 0; for (int i = 2;i <=num ;i++) { if (num % i == 0) { sum += SepaExpNum(num / i); } } return sum; } }
A-Salty-Fish/AlgorithmHomework
Week1/Week1/4.h
#pragma once int FindSubscript(int* array, int length) { if (array[0] >= length || array[length - 1] < 0) return -1; int mid = length / 2; int bias = 0; while (length != 0) { if (array[mid] == mid) return mid; else if (array[mid] > mid) { mid = (mid + bias) / 2; } else { int tmpBias = mid; mid...
A-Salty-Fish/AlgorithmHomework
Week1/Week1/1.h
#pragma once #include "BTree.h" int SumsLeafNodes(BTree<int>* head) { if (head == nullptr) return 0; if (head->Left == nullptr && head->Right == nullptr) return head->value; return SumsLeafNodes(head->Left) + SumsLeafNodes(head->Right); }
A-Salty-Fish/AlgorithmHomework
Week1/Week1/3.h
<filename>Week1/Week1/3.h #pragma once #include "BTree.h" template<typename T> int GetDepth(BTree<T>* head, T x) { if (head == nullptr) return 0; if (head->value == x) return 1; int leftDepth = GetDepth(head->Left, x); if (leftDepth > 0) return leftDepth + 1; int rightDepth = GetDepth(head->Right, x); if (rightDe...
A-Salty-Fish/AlgorithmHomework
Week1/Week1/5.h
<filename>Week1/Week1/5.h #pragma once template<typename T> T* TriSearch(T* First, T target, int length, bool (*compare)(T a,T b)) { T* Second = First + length / 3; T* Third = First + length * 2 / 3; T* End = First + length; if (length <= 2) return *First == target ? First : *(End - 1) == target ? End - 1 : nullp...
leiradel/pas2lua
main.c
<reponame>leiradel/pas2lua<gh_stars>1-10 #include <stdio.h> #include <lua.h> #include <lauxlib.h> #include <lualib.h> #include "lexer.h" #include "lua/class.h" #include "lua/parser.h" #include "lua/dfm2pas.h" #include "lua/main.h" #include "units/classes.h" #include "units/controls.h" #include "units/dialogs.h" #in...
leiradel/pas2lua
lexer.h
#ifndef NSPP_LEXER_H #define NSPP_LEXER_H #include <lua.h> LUALIB_API int luaopen_lexer( lua_State* L ); #endif /* NSPP_LEXER_H */
leiradel/pas2lua
lexer.c
#include <stdint.h> #include <string.h> #include <ctype.h> #include <lua.h> #include <lauxlib.h> #include <lualib.h> #define MY_NAME "lexer_t" #define TOOBIG -2 #define INVALIDCHAR -1 #define TOKEN 1 #define LINECOMMENTSTART 2 #define BLOCKCOMMENTSTART 3 #define BLOCKCOMMENTEND 4 ...
astinz/solana-gui
src/core/module/edit/include/edit.h
#ifndef SOLANA_GUI_EDIT_H #define SOLANA_GUI_EDIT_H #include <QObject> #include <QtQml/qqmlregistration.h> class Edit : public QObject { Q_OBJECT Q_PROPERTY(int copy READ copy CONSTANT) QML_ELEMENT public: Q_INVOKABLE void copy() const; }; #endif //SOLANA_GUI_EDIT_H
astinz/solana-gui
src/core/module/help/include/help.h
#ifndef SOLANA_GUI_FILE_H #define SOLANA_GUI_FILE_H #include <QObject> #include <QtQml/qqmlregistration.h> class Help : public QObject { Q_OBJECT Q_PROPERTY(int answer READ about CONSTANT) QML_ELEMENT public: Q_INVOKABLE int about() const; }; #endif //SOLANA_GUI_FILE_H
astinz/solana-gui
src/core/module/view/include/view.h
<reponame>astinz/solana-gui #ifndef SOLANA_GUI_VIEW_H #define SOLANA_GUI_VIEW_H #include <QObject> #include <QtQml/qqmlregistration.h> class View : public QObject { Q_OBJECT Q_PROPERTY(int appearance READ appearance CONSTANT) QML_ELEMENT public: Q_INVOKABLE void appearance() const; }; #endif //SOLANA...
astinz/solana-gui
src/core/module/wallet/include/wallet.h
#ifndef SOLANA_GUI_WALLET_H #define SOLANA_GUI_WALLET_H #include <QObject> #include <QtQml/qqmlregistration.h> class Wallet: public QObject { Q_OBJECT Q_PROPERTY(int create READ create CONSTANT) QML_ELEMENT public: Q_INVOKABLE void create() const; }; #endif //SOLANA_GUI_WALLET_H
astinz/solana-gui
src/core/module/file/include/file.h
<reponame>astinz/solana-gui<gh_stars>0 #ifndef SOLANA_GUI_FILE_H #define SOLANA_GUI_FILE_H #include <QObject> #include <QtQml/qqmlregistration.h> class File : public QObject { Q_OBJECT Q_PROPERTY(int exit READ exit CONSTANT) QML_ELEMENT public: Q_INVOKABLE void exit() const; }; #endif //SOLANA_GUI_FI...
astinz/solana-gui
src/core/module/build/include/build.h
<reponame>astinz/solana-gui #ifndef SOLANA_GUI_BUILD_H #define SOLANA_GUI_BUILD_H #include <QObject> #include <QtQml/qqmlregistration.h> class Build : public QObject { Q_OBJECT Q_PROPERTY(int deploy READ copy CONSTANT) QML_ELEMENT public: Q_INVOKABLE void deploy() const; }; #endif //SOLANA_GUI_BUILD_H
astinz/solana-gui
src/core/module/tools/include/tools.h
<filename>src/core/module/tools/include/tools.h<gh_stars>0 #ifndef SOLANA_GUI_TOOLS_H #define SOLANA_GUI_TOOLS_H #include <QObject> #include <QtQml/qqmlregistration.h> class Tools : public QObject { Q_OBJECT Q_PROPERTY(int explorer READ explorer CONSTANT) QML_ELEMENT public: Q_INVOKABLE void explorer() co...
astinz/solana-gui
src/core/module/run/include/run.h
<filename>src/core/module/run/include/run.h<gh_stars>0 #ifndef SOLANA_GUI_RUN_H #define SOLANA_GUI_RUN_H #include <QObject> #include <QtQml/qqmlregistration.h> class Run : public QObject { Q_OBJECT Q_PROPERTY(int run READ run CONSTANT) QML_ELEMENT public: Q_INVOKABLE void run() const; }; #endif //SOLANA_...
astinz/solana-gui
src/core/module/navigate/include/navigate.h
<gh_stars>0 #ifndef SOLANA_GUI_NAVIGATE_H #define SOLANA_GUI_NAVIGATE_H #include <QObject> #include <QtQml/qqmlregistration.h> class Navigate : public QObject { Q_OBJECT Q_PROPERTY(int back READ back CONSTANT) QML_ELEMENT public: Q_INVOKABLE void back() const; }; #endif //SOLANA_GUI_NAVIGATE_H
astinz/solana-gui
src/core/module/window/include/window.h
#ifndef SOLANA_GUI_WINDOW_H #define SOLANA_GUI_WINDOW_H #include <QObject> #include <QtQml/qqmlregistration.h> class Window: public QObject { Q_OBJECT Q_PROPERTY(int dummy READ dummy CONSTANT) QML_ELEMENT public: Q_INVOKABLE void dummy() const; }; #endif //SOLANA_GUI_WINDOW_H
LASER3284/2021-At-Home
src/main/include/TrajectoryConstants.h
<filename>src/main/include/TrajectoryConstants.h /**************************************************************************** Description: Defines the Poses used for autonomous. Classes: CTrajectoryConstants Project: 2020 Infinite Recharge Robot Code. Copyright 2020 First Team 3284 - Camdenton LASER ...
LASER3284/2021-At-Home
src/main/include/Shooter.h
<filename>src/main/include/Shooter.h /**************************************************************************** * Defines the CShooter control class. * * Classes: CShooter * * Project: Swerve Drive ****************************************************************************/ #ifndef Shooter_h #define Sho...
LASER3284/2021-At-Home
src/main/include/IOMap.h
/**************************************************************************** Description: Defines the Swerve Drive I/O map. Classes: None Project: Swerve Drive ****************************************************************************/ #pragma once ////////////////////////////////////////////...
LASER3284/2021-At-Home
src/main/include/SwerveModule.h
<reponame>LASER3284/2021-At-Home<filename>src/main/include/SwerveModule.h /**************************************************************************** * Defines the SwerveModule class. * * Classes: CSwerveModule * * Project: Swerve Drive * * Copyright © 2021 FIRST Team 3284 - Camdenton...
LASER3284/2021-At-Home
src/main/include/RobotMain.h
/**************************************************************************** * Defines the RobotMain class. * * Classes: CRobotMain * * Project: Swerve Drive ***************************************************************************/ #pragma once #include "Drive.h" #include <frc/Timer.h> #include <frc/Timed...
LASER3284/2021-At-Home
src/main/include/Drive.h
/**************************************************************************** * Defines the Drive class. * * Classes: CDrive * * Project: Swerve Drive ****************************************************************************/ #pragma once #include "IOMap.h" #include "SwerveModule.h" #includ...
Devolutions/libdispatch
tests/dispatch_after.c
/* * Copyright (c) 2008-2011 Apple Inc. All rights reserved. * * @APPLE_APACHE_LICENSE_HEADER_START@ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/lic...
Devolutions/libdispatch
src/shims/atomic.h
/* * Copyright (c) 2008-2016 Apple Inc. All rights reserved. * * @APPLE_APACHE_LICENSE_HEADER_START@ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/lic...
Devolutions/libdispatch
tests/dispatch_io.c
/* * Copyright (c) 2009-2011 Apple Inc. All rights reserved. * * @APPLE_APACHE_LICENSE_HEADER_START@ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/lic...
Devolutions/libdispatch
tests/dispatch_priority.c
<gh_stars>100-1000 /* * Copyright (c) 2008-2011 Apple Inc. All rights reserved. * * @APPLE_APACHE_LICENSE_HEADER_START@ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:/...
Devolutions/libdispatch
tests/bsdtests.h
<gh_stars>100-1000 /* * Copyright (c) 2008-2011 Apple Inc. All rights reserved. * * @APPLE_APACHE_LICENSE_HEADER_START@ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:/...
Devolutions/libdispatch
tests/dispatch_context_for_key.c
/* * Copyright (c) 2010-2011 Apple Inc. All rights reserved. * * @APPLE_APACHE_LICENSE_HEADER_START@ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/lic...
Devolutions/libdispatch
tests/dispatch_deadname.c
<filename>tests/dispatch_deadname.c /* * Copyright (c) 2008-2011 Apple Inc. All rights reserved. * * @APPLE_APACHE_LICENSE_HEADER_START@ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
ellen50/azure-c-shared-utility
inc/azure_c_shared_utility/base64.h
<reponame>ellen50/azure-c-shared-utility // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. /** @file base64.h * @brief Prototypes for functions related to encoding/decoding * a @c buffer using standard base64 enc...
apathyboy/swganh
src/swganh_core/simulation/spatial_provider_interface.h
<reponame>apathyboy/swganh<filename>src/swganh_core/simulation/spatial_provider_interface.h<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <list> #include <memory> #include <glm/glm.hpp> #include "swgan...
apathyboy/swganh
src/swganh_core/badge/badge_service_binding.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #ifndef WIN32 #include <Python.h> #endif #include "swganh/scripting/python_shared_ptr.h" #include "badge_service_interface.h" #include <boost/python.hpp> #include <boost/python/...
apathyboy/swganh
src/swganh_core/messages/controllers/command_queue_remove.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh/byte_buffer.h" #include "swganh_core/messages/obj_controller_message.h" namespace swganh { namespace messages { namespace c...
apathyboy/swganh
src/swganh_core/messages/scene_destroy_object.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct SceneDestroyObject : public BaseSwgMessag...
apathyboy/swganh
src/swganh_core/messages/sui_force_close.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <glm/glm.hpp> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct SUIForceClose : public...
apathyboy/swganh
src/swganh_core/object/intangible/intangible_factory.h
<filename>src/swganh_core/object/intangible/intangible_factory.h // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh_core/object/object_factory.h" #include <unordered_map> namespace swganh { namespace database { c...
apathyboy/swganh
src/swganh_core/messages/bid_auction_message.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct BidAuctionMessage : public BaseSwgMessage ...
apathyboy/swganh
src/swganh_core/messages/chat/chat_query_room.h
<filename>src/swganh_core/messages/chat/chat_query_room.h // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh/byte_buffer.h" #include "swganh_core/messages/base_swg_message.h" ...
apathyboy/swganh
src/swganh_core/object/object_factory_interface.h
<reponame>apathyboy/swganh // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <future> #include <memory> #include <string> #include <cppconn/connection.h> #include <boost/thread.hpp> namespace swganh...
apathyboy/swganh
src/swganh_core/command/command_factory_interface.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <functional> #include <memory> #include "swganh/hash_string.h" namespace swganh { namespace app { class SwganhKernel; } namespace messages { namespace controllers ...
apathyboy/swganh
src/swganh_core/object/building/building.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include <vector> #include "swganh_core/object/object.h" #include "swganh_core/object/tangible/tangible.h" namespace swganh {...
apathyboy/swganh
src/swganh_core/messages/baselines_message.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "base_baselines_message.h" namespace swganh { namespace messages { struct BaselinesMessage : ...
apathyboy/swganh
src/swganh_core/messages/create_auction_response_message.h
<reponame>apathyboy/swganh<filename>src/swganh_core/messages/create_auction_response_message.h<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "base_swg_...
apathyboy/swganh
src/swganh_core/spawn/loot_group.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <memory> #include <set> #include <vector> #include "swganh/random_generator.h" namespace swganh { namespace app { class SwganhKernel; } namespace object...
apathyboy/swganh
src/swganh_core/map/map_service_interface.h
<filename>src/swganh_core/map/map_service_interface.h // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <swganh/service/service_interface.h> namespace swganh { namespace map { /** * Manages map locations for each sc...
apathyboy/swganh
src/swganh_core/messages/login_client_token.h
<filename>src/swganh_core/messages/login_client_token.h // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <memory> #include <string> #include "swganh/byte_buffer.h" #include "base_swg_message.h" names...
apathyboy/swganh
src/swganh_core/login/login_service.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh_core/login/login_service_interface.h" namespace swganh { namespace login { /** * Provides the functionality of the login service. */ class LoginS...
apathyboy/swganh
src/swganh_core/messages/chat/chat_create_room.h
<filename>src/swganh_core/messages/chat/chat_create_room.h // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh/byte_buffer.h" #include "swganh_core/messages/base_swg_message.h" ...
apathyboy/swganh
src/swganh_core/messages/update_containment_message.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct UpdateContainmentMessage : public BaseSwg...
apathyboy/swganh
src/swganh_core/object/creature/posture.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once namespace swganh { namespace object { enum Posture : uint8_t { INVALID = 0xFF, UPRIGHT = 0, CROUCHED = 1, PRONE, SNEAKING, BLOCKING, CLIMBING, FLYING, LYING_DOWN, SITTI...
apathyboy/swganh
src/swganh_core/object/group/group.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <atomic> #include <list> #include <vector> #include <boost/thread/mutex.hpp> #include "swganh_core/object/object.h" #include "swganh_core/messages/containers/network_ve...
apathyboy/swganh
src/swganh_core/object/waypoint/waypoint_message_builder.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh_core/object/intangible/intangible_message_builder.h" namespace swganh { namespace messages { struct BaselinesMessage; }} // swganh::messages namespace swgan...
apathyboy/swganh
src/swganh_core/map/map_service.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <queue> #include <tuple> #include <swganh_core/map/map_service_interface.h> #include <swganh_core/messages/get_map_locations_response_message.h> #include <swganh_core/m...
apathyboy/swganh
src/swganh_core/messages/chat/chat_instant_message_to_client.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh/byte_buffer.h" #include "swganh_core/messages/base_swg_message.h" namespace swganh { namespace messages { struct ChatIn...
apathyboy/swganh
src/swganh_core/sui/radial_interface.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <memory> #include <vector> namespace swganh { namespace app { class SwganhKernel; } namespace object{ class Object; } namespace messages { namespace controllers { st...
apathyboy/swganh
src/swganh_core/equipment/equipment_service_binding.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #ifndef WIN32 #include <Python.h> #endif #include "swganh/scripting/python_shared_ptr.h" #include "equipment_service_interface.h" #include "swganh_core/object/object.h" #include...
apathyboy/swganh
src/swganh_core/messages/stat_migration_targets_message.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct StatMigrationTargetsMessage : public BaseSwgM...
apathyboy/swganh
src/swganh_core/command/command_validator.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <vector> #include "swganh_core/command/command_validator_interface.h" namespace swganh { namespace command { class BaseSwgCommand; }} namespace swganh { namespace ...
apathyboy/swganh
src/swganh_core/sui/sui_service.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <boost/thread/mutex.hpp> #include <map> #include "swganh_core/sui/sui_service_interface.h" namespace swganh { namespace observer { class ObserverInterface; } } names...
apathyboy/swganh
src/swganh_core/object/weapon/weapon_message_builder.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #ifndef SWGANH_OBJECT_WEAPON_WEAPON_MESSAGE_BUILDER_H_ #define SWGANH_OBJECT_WEAPON_WEAPON_MESSAGE_BUILDER_H_ #include "swganh_core/object/tangible/tangible_message_builder.h" namespace swga...
apathyboy/swganh
src/swganh_core/command/command_service_interface.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <memory> #include <string> #include <tuple> #include <boost/optional.hpp> #include "swganh/service/service_interface.h" #include "com...
apathyboy/swganh
src/swganh_core/connection/connection_client.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh_core/connection/connection_client_interface.h" namespace swganh { namespace connection { /* * Represents a remote client. */ class Connectio...
apathyboy/swganh
src/swganh_core/simulation/scene.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh_core/simulation/scene_interface.h" #include "swganh_core/simulation/spatial_provider_interface.h" #include <cstdint> #include <string> namespace swganh { namespa...
apathyboy/swganh
src/swganh_core/object/objects_fwd.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once namespace swganh { namespace object { class Building; class Cell; class Creature; class FactoryCrate; class Group; class Guild; class HarvesterInstallation; class Installation; ...
apathyboy/swganh
src/swganh_core/equipment/equipment_service_interface.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <swganh/service/service_interface.h> namespace swganh { namespace object { class Object; } namespace equipment { class EquipmentServiceInterface : public swganh::ser...
apathyboy/swganh
src/swganh_core/object/slot_container.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh_core/object/slot_interface.h" #include <set> namespace swganh { namespace object { class SlotContainer : public SlotInterface { public: virtual std::sha...
apathyboy/swganh
src/swganh_core/messages/newbie_tutorial_response.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct NewbieTutorialResponse : pu...
apathyboy/swganh
src/swganh_core/object/factory_crate/factory_crate.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh_core/object/tangible/tangible.h" namespace swganh { namespace object { class FactoryCrateFactory; class FactoryCrateMessageBuilder; class FactoryCrate : public...
apathyboy/swganh
src/swganh_core/messages/client_random_name_response.h
<reponame>apathyboy/swganh<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct ...
apathyboy/swganh
src/swganh_core/object/object_controller_binding.h
<filename>src/swganh_core/object/object_controller_binding.h // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #ifndef WIN32 #include <Python.h> #endif #include "swganh/observer/observer_interface.h" #include "swganh_core/messag...
apathyboy/swganh
src/swganh_core/object/cell/cell.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <glm/glm.hpp> #include "swganh_core/object/intangible/intangible.h" namespace swganh { namespace object { class CellFactory; class CellMessageBuilder; class Cell : pub...
apathyboy/swganh
src/swganh_core/messages/containers/network_set.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <set> #include <queue> #include <functional> #include "swganh_core/messages/baselines_message.h" #include "swganh_core/messages/deltas_message.h" #include "default_seri...
apathyboy/swganh
src/swganh_core/spawn/finite_state_machine_interface.h
#pragma once #include <memory> namespace swganh { namespace object { class Object; } namespace spawn { class FsmController; class FiniteStateMachineInterface { public: virtual ~FiniteStateMachineInterface() {} virtual void StartManagingObject(std::shared_ptr<swganh::object::Object> object) = 0; virtual void Sto...
apathyboy/swganh
src/swganh_core/messages/login_enum_cluster.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <algorithm> #include <list> #include <memory> #include <string> #include <vector> #include "swganh/byte_buffer.h" #include "base_swg_message.h" #includ...
apathyboy/swganh
src/swganh_core/map/map_init.h
<reponame>apathyboy/swganh // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once namespace swganh { namespace app { class SwganhKernel; }} namespace swganh { namespace map { void Initialize(swganh::app::SwganhKernel* kernel); }}...
apathyboy/swganh
src/swganh_core/object/player/player_message_builder.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh_core/object/intangible/intangible_message_builder.h" #include "player.h" namespace swganh { namespace object { class Waypoint; }} // swganh::object namesp...
apathyboy/swganh
src/swganh_core/connection/connection_service_interface.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <memory> #include <string> #include <unordered_map> #include <boost/thread/mutex.hpp> #include "swganh/active_object.h" #include "swganh/hash_string....
apathyboy/swganh
src/swganh_core/messages/containers/default_serializer.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh/byte_buffer.h" namespace swganh { namespace containers { template<typename T> class DefaultSerializer { public: static void SerializeBaseline(swganh::ByteBuf...
apathyboy/swganh
src/swganh_core/messages/chat/chat_on_send_persistent_message.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "swganh_core/messages/base_swg_message.h" namespace swganh { namespace messages { struct ChatOnSendPersistentMess...
apathyboy/swganh
src/swganh_core/messages/player_money_response.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct PlayerMoneyResponse : public BaseSwgMessage ...
apathyboy/swganh
src/swganh_core/travel/travel_service_binding.h
<filename>src/swganh_core/travel/travel_service_binding.h // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #ifndef WIN32 #include <Python.h> #endif #include <vector> #include "swganh/scripting/python_shared_ptr.h" #include "tr...
apathyboy/swganh
src/swganh_core/object/static/static_message_builder.h
<filename>src/swganh_core/object/static/static_message_builder.h<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #ifndef SWGANH_OBJECT_STATIC_STATIC_MESSAGE_BUILDER_H_ #define SWGANH_OBJECT_STATIC_STATIC_MESSAGE_BUILDER_H_ #i...
apathyboy/swganh
src/swganh_core/messages/controllers/spatial_chat.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh/byte_buffer.h" #include "swganh_core/messages/obj_controller_message.h" namespace swganh { namespace messages { namespace c...
apathyboy/swganh
src/swganh_core/messages/planet_travel_point_list_request.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct PlanetTravelPointListReques...
apathyboy/swganh
src/swganh_core/messages/play_client_effect_object_message.h
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespace messages { struct PlayClientEffectObjectMessa...
apathyboy/swganh
src/swganh_core/attributes/attributes_service_interface.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <memory> #include <string> #include "swganh/service/service_interface.h" #include "attribute_template_interface.h" namespace swganh { ...
apathyboy/swganh
src/swganh_core/messages/controllers/add_buff.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <string> #include "swganh/byte_buffer.h" #include "swganh/hash_string.h" #include "swganh_core/messages/obj_controller_message.h" name...
apathyboy/swganh
src/swganh_core/object/tangible/tangible_binding.h
<reponame>apathyboy/swganh<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #ifndef SWGANH_OBJECT_TANGIBLE_TANGIBLE_BINDING_H_ #define SWGANH_OBJECT_TANGIBLE_TANGIBLE_BINDING_H_ #include "swganh_core/object/object_binding.h" #...
apathyboy/swganh
src/swganh_core/messages/resource_list_for_survey_message.h
<gh_stars>1-10 // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <algorithm> #include <list> #include <string> #include "swganh/byte_buffer.h" #include "base_swg_message.h" namespace swganh { namespac...
apathyboy/swganh
src/swganh_core/connection/ping_server.h
<filename>src/swganh_core/connection/ping_server.h // This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include <cstdint> #include <memory> #include <vector> #include <boost/asio.hpp> namespace swganh { namespace connection { cl...