Updated stdafx.h and other code/doc files

This commit is contained in:
NovaRain
2020-02-08 08:41:04 +08:00
parent 7848e1612b
commit 87c4dd34f1
9 changed files with 19 additions and 18 deletions
+1 -1
View File
@@ -585,7 +585,7 @@ StartGDialogFix=0
AttackComplexFix=0
;Set to 1 to fix the issue with the division operator treating negative integers as unsigned
;If you still want to perform the unsigned integer division, use the new 'div' operator
;Note: To perform the unsigned integer division, use the new 'div' operator
DivisionOperatorFix=1
;Set to 1 to enable the balanced bullet distribution formula for burst attacks
+1 -1
View File
@@ -99,7 +99,7 @@
#define CFLG_SPECIAL 4096 // 0x00001000 - Special (has a special type of death)
#define CFLG_RANGED 8192 // 0x00002000 - Range (has extra hand-to-hand range)
#define CFLG_NOKNOCKBACK 16384 // 0x00004000 - Knock (cannot be knocked back)
#define CFLG_NOKNOCKDOWN CFLG_NOKNOCKBACK // for old scripts
#define CFLG_NOKNOCKDOWN CFLG_NOKNOCKBACK // obsolete
/* Window flags */
#define WIN_FLAG_MOVEONTOP (0x4)
+1 -1
View File
@@ -714,7 +714,7 @@ optional argument:
> int sfall_func2("get_window_attribute", int winType, int attrType)
- returns the attribute of the specified interface window by the attrType argument
- winType: the type number of the interface window (see WINTYPE_* constants in sfall.h)
- attrType: 0 - returns a value of 1 if the specified interface window is created by the game (same as without the argument)
- attrType: 0 - checks and returns a value of 1 if the specified interface window is created by the game (same as without the argument)
1 - X position, 2 - Y position (relative to the top-left corner of the game screen)
- returns -1 if the specified attribute cannot be obtained