repo_name
stringlengths
6
97
path
stringlengths
3
341
text
stringlengths
8
1.02M
mstewartgallus/linted
src/locale/locale.c
/* * Copyright 2013, 2014, 2015 <NAME> * * 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/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
mstewartgallus/linted
src/nesc/async.h
/* * Copyright 2015 <NAME> * * 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/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
mstewartgallus/linted
src/log/log-windows.c
<filename>src/log/log-windows.c /* * Copyright 2015 <NAME> * * 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/licenses/LICENSE-2.0 * * Unless required by a...
mstewartgallus/linted
docs/builds.h
<reponame>mstewartgallus/linted<gh_stars>0 /* Copyright (C) 2014, 2015 <NAME> * * Copying and distribution of this file, with or without * modification, are permitted in any medium without royalty provided * the copyright notice and this notice are preserved. */ /** * * @file * * Linted -- Builds * * A list...
mstewartgallus/linted
include/lntd/io.h
<reponame>mstewartgallus/linted /* * Copyright 2014, 2015 <NAME> * * 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/licenses/LICENSE-2.0 * * Unless require...
mstewartgallus/linted
src/trigger/trigger.c
<reponame>mstewartgallus/linted /* * Copyright 2015 <NAME> * * 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/licenses/LICENSE-2.0 * * Unless required by a...
mstewartgallus/linted
src/error/error-windows.c
/* * Copyright 2014, 2015 <NAME> * * 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/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
MathZtew/MZ-bike-controller
controller/lcd.h
<gh_stars>0 #include "Arduino.h" #define BOARD_ID 0x65 #define ADDRESS 0x30 #define SET_BL 0x62 #define GET_BUT 0x05 #define LCD_CLR 0x60 #define LCD_WR 0x61 #define LCD_WRITE_WAIT 17 void lcdSetBlacklight(uint8_t value); uint8_t readButtons(); void lcdClear(); void lcdGoToXY(uint8_t x, uint8_t...
janiex/TheRQMProject
HW/DSP2833x_EPwm.h
/******************************************************************************* ** ** ** SRC-MODULE: DSP2833x_EPwm.h ** ** ...
janiex/TheRQMProject
Schedule.c
/******************************************************************************* ** ** ** SRC-MODULE: Schedule.c ** ** ...
janiex/TheRQMProject
ISO2631_All_GenerationTemplate_types.h
<filename>ISO2631_All_GenerationTemplate_types.h /* * File: ISO2631_All_GenerationTemplate_types.h * * Real-Time Workshop code generated for Simulink model ISO2631_All_GenerationTemplate. * * Model version : 1.17 * Real-Time Workshop file version : 7.6 (R2010b) 03-Aug-2010 * Real-Ti...
janiex/TheRQMProject
ISO2631_All_GenerationTemplate.c
<filename>ISO2631_All_GenerationTemplate.c<gh_stars>0 /* * File: ISO2631_All_GenerationTemplate.c * * Real-Time Workshop code generated for Simulink model ISO2631_All_GenerationTemplate. * * Model version : 1.17 * Real-Time Workshop file version : 7.6 (R2010b) 03-Aug-2010 * Real-Tim...
janiex/TheRQMProject
ISO2631_All_GenerationTemplate_private.h
<filename>ISO2631_All_GenerationTemplate_private.h /* * File: ISO2631_All_GenerationTemplate_private.h * * Real-Time Workshop code generated for Simulink model ISO2631_All_GenerationTemplate. * * Model version : 1.17 * Real-Time Workshop file version : 7.6 (R2010b) 03-Aug-2010 * Rea...
janiex/TheRQMProject
ISO2631_All_GenerationTemplate_data.c
<reponame>janiex/TheRQMProject /* * File: ISO2631_All_GenerationTemplate_data.c * * Real-Time Workshop code generated for Simulink model ISO2631_All_GenerationTemplate. * * Model version : 1.17 * Real-Time Workshop file version : 7.6 (R2010b) 03-Aug-2010 * Real-Time Workshop file ge...
janiex/TheRQMProject
HW/DSP2833x_ECap.h
<gh_stars>0 /******************************************************************************* ** ** ** SRC-MODULE: DSP2833x_ECap.h ** ** ...
janiex/TheRQMProject
ADXL345.h
<reponame>janiex/TheRQMProject #include "OS_Types.h" #include "DSP2833x_I2c.h" #include "DSP2833x_Device.h" #ifndef ADXL345_H_ #define ADXL345_H_ #define ADXL345_CHIP_ID 0xE5 // Chip ID should be 0xE5 #define ADXL345_DATA_FORMAT 0x31 // X,Y,Z format of the data #define ADXL345_DATAX0 0x32 // R X-Axi...
janiex/TheRQMProject
ISO2631_All_GenerationTemplate.h
<gh_stars>0 /* * File: ISO2631_All_GenerationTemplate.h * * Real-Time Workshop code generated for Simulink model ISO2631_All_GenerationTemplate. * * Model version : 1.17 * Real-Time Workshop file version : 7.6 (R2010b) 03-Aug-2010 * Real-Time Workshop file generated on : Sat Sep 06 ...
janiex/TheRQMProject
RTE/Rte_BandPass.h
/* * File: Rte_BandPass.h * * Real-Time Workshop code generated for Simulink model ISO2631_All_GenerationTemplate. * * Model version : 1.17 * Real-Time Workshop file version : 7.6 (R2010b) 03-Aug-2010 * Real-Time Workshop file generated on : Sat Sep 06 13:19:54 2014 * TLC version ...
janiex/TheRQMProject
RTE/Rte_Type.h
/* * File: Rte_Type.h * * Real-Time Workshop code generated for Simulink model ISO2631_All_GenerationTemplate. * * Model version : 1.17 * Real-Time Workshop file version : 7.6 (R2010b) 03-Aug-2010 * Real-Time Workshop file generated on : Sat Sep 06 13:19:54 2014 * TLC version ...
janiex/TheRQMProject
HW/Identification.h
<gh_stars>0 #define MAGIC_NUMBER 30511208
janiex/TheRQMProject
Include/Std_types.h
<gh_stars>0 /******************************************************************************* ** ** ** SRC-MODULE: Std_types.h ** ** ...
janiex/TheRQMProject
UserTasks.c
<reponame>janiex/TheRQMProject /******************************************************************************* ** ** ** SRC-MODULE: UserTasks.c ** ** ...
janiex/TheRQMProject
Include/Alarm.h
<gh_stars>0 /******************************************************************************* ** ** ** SRC-MODULE: Alarm.h ** ** ...
janiex/TheRQMProject
InitHW.c
<reponame>janiex/TheRQMProject /******************************************************************************* ** ** ** SRC-MODULE: InitHW.c ** ** ...
janiex/TheRQMProject
HW/DSP2833x_Xintf.h
/******************************************************************************* ** ** ** SRC-MODULE: DSP2833x_Xintf.h ** ** ...
janiex/TheRQMProject
Alarm.c
/******************************************************************************* ** ** ** SRC-MODULE: Alarm.c ** ** ...
janiex/TheRQMProject
Include/Platform_Types.h
/******************************************************************************* ** ** ** SRC-MODULE: Platform_Types.h ** ** ...
janiex/TheRQMProject
HW/DSP2833x_XIntrupt.h
<filename>HW/DSP2833x_XIntrupt.h /******************************************************************************* ** ** ** SRC-MODULE: DSP2833x_XIntrupt.h ** ** ...
janiex/TheRQMProject
RTE/Compiler.h
/* * File: Compiler.h * * Real-Time Workshop code generated for Simulink model ISO2631_All_GenerationTemplate. * * Model version : 1.17 * Real-Time Workshop file version : 7.6 (R2010b) 03-Aug-2010 * Real-Time Workshop file generated on : Sat Sep 06 13:19:54 2014 * TLC version ...
janiex/TheRQMProject
Include/OS_gen.h
/******************************************************************************* ** ** ** SRC-MODULE: OS_gen.h ** ** ...
janiex/TheRQMProject
ADXL345.c
<filename>ADXL345.c<gh_stars>0 //#include "DSP2833x_Device.h" // DSP2833x Headerfile Include File //#include "DSP2833x_Examples.h" // DSP2833x Examples Include File #include "ADXL345.h" #ifdef __cplusplus #pragma DATA_SECTION("I2caRegsFile") #else #pragma DATA_SECTION(I2caRegs,"I2caRegsFile"); #endif volatile s...
wonderful89/KSCrash
Source/KSCrash/Recording/Monitors/KSCrashMonitor_MachException.c
// // KSCrashMonitor_MachException.c // // Created by <NAME> on 2012-02-04. // // Copyright (c) 2012 <NAME>. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software with...
wonderful89/KSCrash
iOS/Simple-Example/ViewController.h
<reponame>wonderful89/KSCrash<gh_stars>0 // // ViewController.h // Simple-Example // #import <UIKit/UIKit.h> #import <KSCrash/KSCrash.h> @interface ViewController : UIViewController @end
wonderful89/KSCrash
iOS/KSCrash/NSZombieBase.h
// // NSZombieBase.h // KSCrash-iOS // // Created by qianzhao on 2021/8/18. // Copyright © 2021 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface NSZombieBase : NSObject @end NS_ASSUME_NONNULL_END
wonderful89/KSCrash
Source/KSCrash/Recording/KSCrashReport.c
// // KSCrashReport.m // // Created by <NAME> on 2012-01-28. // // Copyright (c) 2012 <NAME>. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction...
manub686/axwifi
wifi54/dstmacaddr.c
/** Atomix project, dstmacaddr.c, TODO: insert summary here Copyright (c) 2015 Stanford University Released under the Apache License v2.0. See the LICENSE file for details. Author(s): <NAME> */ #include <osl/inc/swpform.h> Uint8 trace_mac_addr[] = {0x00, 0xA1, 0xA2, 0xA3, 0xA4, 0xA5, 0x00, 0x00};
manub686/axwifi
samples/debug64.rate54000.snr25.nmsgs2.msglen500.scale1.41.txpkt.dat_trace_skip_0_ns_4640.c
<reponame>manub686/axwifi #include <osl/inc/swpform.h> #pragma DATA_SECTION(trace_skip_0_ns_4640, ".trace"); #pragma DATA_ALIGN(trace_skip_0_ns_4640, 8); Int16 trace_skip_0_ns_4640[] = { 167, -367, 570, 429, -702, 361, 268, 6, 99, 126, -407...
manub686/axwifi
wifirx54mc/trace.c
<filename>wifirx54mc/trace.c /** Atomix project, trace.c, TODO: insert summary here Copyright (c) 2015 Stanford University Released under the Apache License v2.0. See the LICENSE file for details. Author(s): <NAME> */ #include <osl/inc/swpform.h> Int16 trace_skip_0_ns_780[] = { 340, 480, -99, ...
manub686/axwifi
wifi54/configurator.c
/** Atomix project, configurator.c, TODO: insert summary here Copyright (c) 2015 Stanford University Released under the Apache License v2.0. See the LICENSE file for details. Author(s): <NAME> */ #include <stdio.h> #include <arpa/inet.h> int main() { unsigned int ns = 400000; unsigned int f_ns = htonl(ns); FILE...
manub686/axwifi
wifirx6m/setup.c
/** Atomix project, setup.c, TODO: insert summary here Copyright (c) 2015 Stanford University Released under the Apache License v2.0. See the LICENSE file for details. Author(s): <NAME> */ void app_wifirx6m_setup() { WIFILIB_genDerotTable(); WIFILIB_genTwiddleFactors(); vitdec_profile_init(); } void app_wi...
imefGames/Poplin
Poplin/include/poplin/core/serialization/serializer.h
<reponame>imefGames/Poplin #pragma once #include <poplin/core/reflection/typeinfo.h> #include <json.hpp> namespace Poplin { namespace Serializer { void LoadObject(void* objectPtr, const TypeInfo& type, const nlohmann::json& data); } }
imefGames/Poplin
Poplin/include/poplin/engine/ecs/systems/logiccomponentupdatersystem.h
#pragma once #include <poplin/core/types.hpp> #include <poplin/engine/ecs/system.h> namespace Poplin { class LogicComponent; class LogicComponentUpdatersSystem : public System { public: LogicComponentUpdatersSystem(SystemUpdater& updater); private: void UpdateLogicComponent(f32 d...
imefGames/Poplin
Poplin/include/poplin/engine/ecs/system.h
#pragma once namespace Poplin { class SystemUpdater; class System { public: System(SystemUpdater& updater); virtual ~System(); private: SystemUpdater& m_Updater; }; }
imefGames/Poplin
Poplin/include/poplin/graphics/ecs/components/cameracomponent.h
<filename>Poplin/include/poplin/graphics/ecs/components/cameracomponent.h #pragma once #include <poplin/core/types.hpp> #include <poplin/core/reflection/typeinfo.h> #include <poplin/engine/ecs/componentdescriptor.h> #include <glm/glm.hpp> #include <imgui/imgui.h> namespace Poplin { class Texture; class Camer...
imefGames/Poplin
Sandbox/debugtoolssystem.h
<gh_stars>0 #pragma once #include <poplin/core/types.hpp> #include <poplin/engine/ecs/system.h> namespace Poplin { class PropertyInfo; class TransformComponent; class DebugToolsSystem : public System { public: DebugToolsSystem(SystemUpdater& updater); private: static void Edi...
imefGames/Poplin
Poplin/include/poplin/graphics/assets/textureasset.h
<gh_stars>0 #pragma once #include <poplin/core/reflection/typeinfo.h> #include <poplin/engine/asset/managedasset.h> #include <poplin/graphics/texture.h> #include <string> namespace Poplin { class TextureAsset : public ManagedAsset { private: void OnAssetLoaded() override; public: std:...
imefGames/Poplin
Poplin/include/poplin/engine/ecs/systemupdater.h
#pragma once #include <poplin/core/types.hpp> #include <poplin/engine/ecs/entityregistry.h> #include <vector> namespace Poplin { class System; class SystemUpdater { public: ~SystemUpdater(); void UpdateSystems(f32 deltaTime, EntityRegistry& registry) const; template <class S...
imefGames/Poplin
Poplin/include/poplin/engine/ecs/components/entitymetadatacomponent.h
<gh_stars>0 #pragma once #include <string> #include <vector> namespace Poplin { class TypeInfo; class EntityMetaDataComponent { public: EntityMetaDataComponent(); std::string Name; std::vector<const TypeInfo*> OwnedComponentTypes; }; }
imefGames/Poplin
Poplin/include/poplin/engine/input/input.h
<reponame>imefGames/Poplin #pragma once #include <poplin/core/types.hpp> #include <poplin/engine/input/keycodes.hpp> #include <poplin/engine/input/mousecodes.hpp> #include <glm/glm.hpp> namespace Poplin { namespace Input { bool IsKeyDown(EKeyCode key); bool IsKeyUp(EKeyCode key); bool ...
imefGames/Poplin
Poplin/include/poplin/graphics/renderer.h
#pragma once #include <glm/glm.hpp> #include <poplin/core/singleton.hpp> #include <memory> namespace Poplin { class Shader; class SpriteComponent; class Texture; class VertexArray; class Renderer : public Singleton<Renderer> { friend class RenderSystem; public: Renderer()...
imefGames/Poplin
Sandbox/playerbehaviorcomponent.h
<filename>Sandbox/playerbehaviorcomponent.h #pragma once #include <poplin/core/types.hpp> #include <poplin/engine/ecs/components/logiccomponent.h> #include <poplin/engine/input/input.h> #include <poplin/physics/ecs/components/rigidbodycomponent.h> namespace Poplin { class PlayerBehaviorComponent : public LogicCom...
imefGames/Poplin
Poplin/include/poplin/graphics/vertexarray.h
#pragma once #include <poplin/core/types.hpp> #include <poplin/graphics/vertexbuffer.h> #include <memory> #include <vector> namespace Poplin { class VertexArray { public: VertexArray(); ~VertexArray(); inline u32 GetTriangleCount() const { return m_TriangleCount; } inline ...
imefGames/Poplin
Poplin/include/poplin/core/reflection/typeinfo.h
#pragma once #include <poplin/core/reflection/propertyinfo.h> #include <functional> namespace Poplin { using TypeID = u64; class TypeInfo { public: using TypeCreationCallback = void* (*)(); enum class Flags : u8 { None = 0x00, IsManagedAsset = 0x01 ...
imefGames/Poplin
Poplin/include/poplin/core/reflection/enuminfo.h
<gh_stars>0 #pragma once #include <poplin/core/types.hpp> #include <utility> namespace Poplin { using EnumID = u32; class EnumInfo { public: struct EnumEntry { EnumEntry(u32 value, const char* name) : Value{ value } , Name{ name } ...
imefGames/Poplin
Sandbox/serializer.h
#pragma once #include <string> namespace Poplin { class Entity; class Universe; class World; namespace Serializer { void SaveUniverse(const Universe& universe, const std::string& filePath); void SaveWorld(const World& world); void LoadUniverse(Universe& universe, const st...
imefGames/Poplin
Poplin/include/poplin/physics/ecs/systems/physicssystem.h
#pragma once #include <poplin/core/types.hpp> #include <poplin/engine/ecs/system.h> namespace Poplin { class RigidBodyComponent; class TransformComponent; class PhysicsSystem : public System { public: PhysicsSystem(SystemUpdater& updater); private: void PreWorldUpdate(f32 del...
imefGames/Poplin
Sandbox/scrollmessagecomponent.h
<gh_stars>0 #pragma once #include <poplin/core/types.hpp> #include <poplin/engine/ecs/components/logiccomponent.h> #include <poplin/engine/input/input.h> #include <poplin/graphics/ecs/components/spritecomponent.h> namespace Poplin { class ScrollMessageComponent : public LogicComponentBehavior { public: ...
imefGames/Poplin
Poplin/include/poplin/graphics/ecs/components/spritecomponent.h
<filename>Poplin/include/poplin/graphics/ecs/components/spritecomponent.h #pragma once #include <poplin/core/reflection/typeinfo.h> #include <poplin/engine/ecs/componentdescriptor.h> #include <glm/glm.hpp> #include <imgui/imgui.h> namespace Poplin { class TextureAsset; class SpriteComponent { public:...
imefGames/Poplin
Poplin/include/poplin/engine/ecs/components/transformcomponent.h
#pragma once #include <poplin/core/reflection/typeinfo.h> #include <poplin/engine/ecs/componentdescriptor.h> #include <glm/glm.hpp> #include <imgui/imgui.h> namespace Poplin { class TransformComponent { public: TransformComponent(); glm::mat4 ComputeGlobalTransform() const; glm::...
imefGames/Poplin
Poplin/include/poplin/engine/ecs/componentdescriptor.h
<reponame>imefGames/Poplin #pragma once #include <poplin/core/reflection/typeinfo.h> #include <poplin/engine/ecs/entity.h> #include <functional> #include <string> namespace Poplin { class Entity; class ComponentDescriptor { public: ComponentDescriptor(const std::string& name, cons...
imefGames/Poplin
Sandbox/sandboxreflectedtypes.h
#pragma once #include <poplin/core/reflection/enuminfo.h> #include <poplin/core/reflection/typeinfo.h> #include <map> namespace Poplin { namespace Reflection { void RegisterGameTypes(std::map<TypeID, const TypeInfo*>& types); void RegisterGameEnums(std::map<EnumID, const EnumInfo*>& enums); ...
imefGames/Poplin
Poplin/include/poplin/engine/ecs/entityregistry.h
<gh_stars>0 #pragma once #include <entt/entt.hpp> #include <functional> namespace Poplin { class Entity; class EntityRegistry { friend class Entity; public: Entity CreateEntity(); void ForEachEntity(const std::function<void(Entity)>& function) const; void ClearAllEnt...
imefGames/Poplin
Poplin/include/poplin/engine/ecs/componentdescriptorregistry.h
#pragma once #include <poplin/core/singleton.hpp> #include <poplin/core/types.hpp> #include <vector> namespace Poplin { class ComponentDescriptor; class TypeInfo; class ComponentDescriptorRegistry : public Singleton<ComponentDescriptorRegistry> { public: ComponentDescriptorRegistry(); ...
imefGames/Poplin
Poplin/include/poplin/core/reflection/reflectedtyperegistry.h
#pragma once #include <poplin/core/singleton.hpp> #include <poplin/core/reflection/enuminfo.h> #include <poplin/core/reflection/typeinfo.h> #include <map> namespace Poplin { class ReflectedTypeRegistry : public Singleton<ReflectedTypeRegistry> { public: ReflectedTypeRegistry(); ~ReflectedT...
imefGames/Poplin
Poplin/include/poplin/engine/ecs/universe.h
<gh_stars>0 #pragma once #include <poplin/core/singleton.hpp> #include <poplin/core/types.hpp> #include <poplin/engine/ecs/systemupdater.h> #include <vector> namespace Poplin { class System; class World; class Universe : public Singleton<Universe> { public: Universe(); ~Universe()...
imefGames/Poplin
Poplin/include/poplin/core/reflection/propertyinfo.h
#pragma once #include <poplin/core/error.h> #include <poplin/core/types.hpp> #include <glm/glm.hpp> #include <memory> #include <string> namespace Poplin { using PropertyID = u64; enum class EPropertyType : u8 { Unknown, Bool, U8, U16, U32, U64, S8,...
imefGames/Poplin
Poplin/include/poplin/physics/physicscontactlistener.h
<reponame>imefGames/Poplin #pragma once #include <box2d/b2_world_callbacks.h> namespace Poplin { class PhysicsContactListener : public b2ContactListener { void BeginContact(b2Contact* contact) override; void EndContact(b2Contact* contact) override; }; }
imefGames/Poplin
Poplin/include/poplin/engine/gameengine.h
<filename>Poplin/include/poplin/engine/gameengine.h #pragma once #include <poplin/core/reflection/reflectedtyperegistry.h> #include <poplin/engine/gameengineconfig.hpp> #include <poplin/engine/gameenginestats.hpp> #include <poplin/engine/asset/assetlocator.h> #include <poplin/engine/ecs/componentdescriptorregistry.h> ...
imefGames/Poplin
Poplin/include/poplin/engine/ecs/world.h
<reponame>imefGames/Poplin #pragma once #include <poplin/core/types.hpp> #include <poplin/engine/ecs/entityregistry.h> #include <poplin/physics/physicsworld.h> #include <string> namespace Poplin { class SystemUpdater; class World { public: World(); ~World(); void Update(const...
imefGames/Poplin
Poplin/include/poplin/core/profiling/profilingtimer.h
<gh_stars>0 #pragma once #include <chrono> #include <string> namespace Poplin { class ProfilingTimer { public: ProfilingTimer(const std::string& logEntryName); ~ProfilingTimer(); private: void Stop(); std::string m_LogEntryName; std::chrono::steady_clock::time...
imefGames/Poplin
Poplin/include/poplin/physics/physicsworld.h
#pragma once #include <box2d/box2d.h> #include <poplin/core/types.hpp> #include <poplin/physics/physicscontactlistener.h> namespace Poplin { class RigidBodyComponent; class PhysicsWorld { friend class PhysicsSystem; public: PhysicsWorld(); void InitRigidBody(RigidBodyComponen...
imefGames/Poplin
Weaver/weaverecs.h
<reponame>imefGames/Poplin #pragma once #include <poplin/engine/ecs/componentdescriptor.h> #include <poplin/engine/ecs/componentdescriptorregistry.h> #include <poplin/engine/ecs/universe.h> namespace Poplin { void RegisterEditorComponents(std::vector<ComponentDescriptor*>& components); void RegisterEditorSyst...
imefGames/Poplin
Poplin/include/poplin/engine/asset/assetlocator.h
#pragma once #include <poplin/core/singleton.hpp> #include <poplin/engine/asset/managedasset.h> #include <map> #include <memory> namespace Poplin { class AssetLocator : public Singleton<AssetLocator> { public: AssetLocator(); ~AssetLocator(); std::shared_ptr<ManagedAsset> FindAsse...
imefGames/Poplin
Poplin/include/poplin/graphics/loaders/modelloader.h
<gh_stars>0 #pragma once #include <poplin/graphics/vertexarray.h> #include <memory> namespace Poplin::ModelLoader { std::shared_ptr<VertexArray> MakeUnitSquare(); }
imefGames/Poplin
Poplin/include/poplin/core/error.h
#pragma once #include <poplin/core/types.hpp> namespace Poplin { namespace Error { enum class EErrorType { Warning, Error, Assert }; void ReportError(EErrorType errorType, const Char* errorText); } } #define PoplinWarning(condition, err...
imefGames/Poplin
Poplin/include/poplin/physics/ecs/components/rigidbodycomponent.h
#pragma once #include <box2d/box2d.h> #include <glm/glm.hpp> #include <imgui/imgui.h> #include <poplin/core/types.hpp> #include <poplin/core/reflection/enuminfo.h> #include <poplin/core/reflection/typeinfo.h> #include <poplin/engine/ecs/componentdescriptor.h> #include <memory> namespace Poplin { class RigidBodyCo...
imefGames/Poplin
Poplin/include/poplin/engine/asset/managedasset.h
#pragma once #include <poplin/core/singleton.hpp> #include <poplin/core/types.hpp> #include <poplin/core/reflection/typeinfo.h> #include <string> namespace Poplin { using AssetID = u64; static const AssetID InvalidAssetID = u64Max; class ManagedAsset { friend class AssetLocator; public: ...
imefGames/Poplin
Poplin/include/poplin/engine/ecs/components/logiccomponent.h
<filename>Poplin/include/poplin/engine/ecs/components/logiccomponent.h #pragma once #include <poplin/core/types.hpp> #include <poplin/core/reflection/typeinfo.h> #include <poplin/engine/ecs/componentdescriptor.h> #include <poplin/engine/ecs/entity.h> #include <memory> namespace Poplin { class LogicComponentBehavi...
imefGames/Poplin
Poplin/include/poplin/graphics/loaders/shaderloader.h
<reponame>imefGames/Poplin<gh_stars>0 #pragma once #include <poplin/graphics/shader.h> #include <memory> namespace Poplin::ShaderLoader { std::shared_ptr<Shader> LoadDefaultSpriteShader(); }
imefGames/Poplin
Poplin/include/poplin/animation/ecs/components/animatorcomponent.h
#pragma once #include <poplin/core/reflection/typeinfo.h> #include <poplin/engine/ecs/componentdescriptor.h> #include <imgui/imgui.h> namespace Poplin { class AnimatorComponent { public: AnimatorComponent(); f32 FrameElapsedTime; f32 TimePerFrame; u8 FrameCount; u8...
imefGames/Poplin
Poplin/include/poplin/graphics/shader.h
<reponame>imefGames/Poplin<filename>Poplin/include/poplin/graphics/shader.h<gh_stars>0 #pragma once #include <glm/glm.hpp> #include <poplin/core/types.hpp> namespace Poplin { class Shader { public: Shader(const Char* vertexSource, const Char* fragmentSource); ~Shader(); void Bind(...
imefGames/Poplin
Poplin/include/poplin/engine/ecs/entity.h
#pragma once #include <poplin/core/types.hpp> #include <poplin/core/reflection/typeinfo.h> #include <poplin/engine/ecs/entityregistry.h> #include <poplin/engine/ecs/components/entitymetadatacomponent.h> namespace Poplin { class Entity { public: Entity() = default; Entity(EntityRegistry& re...
imefGames/Poplin
Poplin/include/poplin/graphics/ecs/systems/rendersystem.h
#pragma once #include <poplin/core/types.hpp> #include <poplin/engine/ecs/system.h> namespace Poplin { class CameraComponent; class SpriteComponent; class TransformComponent; class RenderSystem : public System { public: RenderSystem(SystemUpdater& updater); private: void ...
imefGames/Poplin
Poplin/src/engine/input/inputhandler.h
#pragma once #include <poplin/core/types.hpp> #include <poplin/core/singleton.hpp> #include <poplin/engine/input/keycodes.hpp> #include <poplin/engine/input/mousecodes.hpp> #include <glm/glm.hpp> namespace Poplin { class Window; namespace Input { enum class EInputStates : u8 { ...
imefGames/Poplin
Poplin/include/poplin/animation/ecs/systems/animationsystem.h
<gh_stars>0 #pragma once #include <poplin/core/types.hpp> #include <poplin/engine/ecs/system.h> namespace Poplin { class AnimatorComponent; class SpriteComponent; class AnimationSystem : public System { public: AnimationSystem(SystemUpdater& updater); private: void UpdateAnim...
imefGames/Poplin
Poplin/include/poplin/engine/window/applicationwindow.h
<reponame>imefGames/Poplin<gh_stars>0 #pragma once #include <memory> struct GLFWwindow; namespace Poplin { namespace Input { class InputHandler; } struct ApplicationWindowEvents; class ApplicationWindow { public: ApplicationWindow(); ~ApplicationWindow(); ...
imefGames/Poplin
Poplin/include/poplin/graphics/vertexbuffer.h
#pragma once #include <poplin/core/types.hpp> namespace Poplin { //Handle data layouts better enum class EShaderDataType { Integer, Float, Float2, Float3, Float4, Matrix3, Matrix4 }; class VertexBuffer { public: VertexBuffer(...
imefGames/Poplin
Poplin/include/poplin/core/profiling/profilerlogger.h
<reponame>imefGames/Poplin #pragma once #include <chrono> #include <string> namespace Poplin { class ProfilerLogger { using ProfileTimePoint = std::chrono::steady_clock::time_point; public: static void LogEntry(const std::string& logEntryName, const ProfileTimePoint& startTime, const Prof...
imefGames/Poplin
Poplin/include/poplin/graphics/texture.h
#pragma once #include <poplin/core/types.hpp> namespace Poplin { class Texture { public: Texture(const void* data, u32 dataWidth, u32 dataHeight); ~Texture(); void Bind(); private: u32 m_TextureID; }; }
okoshi42/assignment11
src/timing.h
<filename>src/timing.h // // timing.h // // Tests the speed of bst.contains() vs std::find() // You should NOT modify this file. // // IMPORTANT NOTE: For this particular assignment you may not add // any additional utility functions. // // Copyright 2019 <NAME> // // Permission is hereby granted, free of char...
okoshi42/assignment11
src/bst.h
<gh_stars>0 // // bst.h // // Defines a class for a binary search tree. // You SHOULD modify this file. // // IMPORTANT NOTE: For this particular assignment you may not add // any additional utility functions. // // Copyright 2019 <NAME> // // Permission is hereby granted, free of charge, to any person // obt...
mattgambill/MiscCppProjects
Array/Array/Header.h
#pragma once #ifndef HEADER_H #define HEADER_H #include<iostream> #include<vector> using namespace std; const int VECTOR_SIZE(20); class functions { public: //read list void read_list(vector<int>&, int& array_length); //print vector void print_array(vector<int>&, int array_length); //find_max...
mattgambill/MiscCppProjects
EmpFormula/EmpFormula/Header.h
#pragma once #ifndef HEADER_H #define HEADER_H #include <iostream> #include <vector> #include <string> #include <fstream> using namespace std; //function prototypes class ReadData { public: void data(const int, vector<double>&); private: const int NUM_ELEM = 93; string userElement; bool foundEl...
mattgambill/MiscCppProjects
Project3/Project3/exit.h
//#ifndef EXIT_H //#define EXIT_H //void exit(char & userChar); // //#endif
mattgambill/MiscCppProjects
Project3/Project3/header.h
<reponame>mattgambill/MiscCppProjects #ifndef HEADER_H #define HEADER_H void rootTable(); void exit(char & userChar); #endif
mattgambill/MiscCppProjects
vector_2D/Project5/Header.h
<reponame>mattgambill/MiscCppProjects<filename>vector_2D/Project5/Header.h #pragma once #ifndef HEADER_H #define HEADER_H using namespace std; // function prototypes // ENTER FUNCTION PROTOTYPE FOR read_vector HERE. void read_vector(const string &a, double &u1, double &v1); // ENTER FUNCTION PROTOTYPE FOR vect...
mattgambill/MiscCppProjects
hw6/hw6/Header.h
<gh_stars>0 #pragma once #ifndef HEADER_H #define HEADER_H #include <iostream> #include <iomanip> #include <string> #include <vector> using namespace std; //function protypes/class definition class Point { private: double px; double py; public: void setX(const double x); void setY(const double y...
mattgambill/MiscCppProjects
freq/freq/Header.h
#pragma once #ifndef HEADER_H #define HEADER_H #include <iostream> #include <iomanip> #include <string> #include <vector> using namespace std; //function protypes/calss definition class numVowels { public: void init_vectors(vector<char> & vowels, vector<int> & frequencies); string read_text(const string...
mattgambill/MiscCppProjects
Project4/Project4/Header.h
<filename>Project4/Project4/Header.h #ifndef HEADER_H #define HEADER_H void magi(); #endif
timpalpant/mprofile
src/spinlock.h
<reponame>timpalpant/mprofile // Copyright 2019 <NAME> #ifndef MPROFILE_SRC_SPINLOCK_H_ #define MPROFILE_SRC_SPINLOCK_H_ #include <atomic> // SpinLock is a simple adapter to use an std::atomic<bool> // with a std::lock_guard. // // Adapted from: https://rigtorp.se/spinlock/ class SpinLock { public: SpinLock() {} ...