mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-26 22:01:45 +00:00
ZDoom_ACS.cfg: added "DropInventory" function definition.
Visual mode: vertex handle size is now updated after closing the Preferences form.
This commit is contained in:
parent
a6e44dc941
commit
786caf3b34
3 changed files with 3 additions and 2 deletions
|
@ -127,6 +127,7 @@ keywords
|
|||
Door_LockedRaise = "Door_LockedRaise(tag, speed, delay, lock, lighttag)";
|
||||
Door_Open = "Door_Open(tag, speed, lighttag)";
|
||||
Door_Raise = "Door_Raise(tag, speed, delay, lighttag)";
|
||||
DropInventory = "void DropInventory(int tid, str itemtodrop)";
|
||||
DropItem = "int DropItem(int tid, str item [, int dropamount = -1 [, int chance = 256]])\nCauses actors with the matching tid to drop the specified item.\nIf tid is 0, the activator of the script is considered to be the dropper of the item.\nThis works in a similar way to the DropItem actor property.\nThe return value of the function is the number of dropped items.";
|
||||
Elevator_LowerToNearest = "Elevator_LowerToNearest(tag, speed)";
|
||||
Elevator_MoveToFloor = "Elevator_MoveToFloor(tag, speed)";
|
||||
|
|
|
@ -1582,6 +1582,7 @@ namespace CodeImp.DoomBuilder {
|
|||
|
||||
// Update settings
|
||||
renderer3d.CreateProjection();
|
||||
renderer3d.UpdateVertexHandle(); //mxd
|
||||
|
||||
// Things filters
|
||||
General.MainWindow.UpdateThingsFilters();
|
||||
|
|
|
@ -158,9 +158,8 @@ namespace CodeImp.DoomBuilder.VisualModes
|
|||
{
|
||||
base.OnEngage();
|
||||
|
||||
// Update projection and vertex handles (mxd)
|
||||
// Update projection (mxd)
|
||||
General.Map.CRenderer3D.CreateProjection();
|
||||
General.Map.CRenderer3D.UpdateVertexHandle();
|
||||
|
||||
// Update the used textures
|
||||
General.Map.Data.UpdateUsedTextures();
|
||||
|
|
Loading…
Reference in a new issue