@ -36,8 +36,8 @@ All rights reserved.
*/
#pragma endregion
#pragma once
#include "olcPixelGameEngine.h"
#include "Key.h"
class Player;
@ -35,9 +35,9 @@ Project (www.freetype.org). Please see LICENSE_FT.txt for more information.
All rights reserved.
#include "olcUTIL_Camera2D.h"
#include "olcPGEX_TransformedView.h"
#include "AdventuresInLestoria.h"
#include "DamageNumber.h"
#include "Bullet.h"
#include "Ability.h"
@ -1461,7 +1461,7 @@ void AiL::RenderCooldowns(){
for(Ability&a:cooldowns){
if(a.name!="???"){
DrawCooldown(iconPos,a);
iconPos+={32,0};
iconPos+=vf2d{32,0};
}
@ -36,13 +36,12 @@ All rights reserved.
#include "Animation.h"
#include "olcUTIL_Animate2D.h"
#include "Monster.h"
#include "Player.h"
#include "Effect.h"
#include "Map.h"
@ -55,6 +54,7 @@ All rights reserved.
#endif
#include "Audio.h"
#include "olcPGEX_SplashScreen.h"
class AiL : public olc::PixelGameEngine
{
@ -36,7 +36,6 @@ All rights reserved.
#include "MonsterAttribute.h"
#include "DEFINES.h"
#include <variant>
@ -36,9 +36,9 @@ All rights reserved.
#include "safemap.h"
#include <optional>
using namespace std::string_view_literals;
@ -37,7 +37,6 @@ All rights reserved.
struct EnergyBolt:public Bullet{
float lastParticleSpawn=0;
@ -38,7 +38,6 @@ All rights reserved.
#undef GetClassInfo
@ -37,6 +37,7 @@ All rights reserved.
#include "olcUTIL_Geometry2D.h"
#include <array>
struct ConnectionPoint{
friend class State_OverworldMap;
@ -36,7 +36,7 @@ All rights reserved.
enum DamageNumberType{
HEALTH_LOSS,
@ -36,9 +36,7 @@ All rights reserved.
struct Effect{
friend class AiL;
@ -36,6 +36,7 @@ All rights reserved.
#include "Emitter.h"
#include <memory>
std::vector<std::unique_ptr<Emitter>>EMITTER_LIST;
struct Emitter{
@ -36,7 +36,8 @@ All rights reserved.
#include <map>
using EnvironmentalAudioSoundName=std::string;
using FileName=std::string;
#include "Item.h"
#include "MenuItemButton.h"
@ -39,7 +39,6 @@ All rights reserved.
#include <string>
#include <functional>
#include "olcUTIL_DataFile.h"
#include "AttributableStat.h"
#include "BitwiseEnum.h"
@ -35,7 +35,6 @@ Project (www.freetype.org). Please see LICENSE_FT.txt for more information.
#include "util.h"
@ -36,8 +36,9 @@ All rights reserved.
#include <set>
//Future-proof game controller support.
enum InputType{
@ -81,7 +81,7 @@ INCLUDE_WINDOW_SIZE
using A=Attribute;
Menu::Menu(vf2d pos,vf2d size)
:pos(pos==CENTERED?WINDOW_SIZE/2-size/2:vi2d{pos}),size(size){
:pos(pos==CENTERED?vi2d{WINDOW_SIZE/2-size/2}:vi2d{pos}),size(size){
this->window=ViewPort::rectViewPort({-24,-24},this->size+vi2d{48,48},this->pos);
#include "FunctionPriming.h"
class Item;
#include "State.h"
#include "Buff.h"
#include "config.h"
@ -36,8 +36,10 @@ All rights reserved.
#include <vector>
struct Pathfinding{
struct sNode
#include "Class.h"
#include <sstream>
#include "EnvironmentalAudio.h"
@ -36,11 +36,9 @@ All rights reserved.
#include "TMXParser.h"
#include "Error.h"
class TitleScreen{
@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 0
#define VERSION_MINOR 2
#define VERSION_PATCH 1
#define VERSION_BUILD 5586
#define VERSION_BUILD 5618
#define stringify(a) stringify_(a)
#define stringify_(a) #a
using namespace olc;
@ -38,6 +38,7 @@ All rights reserved.
#ifndef OLC_PGEX_TTF_H
#define OLC_PGEX_TTF_H
#ifdef WIN32
@ -1,6 +1,5 @@
#include "olcPGEX_TTF.h"
@ -401,6 +401,7 @@ return 0;
#include <cstring>
#define PGE_VER 223
@ -669,7 +670,7 @@ namespace olc
};
#define OLC_IGNORE_VEC2D
// O------------------------------------------------------------------------------O
// | olc::vX2d - A generic 2D vector type |
@ -7547,4 +7548,4 @@ using namespace olc;
#define PI 3.14159f
using Color=PixelGameEngine;
using Color=olc::PixelGameEngine;
@ -54,8 +54,8 @@ David Barr, aka javidx9, <EFBFBD>OneLoneCoder 2019, 2020, 2021, 2022
namespace olc::utils::Animate2D
@ -51,10 +51,8 @@ Author
David Barr, aka javidx9, <EFBFBD>OneLoneCoder 2019, 2020, 2021, 2022
namespace olc::utils
@ -53,7 +53,7 @@ David Barr, aka javidx9, <EFBFBD>OneLoneCoder 2019, 2020, 2021, 2022
#include <iostream>
#include <unordered_map>
@ -63,7 +63,6 @@ David Barr, aka javidx9, <EFBFBD>OneLoneCoder 2019, 2020, 2021, 2022
#include <numeric>
using namespace std::literals;
@ -41,6 +41,7 @@ All rights reserved.
#define OLC_PGEX_VIEWPORT
#include "olcPGEX_ViewPort.h"
#define OLC_PGE_APPLICATION
#define OLC_PGEX_TRANSFORMEDVIEW
#include <stdlib.h>
#include <random>
namespace olc::util{