Update release build to version 6216.
This commit is contained in:
parent
7a445f34c6
commit
7c87766bc5
@ -1340,9 +1340,9 @@ void AiL::RenderWorld(float fElapsedTime){
|
|||||||
if(dn->lifeTime<=1){
|
if(dn->lifeTime<=1){
|
||||||
if(dn->lifeTime<DamageNumber::MOVE_UP_TIME){
|
if(dn->lifeTime<DamageNumber::MOVE_UP_TIME){
|
||||||
if(dn->invertedDirection){
|
if(dn->invertedDirection){
|
||||||
dn->pos.y+=40*fElapsedTime;
|
dn->pos.y+=dn->riseSpd*fElapsedTime;
|
||||||
}else{
|
}else{
|
||||||
dn->pos.y-=20*fElapsedTime;
|
dn->pos.y-=dn->riseSpd*fElapsedTime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -44,5 +44,6 @@ DamageNumber::DamageNumber()
|
|||||||
}
|
}
|
||||||
|
|
||||||
DamageNumber::DamageNumber(vf2d pos,int damage,bool friendly,DamageNumberType type):
|
DamageNumber::DamageNumber(vf2d pos,int damage,bool friendly,DamageNumberType type):
|
||||||
pos(pos),damage(damage),friendly(friendly),type(type),invertedDirection(type==INTERRUPT){
|
pos(pos),damage(damage),friendly(friendly),type(type),invertedDirection(type==INTERRUPT),riseSpd(20.f){
|
||||||
|
if(type==INTERRUPT||type==MANA_GAIN)riseSpd=40.f;
|
||||||
}
|
}
|
@ -51,6 +51,7 @@ struct DamageNumber{
|
|||||||
int damage;
|
int damage;
|
||||||
float lifeTime=0;
|
float lifeTime=0;
|
||||||
float pauseTime=0;
|
float pauseTime=0;
|
||||||
|
float riseSpd=0.f;
|
||||||
bool friendly=false;
|
bool friendly=false;
|
||||||
bool invertedDirection=false;
|
bool invertedDirection=false;
|
||||||
DamageNumberType type=HEALTH_LOSS;
|
DamageNumberType type=HEALTH_LOSS;
|
||||||
|
@ -64,7 +64,7 @@ std::function<void(InventoryScrollableWindowComponent&component,ITCategory cat)>
|
|||||||
std::function<void(InventoryScrollableWindowComponent&component,ITCategory cat)> InventoryCreator::Player_AddButtonOnSlotUpdate=
|
std::function<void(InventoryScrollableWindowComponent&component,ITCategory cat)> InventoryCreator::Player_AddButtonOnSlotUpdate=
|
||||||
[](InventoryScrollableWindowComponent&component,ITCategory cat){
|
[](InventoryScrollableWindowComponent&component,ITCategory cat){
|
||||||
size_t invSize=component.components.size()+1;
|
size_t invSize=component.components.size()+1;
|
||||||
int invWidth=int(component.rect.size.x/(float(component.options.size.x)+component.options.padding));
|
int invWidth=int((component.rect.size.x-12)/(float(component.options.size.x)+component.options.padding));
|
||||||
int x=int((invSize-1)%invWidth);
|
int x=int((invSize-1)%invWidth);
|
||||||
int y=int((invSize-1)/invWidth);
|
int y=int((invSize-1)/invWidth);
|
||||||
int itemIndex=y*invWidth+x;
|
int itemIndex=y*invWidth+x;
|
||||||
|
@ -55,4 +55,12 @@ ERR messages become just output messages in release build and won't crash the ga
|
|||||||
{"Load Game Button",{
|
{"Load Game Button",{
|
||||||
.up="New Game Button",
|
.up="New Game Button",
|
||||||
.down="Quit Game Button",}},
|
.down="Quit Game Button",}},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
- Equipment purchase method changes:
|
||||||
|
ok equipment cant be sold currently anyway.
|
||||||
|
So i think the easiest solution would be making gear unique. buying and upgrading it could be at the exact same location then.
|
||||||
|
|
||||||
|
Only thing that needs to be changed in the ui would be removing the equipment tab in the vendor sell menu.
|
||||||
|
[12:07 AM]sigonasr2: So the process goes: See current list of gear, first you buy it, then you can choose it again to continuously upgrade it
|
@ -39,7 +39,7 @@ All rights reserved.
|
|||||||
#define VERSION_MAJOR 0
|
#define VERSION_MAJOR 0
|
||||||
#define VERSION_MINOR 3
|
#define VERSION_MINOR 3
|
||||||
#define VERSION_PATCH 0
|
#define VERSION_PATCH 0
|
||||||
#define VERSION_BUILD 6212
|
#define VERSION_BUILD 6216
|
||||||
|
|
||||||
#define stringify(a) stringify_(a)
|
#define stringify(a) stringify_(a)
|
||||||
#define stringify_(a) #a
|
#define stringify_(a) #a
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<map version="1.10" tiledversion="1.10.1" class="Map" orientation="orthogonal" renderorder="right-down" width="205" height="205" tilewidth="24" tileheight="24" infinite="0" backgroundcolor="#475500" nextlayerid="10" nextobjectid="177">
|
<map version="1.10" tiledversion="1.10.1" class="Map" orientation="orthogonal" renderorder="right-down" width="205" height="205" tilewidth="24" tileheight="24" infinite="0" backgroundcolor="#475500" nextlayerid="10" nextobjectid="178">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="Backdrop" propertytype="Backdrop" value="forest"/>
|
<property name="Backdrop" propertytype="Backdrop" value="forest"/>
|
||||||
<property name="Background Music" propertytype="BGM" value="foresty1_1"/>
|
<property name="Background Music" propertytype="BGM" value="foresty1_1"/>
|
||||||
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
cd "Adventures in Lestoria"
|
cd "Adventures in Lestoria"
|
||||||
"..\x64\Release\Adventures in Lestoria.exe"
|
"..\x64\Release\Adventures in Lestoria.exe"
|
||||||
|
set /p DUMMY=Hit ENTER to exit...
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user