Removed unnecessary code in Graphics.cpp

Replaced the D3DFMT_A8 texture format with D3DFMT_L8.
Minor edits to documents.
Updated version number.
This commit is contained in:
NovaRain
2020-12-09 10:44:57 +08:00
parent ac233c710d
commit 02fba6eda1
6 changed files with 68 additions and 100 deletions
-1
View File
@@ -1,5 +1,4 @@
[Highlighting]
; DX scancode of a key to press to highlight items on the ground
; 42 - SHIFT key
Key=42
+2 -2
View File
@@ -1,5 +1,5 @@
;sfall configuration settings
;v4.2.8
;v4.2.9
[Main]
;Change to 1 if you want to use command line args to tell sfall to use another ini file.
@@ -78,7 +78,7 @@ WindowData=0
TextureFilter=1
;Set to 1 to do the palette conversion on the GPU
;Set to 2 to do the palette conversion on the CPU
;Set to 2 to do the palette conversion on the CPU (used for compatibility with old video cards)
;Set to 0 to pick automatically
;GPU is faster, but requires v2.0 pixel shader support
GPUBlt=0
+2 -1
View File
@@ -439,7 +439,8 @@ What you can do:
- add AP costs for all inventory movement including reloading
- apply or remove some special scripted effects depending on PC's armor
int arg0 - Target slot (0 - main backpack, 1 - left hand, 2 - right hand, 3 - armor slot, 4 - weapon, when reloading it by dropping ammo, 5 - container, like bag/backpack, 6 - dropping on the ground, 7 - picking up item, 8 - dropping item on the character portrait)
int arg0 - Target slot (0 - main backpack, 1 - left hand, 2 - right hand, 3 - armor slot, 4 - weapon, when reloading it by dropping ammo, 5 - container, like bag/backpack, 6 - dropping on the ground,
7 - picking up item, 8 - dropping item on the character portrait)
Item arg1 - Item being moved
Item arg2 - Item being replaced, weapon being reloaded, or container being filled (can be 0)
+2 -2
View File
@@ -244,7 +244,7 @@ was made as a dirty easy hack to allow dynamically change some explosion paramet
- changed radius will be reset each time the player reloads the game.
> array get_explosion_damage(itemPid)
- returns array of the minimum and maximum damage of the explosive item.
- returns an array of the minimum and maximum damage of the explosive item.
> void set_dynamite_damage(minDmg, maxDmg)
- sets the minimum and maximum damage for Dynamite.
@@ -360,7 +360,7 @@ Some utility/math functions are available:
- it will include any hidden, dead or system objects (like cursor), so make sure to check properly when iterating
> array party_member_list(int includeHidden)
- returns array of all current party members (0 - only critter-type, alive and visible will be returned, 1 - all object, including Trunk, etc.)
- returns an array of all current party members (0 - only critter-type, alive and visible will be returned, 1 - all object, including Trunk, etc.)
> array path_find_to(object objFrom, int tileTo, int blockingType)
- returns the shortest path to a given tile using given blocking function as an array of tile directions (0..5) to move on each step