diff --git a/Crawler/Ability.cpp b/Crawler/Ability.cpp index e5847e94..ba4a85a5 100644 --- a/Crawler/Ability.cpp +++ b/Crawler/Ability.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Ability.h" #include "Crawler.h" diff --git a/Crawler/Ability.h b/Crawler/Ability.h index 40af66a7..d8e7e831 100644 --- a/Crawler/Ability.h +++ b/Crawler/Ability.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "olcPixelGameEngine.h" #include "Key.h" diff --git a/Crawler/Animation.cpp b/Crawler/Animation.cpp index 8159e230..9a71f925 100644 --- a/Crawler/Animation.cpp +++ b/Crawler/Animation.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Animation.h" #include "Crawler.h" #include "DEFINES.h" diff --git a/Crawler/Animation.h b/Crawler/Animation.h index f7bc3779..a56dff6a 100644 --- a/Crawler/Animation.h +++ b/Crawler/Animation.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "olcUTIL_Animate2D.h" diff --git a/Crawler/Arrow.cpp b/Crawler/Arrow.cpp index 63d09dee..ce75b6da 100644 --- a/Crawler/Arrow.cpp +++ b/Crawler/Arrow.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "BulletTypes.h" #include "Effect.h" #include "Crawler.h" diff --git a/Crawler/Attributable.h b/Crawler/Attributable.h index 11e12fcb..47703807 100644 --- a/Crawler/Attributable.h +++ b/Crawler/Attributable.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "olcPixelGameEngine.h" #include "MonsterAttribute.h" diff --git a/Crawler/Buff.h b/Crawler/Buff.h index 3b3b1f98..d2907da9 100644 --- a/Crawler/Buff.h +++ b/Crawler/Buff.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once enum BuffType{ ATTACK_UP, diff --git a/Crawler/Bullet.cpp b/Crawler/Bullet.cpp index c8ca9337..92b07d2d 100644 --- a/Crawler/Bullet.cpp +++ b/Crawler/Bullet.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Bullet.h" #include "Crawler.h" #include "DEFINES.h" diff --git a/Crawler/Bullet.h b/Crawler/Bullet.h index f0d5e233..96b87719 100644 --- a/Crawler/Bullet.h +++ b/Crawler/Bullet.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "olcPixelGameEngine.h" #include "Animation.h" diff --git a/Crawler/BulletTypes.h b/Crawler/BulletTypes.h index 68527e52..39dbfeff 100644 --- a/Crawler/BulletTypes.h +++ b/Crawler/BulletTypes.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "Bullet.h" #include "olcPixelGameEngine.h" diff --git a/Crawler/CharacterAbilityPreviewComponent.h b/Crawler/CharacterAbilityPreviewComponent.h index 79227c06..68432c33 100644 --- a/Crawler/CharacterAbilityPreviewComponent.h +++ b/Crawler/CharacterAbilityPreviewComponent.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "MenuLabel.h" #include "DEFINES.h" diff --git a/Crawler/CharacterInfoWindow.cpp b/Crawler/CharacterInfoWindow.cpp index 0a1c9bd5..90215251 100644 --- a/Crawler/CharacterInfoWindow.cpp +++ b/Crawler/CharacterInfoWindow.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "Crawler.h" #include "DEFINES.h" diff --git a/Crawler/CharacterRotatingDisplay.h b/Crawler/CharacterRotatingDisplay.h index ad8cf9ed..83648380 100644 --- a/Crawler/CharacterRotatingDisplay.h +++ b/Crawler/CharacterRotatingDisplay.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "MenuComponent.h" #include "DEFINES.h" diff --git a/Crawler/ChargedArrow.cpp b/Crawler/ChargedArrow.cpp index 1b3fe463..1d469fe3 100644 --- a/Crawler/ChargedArrow.cpp +++ b/Crawler/ChargedArrow.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "BulletTypes.h" #include "Effect.h" #include "Crawler.h" diff --git a/Crawler/Class.h b/Crawler/Class.h index dd36b81f..24ab3744 100644 --- a/Crawler/Class.h +++ b/Crawler/Class.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "Ability.h" #include "Animation.h" diff --git a/Crawler/ClassInfo.h b/Crawler/ClassInfo.h index cfc58984..e65433d1 100644 --- a/Crawler/ClassInfo.h +++ b/Crawler/ClassInfo.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include #include "Player.h" diff --git a/Crawler/ClassSelectionWindow.cpp b/Crawler/ClassSelectionWindow.cpp index 74934344..215d35c0 100644 --- a/Crawler/ClassSelectionWindow.cpp +++ b/Crawler/ClassSelectionWindow.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "Crawler.h" #include "DEFINES.h" diff --git a/Crawler/ConnectionPoint.cpp b/Crawler/ConnectionPoint.cpp index 0a7ecfe0..7054a505 100644 --- a/Crawler/ConnectionPoint.cpp +++ b/Crawler/ConnectionPoint.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "State_OverworldMap.h" bool ConnectionPoint::IsNeighbor(ConnectionPoint&testPoint){ diff --git a/Crawler/ConnectionPoint.h b/Crawler/ConnectionPoint.h index d6ab2cad..1e76d918 100644 --- a/Crawler/ConnectionPoint.h +++ b/Crawler/ConnectionPoint.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "olcUTIL_Geometry2D.h" diff --git a/Crawler/Crawler.cpp b/Crawler/Crawler.cpp index af4eb3a9..49394a46 100644 --- a/Crawler/Crawler.cpp +++ b/Crawler/Crawler.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "olcPGEX_TransformedView.h" #include "Crawler.h" #include "olcUTIL_Camera2D.h" diff --git a/Crawler/Crawler.h b/Crawler/Crawler.h index f14e9dd6..396d84e7 100644 --- a/Crawler/Crawler.h +++ b/Crawler/Crawler.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "olcPixelGameEngine.h" #include "Animation.h" diff --git a/Crawler/DEFINES.h b/Crawler/DEFINES.h index 67f0b12d..29bf1c73 100644 --- a/Crawler/DEFINES.h +++ b/Crawler/DEFINES.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #define INCLUDE_ANIMATION_DATA extern safemapANIMATION_DATA; #define INCLUDE_MONSTER_LIST extern std::vectorMONSTER_LIST; diff --git a/Crawler/DamageNumber.cpp b/Crawler/DamageNumber.cpp index 0dcbbeaa..55626017 100644 --- a/Crawler/DamageNumber.cpp +++ b/Crawler/DamageNumber.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "DamageNumber.h" const float DamageNumber::MOVE_UP_TIME=0.4; diff --git a/Crawler/DamageNumber.h b/Crawler/DamageNumber.h index 973a9da3..7a0ba5b4 100644 --- a/Crawler/DamageNumber.h +++ b/Crawler/DamageNumber.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "olcPixelGameEngine.h" diff --git a/Crawler/Effect.cpp b/Crawler/Effect.cpp index 23763346..71123293 100644 --- a/Crawler/Effect.cpp +++ b/Crawler/Effect.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "DEFINES.h" #include "Effect.h" #include "Crawler.h" diff --git a/Crawler/Effect.h b/Crawler/Effect.h index 7b71439d..3ffe007b 100644 --- a/Crawler/Effect.h +++ b/Crawler/Effect.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "olcPixelGameEngine.h" #include "Animation.h" diff --git a/Crawler/Emitter.cpp b/Crawler/Emitter.cpp index 3bc37577..81868a88 100644 --- a/Crawler/Emitter.cpp +++ b/Crawler/Emitter.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Emitter.h" std::vector>EMITTER_LIST; diff --git a/Crawler/Emitter.h b/Crawler/Emitter.h index 89945a50..18ec8b56 100644 --- a/Crawler/Emitter.h +++ b/Crawler/Emitter.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "olcPixelGameEngine.h" diff --git a/Crawler/EncountersSpawnListScrollableWindowComponent.h b/Crawler/EncountersSpawnListScrollableWindowComponent.h index 7aaedd33..dcd4738a 100644 --- a/Crawler/EncountersSpawnListScrollableWindowComponent.h +++ b/Crawler/EncountersSpawnListScrollableWindowComponent.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "State_OverworldMap.h" #include "Menu.h" diff --git a/Crawler/EnergyBolt.cpp b/Crawler/EnergyBolt.cpp index 29e6aeb0..6731ee80 100644 --- a/Crawler/EnergyBolt.cpp +++ b/Crawler/EnergyBolt.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "BulletTypes.h" #include "Effect.h" #include "Crawler.h" diff --git a/Crawler/Error.h b/Crawler/Error.h index 6a613d98..f46563fd 100644 --- a/Crawler/Error.h +++ b/Crawler/Error.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include #include diff --git a/Crawler/FallingDebris.h b/Crawler/FallingDebris.h index 33f23836..50d3ea16 100644 --- a/Crawler/FallingDebris.h +++ b/Crawler/FallingDebris.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Effect.h" #include "DEFINES.h" #include "safemap.h" diff --git a/Crawler/FireBolt.cpp b/Crawler/FireBolt.cpp index 154baf97..7428be4f 100644 --- a/Crawler/FireBolt.cpp +++ b/Crawler/FireBolt.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "BulletTypes.h" #include "Effect.h" #include "Crawler.h" diff --git a/Crawler/GameState.cpp b/Crawler/GameState.cpp index dc495523..9b602738 100644 --- a/Crawler/GameState.cpp +++ b/Crawler/GameState.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Crawler.h" #include "GameState.h" #include "State_GameRun.h" diff --git a/Crawler/InventoryConsumableWindow.cpp b/Crawler/InventoryConsumableWindow.cpp index 5083a378..db2416e6 100644 --- a/Crawler/InventoryConsumableWindow.cpp +++ b/Crawler/InventoryConsumableWindow.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "Crawler.h" #include "olcPixelGameEngine.h" diff --git a/Crawler/InventoryScrollableWindowComponent.h b/Crawler/InventoryScrollableWindowComponent.h index 2517ae8c..9c77ba5d 100644 --- a/Crawler/InventoryScrollableWindowComponent.h +++ b/Crawler/InventoryScrollableWindowComponent.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "Menu.h" #include "MenuComponent.h" diff --git a/Crawler/Item.cpp b/Crawler/Item.cpp index 4ac14128..b033d453 100644 --- a/Crawler/Item.cpp +++ b/Crawler/Item.cpp @@ -147,11 +147,11 @@ Item::Item() Item::Item(uint32_t amt,IT item) :amt(amt),it(&ITEM_DATA.at(item)){} -void Inventory::AddItem(IT it,uint32_t amt){ +void Inventory::AddItem(IT it,uint32_t amt,bool monsterDrop){ //There are two places to manipulate items in (Both the sorted inventory and the actual inventory) if(!_inventory.count(it)){ _inventory[it]=Item{amt,it}; - InsertIntoSortedInv(it); + InsertIntoSortedInv(it,monsterDrop); }else{ _inventory.at(it).amt+=amt; } @@ -209,10 +209,16 @@ std::vector&Inventory::get(ITCategory itemCategory){ return sortedInv.at(itemCategory); } -void Inventory::InsertIntoSortedInv(IT item){ +void Inventory::InsertIntoSortedInv(IT item,bool monsterDrop){ sortedInv.at(ITEM_DATA[item].category).push_back(item); + std::string stageInventoryCategory="Stage Loot"; + if(monsterDrop){ + stageInventoryCategory="Monster Loot"; + } + sortedInv.at(stageInventoryCategory).push_back(item); //This should be a callback to menus that we need to update the interface with another item slot since a new one has appeared. Menu::InventorySlotsUpdated(ITEM_DATA[item].category); + Menu::InventorySlotsUpdated(stageInventoryCategory); } bool Inventory::ExecuteAction(IT item){ diff --git a/Crawler/Item.h b/Crawler/Item.h index 0dec12d0..563cd8f2 100644 --- a/Crawler/Item.h +++ b/Crawler/Item.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,8 +30,8 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once - #include #include #include @@ -68,7 +69,7 @@ public: class Inventory{ friend class ItemInfo; public: - static void AddItem(IT it,uint32_t amt=1); + static void AddItem(IT it,uint32_t amt=1,bool monsterDrop=false); static uint32_t GetItemCount(IT it); static Item GetItem(IT it); //Auto-executes its use function and removes the amt specified from the inventory. Multiple amounts will cause the item to execute its useFunc multiple times. @@ -84,7 +85,7 @@ public: return true; } private: - static void InsertIntoSortedInv(IT item); + static void InsertIntoSortedInv(IT item,bool monsterDrop=false); static bool ExecuteAction(IT item); static std::map_inventory; static std::map>sortedInv; diff --git a/Crawler/ItemLoadoutWindow.cpp b/Crawler/ItemLoadoutWindow.cpp index 917e9e47..fe5bcca3 100644 --- a/Crawler/ItemLoadoutWindow.cpp +++ b/Crawler/ItemLoadoutWindow.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "Crawler.h" #include "DEFINES.h" diff --git a/Crawler/Key.cpp b/Crawler/Key.cpp index 5f1aaa31..1e0fed0b 100644 --- a/Crawler/Key.cpp +++ b/Crawler/Key.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Key.h" #include "DEFINES.h" #include "Crawler.h" diff --git a/Crawler/Key.h b/Crawler/Key.h index 95a750f0..036ee210 100644 --- a/Crawler/Key.h +++ b/Crawler/Key.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "olcPixelGameEngine.h" #include diff --git a/Crawler/LevelCompleteWindow.cpp b/Crawler/LevelCompleteWindow.cpp index 9ac4758c..6487e617 100644 --- a/Crawler/LevelCompleteWindow.cpp +++ b/Crawler/LevelCompleteWindow.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Menu.h" #include "Crawler.h" #include "MenuLabel.h" diff --git a/Crawler/LightningBolt.cpp b/Crawler/LightningBolt.cpp index 7b21949a..f545b717 100644 --- a/Crawler/LightningBolt.cpp +++ b/Crawler/LightningBolt.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "BulletTypes.h" #include "Effect.h" #include "Crawler.h" diff --git a/Crawler/LightningBoltEmitter.cpp b/Crawler/LightningBoltEmitter.cpp index 4b2ccb79..153da89f 100644 --- a/Crawler/LightningBoltEmitter.cpp +++ b/Crawler/LightningBoltEmitter.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Emitter.h" #include "olcUTIL_Geometry2D.h" #include "util.h" diff --git a/Crawler/MainMenuWindow.cpp b/Crawler/MainMenuWindow.cpp index 6d4024e1..e902e037 100644 --- a/Crawler/MainMenuWindow.cpp +++ b/Crawler/MainMenuWindow.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "Crawler.h" #include "DEFINES.h" diff --git a/Crawler/Map.cpp b/Crawler/Map.cpp index fdcd8be0..1b6ce96b 100644 --- a/Crawler/Map.cpp +++ b/Crawler/Map.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Map.h" #include "Crawler.h" #include "safemap.h" diff --git a/Crawler/Map.h b/Crawler/Map.h index cf64adf5..173c1bbc 100644 --- a/Crawler/Map.h +++ b/Crawler/Map.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "olcUTIL_Geometry2D.h" #include diff --git a/Crawler/Menu.h b/Crawler/Menu.h index 9b0455b0..a9ca3b0d 100644 --- a/Crawler/Menu.h +++ b/Crawler/Menu.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "Item.h" #include diff --git a/Crawler/MenuAnimatedIconButton.h b/Crawler/MenuAnimatedIconButton.h index c1a2bfa6..4ee214ee 100644 --- a/Crawler/MenuAnimatedIconButton.h +++ b/Crawler/MenuAnimatedIconButton.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "MenuIconButton.h" #include "DEFINES.h" diff --git a/Crawler/MenuAnimatedIconToggleButton.h b/Crawler/MenuAnimatedIconToggleButton.h index 7c36765a..5eccbf8e 100644 --- a/Crawler/MenuAnimatedIconToggleButton.h +++ b/Crawler/MenuAnimatedIconToggleButton.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "MenuAnimatedIconButton.h" #include "DEFINES.h" diff --git a/Crawler/MenuComponent.cpp b/Crawler/MenuComponent.cpp index f0158e82..32ec69da 100644 --- a/Crawler/MenuComponent.cpp +++ b/Crawler/MenuComponent.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Crawler.h" #include "MenuComponent.h" diff --git a/Crawler/MenuComponent.h b/Crawler/MenuComponent.h index 99ad22a5..697444c9 100644 --- a/Crawler/MenuComponent.h +++ b/Crawler/MenuComponent.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "Menu.h" diff --git a/Crawler/MenuIconButton.h b/Crawler/MenuIconButton.h index 05f29b85..4a79f8b7 100644 --- a/Crawler/MenuIconButton.h +++ b/Crawler/MenuIconButton.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "MenuComponent.h" #include "DEFINES.h" diff --git a/Crawler/MenuItemItemButton.h b/Crawler/MenuItemItemButton.h index 6b7775c1..4bc0e746 100644 --- a/Crawler/MenuItemItemButton.h +++ b/Crawler/MenuItemItemButton.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "Menu.h" #include "MenuLabel.h" diff --git a/Crawler/MenuLabel.h b/Crawler/MenuLabel.h index 93929146..07a15f28 100644 --- a/Crawler/MenuLabel.h +++ b/Crawler/MenuLabel.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "MenuComponent.h" #include "DEFINES.h" diff --git a/Crawler/Meteor.cpp b/Crawler/Meteor.cpp index cd8fab74..4f544a0b 100644 --- a/Crawler/Meteor.cpp +++ b/Crawler/Meteor.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Effect.h" #include "DEFINES.h" #include "Crawler.h" diff --git a/Crawler/Monster.cpp b/Crawler/Monster.cpp index fb76440f..215e6f1f 100644 --- a/Crawler/Monster.cpp +++ b/Crawler/Monster.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Monster.h" #include "DamageNumber.h" #include "Crawler.h" diff --git a/Crawler/Monster.h b/Crawler/Monster.h index 7e7f3ef7..fc65faee 100644 --- a/Crawler/Monster.h +++ b/Crawler/Monster.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "olcPixelGameEngine.h" #include "Animation.h" diff --git a/Crawler/MonsterAttribute.h b/Crawler/MonsterAttribute.h index d00225c0..6194ee39 100644 --- a/Crawler/MonsterAttribute.h +++ b/Crawler/MonsterAttribute.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include #define F(attr) GetFloat(attr) diff --git a/Crawler/MonsterData.cpp b/Crawler/MonsterData.cpp index 60027be2..f37b372e 100644 --- a/Crawler/MonsterData.cpp +++ b/Crawler/MonsterData.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "olcPixelGameEngine.h" #include "Monster.h" #include "Animation.h" diff --git a/Crawler/MonsterStrategyHelpers.h b/Crawler/MonsterStrategyHelpers.h index df3762bc..f93d0397 100644 --- a/Crawler/MonsterStrategyHelpers.h +++ b/Crawler/MonsterStrategyHelpers.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #define ConfigInt(param) _GetInt(m,param,strategyNumber) #define ConfigFloat(param) _GetFloat(m,param,strategyNumber) diff --git a/Crawler/OverworldMapLevelWindow.cpp b/Crawler/OverworldMapLevelWindow.cpp index bc11f95e..3588fdc6 100644 --- a/Crawler/OverworldMapLevelWindow.cpp +++ b/Crawler/OverworldMapLevelWindow.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "Crawler.h" #include "DEFINES.h" diff --git a/Crawler/Pathfinding.cpp b/Crawler/Pathfinding.cpp index 1c01f64e..d6633649 100644 --- a/Crawler/Pathfinding.cpp +++ b/Crawler/Pathfinding.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Pathfinding.h" #include "DEFINES.h" #include "Crawler.h" diff --git a/Crawler/Pathfinding.h b/Crawler/Pathfinding.h index 24806baf..8491c77f 100644 --- a/Crawler/Pathfinding.h +++ b/Crawler/Pathfinding.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "olcPixelGameEngine.h" diff --git a/Crawler/Player.cpp b/Crawler/Player.cpp index 868c82b8..5a3a1e12 100644 --- a/Crawler/Player.cpp +++ b/Crawler/Player.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Monster.h" #include "Player.h" #include "Crawler.h" diff --git a/Crawler/Player.h b/Crawler/Player.h index c85850e7..91a4461e 100644 --- a/Crawler/Player.h +++ b/Crawler/Player.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "olcUTIL_Animate2D.h" #include "Animation.h" diff --git a/Crawler/PulsatingFire.cpp b/Crawler/PulsatingFire.cpp index 4a8d6925..8fa8f247 100644 --- a/Crawler/PulsatingFire.cpp +++ b/Crawler/PulsatingFire.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Effect.h" #include "DEFINES.h" #include "Crawler.h" diff --git a/Crawler/RUN_STRATEGY.cpp b/Crawler/RUN_STRATEGY.cpp index 53181aac..62e20d80 100644 --- a/Crawler/RUN_STRATEGY.cpp +++ b/Crawler/RUN_STRATEGY.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Monster.h" #include "DEFINES.h" #include "olcUTIL_DataFile.h" diff --git a/Crawler/Ranger.cpp b/Crawler/Ranger.cpp index ae371287..147ce771 100644 --- a/Crawler/Ranger.cpp +++ b/Crawler/Ranger.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Class.h" #include "olcPixelGameEngine.h" #include "DEFINES.h" diff --git a/Crawler/RunAway.cpp b/Crawler/RunAway.cpp index f8e2cb9a..6ed416f8 100644 --- a/Crawler/RunAway.cpp +++ b/Crawler/RunAway.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Monster.h" #include "DEFINES.h" #include "Crawler.h" diff --git a/Crawler/RunTowards.cpp b/Crawler/RunTowards.cpp index 59891c19..59a5dd94 100644 --- a/Crawler/RunTowards.cpp +++ b/Crawler/RunTowards.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Monster.h" #include "DEFINES.h" #include "Crawler.h" diff --git a/Crawler/ScrollableWindowComponent.h b/Crawler/ScrollableWindowComponent.h index a634accc..e2b2e91c 100644 --- a/Crawler/ScrollableWindowComponent.h +++ b/Crawler/ScrollableWindowComponent.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "Menu.h" #include "MenuComponent.h" diff --git a/Crawler/ShootAfar.cpp b/Crawler/ShootAfar.cpp index ba307bf7..d30a9c98 100644 --- a/Crawler/ShootAfar.cpp +++ b/Crawler/ShootAfar.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Monster.h" #include "DEFINES.h" #include "Crawler.h" diff --git a/Crawler/SlimeKing.cpp b/Crawler/SlimeKing.cpp index 489cd307..ee4d5f29 100644 --- a/Crawler/SlimeKing.cpp +++ b/Crawler/SlimeKing.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Monster.h" #include "MonsterStrategyHelpers.h" #include "DEFINES.h" diff --git a/Crawler/SpawnEncounterLabel.h b/Crawler/SpawnEncounterLabel.h index 4bfaf1a2..d8127b58 100644 --- a/Crawler/SpawnEncounterLabel.h +++ b/Crawler/SpawnEncounterLabel.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "MenuLabel.h" #include "DEFINES.h" diff --git a/Crawler/State.h b/Crawler/State.h index 90f7261d..9c472dfe 100644 --- a/Crawler/State.h +++ b/Crawler/State.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once namespace State{ diff --git a/Crawler/State_GameRun.cpp b/Crawler/State_GameRun.cpp index 967fb360..b9394967 100644 --- a/Crawler/State_GameRun.cpp +++ b/Crawler/State_GameRun.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "State_GameRun.h" #include "Crawler.h" #include "DEFINES.h" diff --git a/Crawler/State_GameRun.h b/Crawler/State_GameRun.h index ed949b30..b58e32a2 100644 --- a/Crawler/State_GameRun.h +++ b/Crawler/State_GameRun.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "GameState.h" diff --git a/Crawler/State_LevelComplete.cpp b/Crawler/State_LevelComplete.cpp index 1359ece0..6f31f5f6 100644 --- a/Crawler/State_LevelComplete.cpp +++ b/Crawler/State_LevelComplete.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "State_LevelComplete.h" #include "Crawler.h" #include "DEFINES.h" diff --git a/Crawler/State_LevelComplete.h b/Crawler/State_LevelComplete.h index b491af56..bb35471d 100644 --- a/Crawler/State_LevelComplete.h +++ b/Crawler/State_LevelComplete.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,37 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* -License (OLC-3) -~~~~~~~~~~~~~~~ - -Copyright 2018 - 2023 OneLoneCoder.com - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -1. Redistributions or derivations of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - -2. Redistributions or derivative works in binary form must reproduce the above -copyright notice. This list of conditions and the following disclaimer must be -reproduced in the documentation and/or other materials provided with the distribution. - -3. Neither the name of the copyright holder nor the names of its contributors may -be used to endorse or promote products derived from this software without specific -prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT -SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -SUCH DAMAGE. -*/ +#pragma endregion #pragma once #include "GameState.h" diff --git a/Crawler/State_MainMenu.cpp b/Crawler/State_MainMenu.cpp index 43c45f4f..0937dcef 100644 --- a/Crawler/State_MainMenu.cpp +++ b/Crawler/State_MainMenu.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "State_MainMenu.h" #include "Crawler.h" #include "Menu.h" diff --git a/Crawler/State_MainMenu.h b/Crawler/State_MainMenu.h index 67f627f0..dc014ffa 100644 --- a/Crawler/State_MainMenu.h +++ b/Crawler/State_MainMenu.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "GameState.h" class State_MainMenu:public GameState{ diff --git a/Crawler/State_OverworldMap.cpp b/Crawler/State_OverworldMap.cpp index a5f9c9a2..0f5bfc9b 100644 --- a/Crawler/State_OverworldMap.cpp +++ b/Crawler/State_OverworldMap.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "State_OverworldMap.h" #include "Crawler.h" diff --git a/Crawler/State_OverworldMap.h b/Crawler/State_OverworldMap.h index 5d210f50..90905dcc 100644 --- a/Crawler/State_OverworldMap.h +++ b/Crawler/State_OverworldMap.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "GameState.h" #include "ConnectionPoint.h" diff --git a/Crawler/TMXParser.h b/Crawler/TMXParser.h index 3f5012d4..88fd3678 100644 --- a/Crawler/TMXParser.h +++ b/Crawler/TMXParser.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "olcPixelGameEngine.h" #include "olcUTIL_Geometry2D.h" diff --git a/Crawler/TSXParser.h b/Crawler/TSXParser.h index 46676537..2700078a 100644 --- a/Crawler/TSXParser.h +++ b/Crawler/TSXParser.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "olcPixelGameEngine.h" #include diff --git a/Crawler/Test.cpp b/Crawler/Test.cpp index 574f71c2..9a84a567 100644 --- a/Crawler/Test.cpp +++ b/Crawler/Test.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Test.h" #include "Error.h" #include "Crawler.h" diff --git a/Crawler/Test.h b/Crawler/Test.h index 37d233d1..04f6b280 100644 --- a/Crawler/Test.h +++ b/Crawler/Test.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include class Test{ diff --git a/Crawler/TestMenu.cpp b/Crawler/TestMenu.cpp index c6886d1a..0bc83f4c 100644 --- a/Crawler/TestMenu.cpp +++ b/Crawler/TestMenu.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Crawler.h" #include "MenuComponent.h" diff --git a/Crawler/TestSubMenu.cpp b/Crawler/TestSubMenu.cpp index 607aa7df..a6272177 100644 --- a/Crawler/TestSubMenu.cpp +++ b/Crawler/TestSubMenu.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Crawler.h" #include "DEFINES.h" #include "olcPixelGameEngine.h" diff --git a/Crawler/Theme.h b/Crawler/Theme.h index 4814bd70..124a6cc7 100644 --- a/Crawler/Theme.h +++ b/Crawler/Theme.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "olcPixelGameEngine.h" diff --git a/Crawler/Thief.cpp b/Crawler/Thief.cpp index b5ac1b70..549505b7 100644 --- a/Crawler/Thief.cpp +++ b/Crawler/Thief.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Class.h" #include "olcPixelGameEngine.h" #include "DEFINES.h" diff --git a/Crawler/Toggleable.h b/Crawler/Toggleable.h index 65b614c6..b7c0586f 100644 --- a/Crawler/Toggleable.h +++ b/Crawler/Toggleable.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once class IToggleable{ diff --git a/Crawler/Trapper.cpp b/Crawler/Trapper.cpp index dcd34119..6c223e40 100644 --- a/Crawler/Trapper.cpp +++ b/Crawler/Trapper.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Class.h" #include "olcPixelGameEngine.h" #include "DEFINES.h" diff --git a/Crawler/Turret.cpp b/Crawler/Turret.cpp index f31b2fcb..7cb2aa3f 100644 --- a/Crawler/Turret.cpp +++ b/Crawler/Turret.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Monster.h" #include "MonsterStrategyHelpers.h" #include "DEFINES.h" diff --git a/Crawler/Unlock.cpp b/Crawler/Unlock.cpp index ada69eb0..3ec63ec8 100644 --- a/Crawler/Unlock.cpp +++ b/Crawler/Unlock.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Unlock.h" std::setUnlock::unlocks; diff --git a/Crawler/Unlock.h b/Crawler/Unlock.h index 3edf690e..5b3593db 100644 --- a/Crawler/Unlock.h +++ b/Crawler/Unlock.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include #include diff --git a/Crawler/Version.h b/Crawler/Version.h index 5f26205a..87a2d3ff 100644 --- a/Crawler/Version.h +++ b/Crawler/Version.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #define VERSION_MAJOR 0 #define VERSION_MINOR 2 diff --git a/Crawler/Warrior.cpp b/Crawler/Warrior.cpp index ff9158f8..9ad189eb 100644 --- a/Crawler/Warrior.cpp +++ b/Crawler/Warrior.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Class.h" #include "olcPixelGameEngine.h" #include "DEFINES.h" diff --git a/Crawler/Witch.cpp b/Crawler/Witch.cpp index c12476f1..300902d1 100644 --- a/Crawler/Witch.cpp +++ b/Crawler/Witch.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Class.h" #include "olcPixelGameEngine.h" #include "DEFINES.h" diff --git a/Crawler/Wizard.cpp b/Crawler/Wizard.cpp index 46073871..9b278198 100644 --- a/Crawler/Wizard.cpp +++ b/Crawler/Wizard.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "Class.h" #include "olcPixelGameEngine.h" #include "DEFINES.h" diff --git a/Crawler/config.h b/Crawler/config.h index 66f008b6..278e7891 100644 --- a/Crawler/config.h +++ b/Crawler/config.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "olcUTIL_DataFile.h" diff --git a/Crawler/drawutil.cpp b/Crawler/drawutil.cpp index c4605a98..ed6039b4 100644 --- a/Crawler/drawutil.cpp +++ b/Crawler/drawutil.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "drawutil.h" #include "Crawler.h" #include "DEFINES.h" diff --git a/Crawler/drawutil.h b/Crawler/drawutil.h index 2819084a..0760543b 100644 --- a/Crawler/drawutil.h +++ b/Crawler/drawutil.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "olcUTIL_Geometry2D.h" #include "olcPGEX_TransformedView.h" diff --git a/Crawler/pixelGameEngine.cpp b/Crawler/pixelGameEngine.cpp index 97eff56f..20d1dbe7 100644 --- a/Crawler/pixelGameEngine.cpp +++ b/Crawler/pixelGameEngine.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #define _CRTDBG_MAP_ALLOC //#define OLC_PGE_HEADLESS #define OLC_PGE_APPLICATION diff --git a/Crawler/resource.h b/Crawler/resource.h index 347948bf..c55ede4e 100644 --- a/Crawler/resource.h +++ b/Crawler/resource.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion //{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by Crawler.rc diff --git a/Crawler/resource1.h b/Crawler/resource1.h index da48dc4a..952a33d5 100644 --- a/Crawler/resource1.h +++ b/Crawler/resource1.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion //{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by Crawler1.rc diff --git a/Crawler/safemap.h b/Crawler/safemap.h index ebf002f3..25f0bf6c 100644 --- a/Crawler/safemap.h +++ b/Crawler/safemap.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include "Error.h" diff --git a/Crawler/util.cpp b/Crawler/util.cpp index 33cb90e7..c1d87c8b 100644 --- a/Crawler/util.cpp +++ b/Crawler/util.cpp @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #include "util.h" #include "olcPixelGameEngine.h" diff --git a/Crawler/util.h b/Crawler/util.h index 31f0b0a7..46bb90e1 100644 --- a/Crawler/util.h +++ b/Crawler/util.h @@ -1,3 +1,4 @@ +#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ @@ -29,6 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#pragma endregion #pragma once #include #include "olcUTIL_Geometry2D.h"