mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- fixed some warnings.
- A_SetRenderStyle should not default to STYLE_None.
This commit is contained in:
parent
80f2f5829f
commit
51ffd6d9c6
3 changed files with 2 additions and 3 deletions
|
@ -3526,7 +3526,7 @@ void AActor::Tick ()
|
|||
sector_t *sec = node->m_sector;
|
||||
DVector2 scrollv;
|
||||
|
||||
if (level.Scrolls.Size() > (sec-sectors))
|
||||
if (level.Scrolls.Size() > unsigned(sec-sectors))
|
||||
{
|
||||
scrollv = level.Scrolls[sec - sectors];
|
||||
}
|
||||
|
|
|
@ -821,7 +821,6 @@ void FSerializer::WriteObjects()
|
|||
for (unsigned i = 0; i < w->mDObjects.Size(); i++)
|
||||
{
|
||||
auto obj = w->mDObjects[i];
|
||||
player_t *player;
|
||||
|
||||
BeginObject(nullptr);
|
||||
w->Key("classtype");
|
||||
|
|
|
@ -218,7 +218,7 @@ ACTOR Actor native //: Thinker
|
|||
native void A_LogInt(int whattoprint);
|
||||
native void A_LogFloat(float whattoprint);
|
||||
native void A_SetTranslucent(float alpha, int style = 0);
|
||||
native void A_SetRenderStyle(float alpha, int style = 0);
|
||||
native void A_SetRenderStyle(float alpha, int style);
|
||||
action native A_FadeIn(float reduce = 0.1, int flags = 0);
|
||||
action native A_FadeOut(float reduce = 0.1, int flags = 1); //bool remove == true
|
||||
native void A_FadeTo(float target, float amount = 0.1, int flags = 0);
|
||||
|
|
Loading…
Reference in a new issue