@bgforge/mls-server 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/out/completion.fallout-ssl.json +50 -50
- package/out/completion.weidu-baf.json +2794 -218
- package/out/completion.weidu-d.json +16 -8
- package/out/completion.weidu-tp2.json +12 -6
- package/out/engine-proc-docs.json +1 -1
- package/out/hover.fallout-ssl.json +50 -50
- package/out/hover.weidu-baf.json +1753 -211
- package/out/hover.weidu-d.json +4 -4
- package/out/hover.weidu-tp2.json +1 -1
- package/out/server.js +370 -366
- package/out/tree-sitter-weidu_tp2.wasm +0 -0
- package/out/tssl-plugin.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ bgforge-mls-server --stdio
|
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
[Settings Reference](../docs/settings.md) - All server settings with defaults.
|
|
34
|
-
[LSP API](../docs/lsp-api.md) - Public commands, custom requests, and
|
|
34
|
+
[LSP API](../docs/lsp-api.md) - Public commands, custom requests, notifications, and third-party client integration notes.
|
|
35
35
|
|
|
36
36
|
See [Editor Setup](https://github.com/BGforgeNet/VScode-BGforge-MLS/blob/master/docs/editors/README.md) for editor-specific guides.
|
|
37
37
|
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
"category": "engine-procedures",
|
|
301
301
|
"documentation": {
|
|
302
302
|
"kind": "markdown",
|
|
303
|
-
"value": "```fallout-ssl-tooltip\nvoid timed_event_p_proc()\n```\nThis procedure is called by the function `add_timer_event(
|
|
303
|
+
"value": "```fallout-ssl-tooltip\nvoid timed_event_p_proc()\n```\nThis procedure is called by the function `add_timer_event(ObjectPtr obj, int time, int fixed_param)`.\n`ObjectPtr` points to the object whose script's `timed_event_p_proc` procedure you want to access.\nTime is the number of game ticks (1 game tick = 1/10 seconds) you want to pass before the `timed_event_p_proc` is called.\n`fixed_param` is a variable you can set to differentiate between various timed events.\nIn `timed_event_p_proc`, you can check the value of `fixed_param` against whatever number you used when calling `add_timer_event`.\nThis allows for multiple uses of `timed_event_p_proc` in the same script."
|
|
304
304
|
}
|
|
305
305
|
},
|
|
306
306
|
{
|
|
@@ -3626,7 +3626,7 @@
|
|
|
3626
3626
|
"category": "sfall-functions",
|
|
3627
3627
|
"documentation": {
|
|
3628
3628
|
"kind": "markdown",
|
|
3629
|
-
"value": "```fallout-ssl-tooltip\nvoid art_cache_clear
|
|
3629
|
+
"value": "```fallout-ssl-tooltip\nvoid art_cache_clear\n```\nClears the cache of FRM image files loaded into memory."
|
|
3630
3630
|
}
|
|
3631
3631
|
},
|
|
3632
3632
|
{
|
|
@@ -3676,7 +3676,7 @@
|
|
|
3676
3676
|
"category": "sfall-functions",
|
|
3677
3677
|
"documentation": {
|
|
3678
3678
|
"kind": "markdown",
|
|
3679
|
-
"value": "```fallout-ssl-tooltip\nint eax_available
|
|
3679
|
+
"value": "```fallout-ssl-tooltip\nint eax_available\n```\nObsolete since sfall 2.1a. Always returns 0."
|
|
3680
3680
|
}
|
|
3681
3681
|
},
|
|
3682
3682
|
{
|
|
@@ -3716,7 +3716,7 @@
|
|
|
3716
3716
|
"category": "sfall-functions",
|
|
3717
3717
|
"documentation": {
|
|
3718
3718
|
"kind": "markdown",
|
|
3719
|
-
"value": "```fallout-ssl-tooltip\nint car_gas_amount
|
|
3719
|
+
"value": "```fallout-ssl-tooltip\nint car_gas_amount\n```\nReturns the current amount of fuel in player's car (between 0 and 80000).\nTo change fuel amount, use vanilla function: `metarule(METARULE_GIVE_CAR_GAS, amount)` - `amount` can be positive or negative.\n"
|
|
3720
3720
|
}
|
|
3721
3721
|
},
|
|
3722
3722
|
{
|
|
@@ -3746,7 +3746,7 @@
|
|
|
3746
3746
|
"category": "sfall-functions",
|
|
3747
3747
|
"documentation": {
|
|
3748
3748
|
"kind": "markdown",
|
|
3749
|
-
"value": "```fallout-ssl-tooltip\nbool attack_is_aimed
|
|
3749
|
+
"value": "```fallout-ssl-tooltip\nbool attack_is_aimed\n```\nReturns 1 if the aimed attack mode is selected, 0 otherwise."
|
|
3750
3750
|
}
|
|
3751
3751
|
},
|
|
3752
3752
|
{
|
|
@@ -3816,7 +3816,7 @@
|
|
|
3816
3816
|
"category": "sfall-functions",
|
|
3817
3817
|
"documentation": {
|
|
3818
3818
|
"kind": "markdown",
|
|
3819
|
-
"value": "```fallout-ssl-tooltip\nint get_combat_free_move
|
|
3819
|
+
"value": "```fallout-ssl-tooltip\nint get_combat_free_move\n```\nReturns available \"bonus move\" points of the current critter's turn. For NPCs, this is always 0 unless changed by `set_combat_free_move`"
|
|
3820
3820
|
}
|
|
3821
3821
|
},
|
|
3822
3822
|
{
|
|
@@ -3936,7 +3936,7 @@
|
|
|
3936
3936
|
"category": "sfall-functions",
|
|
3937
3937
|
"documentation": {
|
|
3938
3938
|
"kind": "markdown",
|
|
3939
|
-
"value": "```fallout-ssl-tooltip\nint get_cursor_mode
|
|
3939
|
+
"value": "```fallout-ssl-tooltip\nint get_cursor_mode\n```\nReturns the current cursor mode. Values: 0 - movement cursor, 1 - command cursor, 2 - targeting cursor, 4 to 10 are Skilldex skills (yellow targeting cursor)."
|
|
3940
3940
|
}
|
|
3941
3941
|
},
|
|
3942
3942
|
{
|
|
@@ -4166,7 +4166,7 @@
|
|
|
4166
4166
|
"category": "sfall-functions",
|
|
4167
4167
|
"documentation": {
|
|
4168
4168
|
"kind": "markdown",
|
|
4169
|
-
"value": "```fallout-ssl-tooltip\nint get_screen_height
|
|
4169
|
+
"value": "```fallout-ssl-tooltip\nint get_screen_height\n```\nThe graphics functions are only available if the user is using graphics mode 4 or 5. Use `graphics_funcs_available` to check; it returns 1 if you can use them or 0 if you can't. Calling graphics functions when `graphics_funcs_available` returns 0 will do nothing."
|
|
4170
4170
|
}
|
|
4171
4171
|
},
|
|
4172
4172
|
{
|
|
@@ -4176,7 +4176,7 @@
|
|
|
4176
4176
|
"category": "sfall-functions",
|
|
4177
4177
|
"documentation": {
|
|
4178
4178
|
"kind": "markdown",
|
|
4179
|
-
"value": "```fallout-ssl-tooltip\nint get_screen_width
|
|
4179
|
+
"value": "```fallout-ssl-tooltip\nint get_screen_width\n```\nThe graphics functions are only available if the user is using graphics mode 4 or 5. Use `graphics_funcs_available` to check; it returns 1 if you can use them or 0 if you can't. Calling graphics functions when `graphics_funcs_available` returns 0 will do nothing."
|
|
4180
4180
|
}
|
|
4181
4181
|
},
|
|
4182
4182
|
{
|
|
@@ -4286,7 +4286,7 @@
|
|
|
4286
4286
|
"category": "sfall-functions",
|
|
4287
4287
|
"documentation": {
|
|
4288
4288
|
"kind": "markdown",
|
|
4289
|
-
"value": "```fallout-ssl-tooltip\nmixed get_sfall_arg
|
|
4289
|
+
"value": "```fallout-ssl-tooltip\nmixed get_sfall_arg\n```\nGets the next argument from sfall. Each time it's called it returns the next argument, or otherwise it returns 0 if there are no more arguments left. You can arbitrarily get the value of any argument using the `sfall_func1(\"get_sfall_arg_at\", argNum)` function."
|
|
4290
4290
|
}
|
|
4291
4291
|
},
|
|
4292
4292
|
{
|
|
@@ -4306,7 +4306,7 @@
|
|
|
4306
4306
|
"category": "sfall-functions",
|
|
4307
4307
|
"documentation": {
|
|
4308
4308
|
"kind": "markdown",
|
|
4309
|
-
"value": "```fallout-ssl-tooltip\nint get_sfall_args
|
|
4309
|
+
"value": "```fallout-ssl-tooltip\nint get_sfall_args\n```\nReturns all hook arguments as a new temp array."
|
|
4310
4310
|
}
|
|
4311
4311
|
},
|
|
4312
4312
|
{
|
|
@@ -4316,7 +4316,7 @@
|
|
|
4316
4316
|
"category": "sfall-functions",
|
|
4317
4317
|
"documentation": {
|
|
4318
4318
|
"kind": "markdown",
|
|
4319
|
-
"value": "```fallout-ssl-tooltip\nint init_hook
|
|
4319
|
+
"value": "```fallout-ssl-tooltip\nint init_hook\n```\nThe hook script equivalent of `game_loaded`; it returns 1 when the script is loaded for the first time or when the player reloads the game, and 0 otherwise."
|
|
4320
4320
|
}
|
|
4321
4321
|
},
|
|
4322
4322
|
{
|
|
@@ -4456,7 +4456,7 @@
|
|
|
4456
4456
|
"category": "sfall-functions",
|
|
4457
4457
|
"documentation": {
|
|
4458
4458
|
"kind": "markdown",
|
|
4459
|
-
"value": "```fallout-ssl-tooltip\nvoid display_stats
|
|
4459
|
+
"value": "```fallout-ssl-tooltip\nvoid display_stats\n```\n- Updates player's stats in the inventory display window or on the character screen.\n- NOTE: works only when the interface window is opened\n"
|
|
4460
4460
|
}
|
|
4461
4461
|
},
|
|
4462
4462
|
{
|
|
@@ -4476,7 +4476,7 @@
|
|
|
4476
4476
|
"category": "sfall-functions",
|
|
4477
4477
|
"documentation": {
|
|
4478
4478
|
"kind": "markdown",
|
|
4479
|
-
"value": "```fallout-ssl-tooltip\nint get_mouse_buttons
|
|
4479
|
+
"value": "```fallout-ssl-tooltip\nint get_mouse_buttons\n```\nReturns the number of the mouse button that is currently pressed (1 - left, 2 - right, 3 - left+right, 4 - middle, 0 otherwise)."
|
|
4480
4480
|
}
|
|
4481
4481
|
},
|
|
4482
4482
|
{
|
|
@@ -4486,7 +4486,7 @@
|
|
|
4486
4486
|
"category": "sfall-functions",
|
|
4487
4487
|
"documentation": {
|
|
4488
4488
|
"kind": "markdown",
|
|
4489
|
-
"value": "```fallout-ssl-tooltip\nint get_mouse_x
|
|
4489
|
+
"value": "```fallout-ssl-tooltip\nint get_mouse_x\n```"
|
|
4490
4490
|
}
|
|
4491
4491
|
},
|
|
4492
4492
|
{
|
|
@@ -4496,7 +4496,7 @@
|
|
|
4496
4496
|
"category": "sfall-functions",
|
|
4497
4497
|
"documentation": {
|
|
4498
4498
|
"kind": "markdown",
|
|
4499
|
-
"value": "```fallout-ssl-tooltip\nint get_mouse_y
|
|
4499
|
+
"value": "```fallout-ssl-tooltip\nint get_mouse_y\n```"
|
|
4500
4500
|
}
|
|
4501
4501
|
},
|
|
4502
4502
|
{
|
|
@@ -4666,7 +4666,7 @@
|
|
|
4666
4666
|
"category": "sfall-functions",
|
|
4667
4667
|
"documentation": {
|
|
4668
4668
|
"kind": "markdown",
|
|
4669
|
-
"value": "```fallout-ssl-tooltip\nvoid intface_hide
|
|
4669
|
+
"value": "```fallout-ssl-tooltip\nvoid intface_hide\n```\nHides main interface."
|
|
4670
4670
|
}
|
|
4671
4671
|
},
|
|
4672
4672
|
{
|
|
@@ -4676,7 +4676,7 @@
|
|
|
4676
4676
|
"category": "sfall-functions",
|
|
4677
4677
|
"documentation": {
|
|
4678
4678
|
"kind": "markdown",
|
|
4679
|
-
"value": "```fallout-ssl-tooltip\nbool intface_is_hidden
|
|
4679
|
+
"value": "```fallout-ssl-tooltip\nbool intface_is_hidden\n```\nReturns 1 if interface is currently hidden, 0 otherwise."
|
|
4680
4680
|
}
|
|
4681
4681
|
},
|
|
4682
4682
|
{
|
|
@@ -4696,7 +4696,7 @@
|
|
|
4696
4696
|
"category": "sfall-functions",
|
|
4697
4697
|
"documentation": {
|
|
4698
4698
|
"kind": "markdown",
|
|
4699
|
-
"value": "```fallout-ssl-tooltip\nvoid intface_show
|
|
4699
|
+
"value": "```fallout-ssl-tooltip\nvoid intface_show\n```\nShows main interface."
|
|
4700
4700
|
}
|
|
4701
4701
|
},
|
|
4702
4702
|
{
|
|
@@ -4706,7 +4706,7 @@
|
|
|
4706
4706
|
"category": "sfall-functions",
|
|
4707
4707
|
"documentation": {
|
|
4708
4708
|
"kind": "markdown",
|
|
4709
|
-
"value": "```fallout-ssl-tooltip\nvoid exec_map_update_scripts
|
|
4709
|
+
"value": "```fallout-ssl-tooltip\nvoid exec_map_update_scripts\n```\nExecutes `map_update_p_proc` for all objects on map and global/hook scripts as well."
|
|
4710
4710
|
}
|
|
4711
4711
|
},
|
|
4712
4712
|
{
|
|
@@ -4736,7 +4736,7 @@
|
|
|
4736
4736
|
"category": "sfall-functions",
|
|
4737
4737
|
"documentation": {
|
|
4738
4738
|
"kind": "markdown",
|
|
4739
|
-
"value": "```fallout-ssl-tooltip\narray get_map_enter_position
|
|
4739
|
+
"value": "```fallout-ssl-tooltip\narray get_map_enter_position\n```\nReturns an array of the player's position data (index: 0 - tile, 1 - elevation, 2 - rotation) when entering the map through exit grids. If entering from the world map, the tile value will be -1. Should be called in `map_enter_p_proc` procedure to get the correct position data."
|
|
4740
4740
|
}
|
|
4741
4741
|
},
|
|
4742
4742
|
{
|
|
@@ -4986,7 +4986,7 @@
|
|
|
4986
4986
|
"category": "sfall-functions",
|
|
4987
4987
|
"documentation": {
|
|
4988
4988
|
"kind": "markdown",
|
|
4989
|
-
"value": "```fallout-ssl-tooltip\nObjectPtr dialog_obj
|
|
4989
|
+
"value": "```fallout-ssl-tooltip\nObjectPtr dialog_obj\n```\nReturns a pointer to the object (critter) the player is having a conversation or bartering with."
|
|
4990
4990
|
}
|
|
4991
4991
|
},
|
|
4992
4992
|
{
|
|
@@ -5026,7 +5026,7 @@
|
|
|
5026
5026
|
"category": "sfall-functions",
|
|
5027
5027
|
"documentation": {
|
|
5028
5028
|
"kind": "markdown",
|
|
5029
|
-
"value": "```fallout-ssl-tooltip\nObjectPtr loot_obj
|
|
5029
|
+
"value": "```fallout-ssl-tooltip\nObjectPtr loot_obj\n```\nReturns a pointer to the target object (container or critter) of the loot screen."
|
|
5030
5030
|
}
|
|
5031
5031
|
},
|
|
5032
5032
|
{
|
|
@@ -5066,7 +5066,7 @@
|
|
|
5066
5066
|
"category": "sfall-functions",
|
|
5067
5067
|
"documentation": {
|
|
5068
5068
|
"kind": "markdown",
|
|
5069
|
-
"value": "```fallout-ssl-tooltip\nObjectPtr real_dude_obj
|
|
5069
|
+
"value": "```fallout-ssl-tooltip\nObjectPtr real_dude_obj\n```\nReturns the initial `dude_obj` after `set_dude_obj` was used."
|
|
5070
5070
|
}
|
|
5071
5071
|
},
|
|
5072
5072
|
{
|
|
@@ -5196,7 +5196,7 @@
|
|
|
5196
5196
|
"category": "sfall-functions",
|
|
5197
5197
|
"documentation": {
|
|
5198
5198
|
"kind": "markdown",
|
|
5199
|
-
"value": "```fallout-ssl-tooltip\nint game_loaded
|
|
5199
|
+
"value": "```fallout-ssl-tooltip\nint game_loaded\n```\nReturns 1 the first time it is called after a new game or game load, and 0 any time after. It works on an individual basis for each script, so one script wont interfere with others. Its primary use is for global scripts, so that they know when to call `set_global_script_repeat`, but it can be called from normal scripts too."
|
|
5200
5200
|
}
|
|
5201
5201
|
},
|
|
5202
5202
|
{
|
|
@@ -5216,7 +5216,7 @@
|
|
|
5216
5216
|
"category": "sfall-functions",
|
|
5217
5217
|
"documentation": {
|
|
5218
5218
|
"kind": "markdown",
|
|
5219
|
-
"value": "```fallout-ssl-tooltip\nint get_game_mode
|
|
5219
|
+
"value": "```fallout-ssl-tooltip\nint get_game_mode\n```\nA more flexible version of in_world_map. It will return a set of flags indicating which mode the game is currently in. These flags are the same as those used in the `set_shader_mode function`."
|
|
5220
5220
|
}
|
|
5221
5221
|
},
|
|
5222
5222
|
{
|
|
@@ -5246,7 +5246,7 @@
|
|
|
5246
5246
|
"category": "sfall-functions",
|
|
5247
5247
|
"documentation": {
|
|
5248
5248
|
"kind": "markdown",
|
|
5249
|
-
"value": "```fallout-ssl-tooltip\nint get_light_level
|
|
5249
|
+
"value": "```fallout-ssl-tooltip\nint get_light_level\n```\nReturns ambient light level in range 0..65536. The value returned by get_light_level may not exactly match that set by `set_light_level`, as `set_light_level` applies modifiers from the Night Vision perk."
|
|
5250
5250
|
}
|
|
5251
5251
|
},
|
|
5252
5252
|
{
|
|
@@ -5276,7 +5276,7 @@
|
|
|
5276
5276
|
"category": "sfall-functions",
|
|
5277
5277
|
"documentation": {
|
|
5278
5278
|
"kind": "markdown",
|
|
5279
|
-
"value": "```fallout-ssl-tooltip\nint get_unspent_ap_bonus
|
|
5279
|
+
"value": "```fallout-ssl-tooltip\nint get_unspent_ap_bonus\n```\nGets the AC bonus you receive per unused action point at the end of your turn in combat. To allow for fractional values, the value given if divided by 4. (Hence the default value is 4 and not 1.)"
|
|
5280
5280
|
}
|
|
5281
5281
|
},
|
|
5282
5282
|
{
|
|
@@ -5286,7 +5286,7 @@
|
|
|
5286
5286
|
"category": "sfall-functions",
|
|
5287
5287
|
"documentation": {
|
|
5288
5288
|
"kind": "markdown",
|
|
5289
|
-
"value": "```fallout-ssl-tooltip\nint get_unspent_ap_perk_bonus
|
|
5289
|
+
"value": "```fallout-ssl-tooltip\nint get_unspent_ap_perk_bonus\n```\nSimilar to `get_unspent_ap_bonus`, but accounts for the extra AC granted by the H2H Evade perk. (The default value of this is also 4, equivalent to doubling the original bonus."
|
|
5290
5290
|
}
|
|
5291
5291
|
},
|
|
5292
5292
|
{
|
|
@@ -5296,7 +5296,7 @@
|
|
|
5296
5296
|
"category": "sfall-functions",
|
|
5297
5297
|
"documentation": {
|
|
5298
5298
|
"kind": "markdown",
|
|
5299
|
-
"value": "```fallout-ssl-tooltip\nint get_uptime
|
|
5299
|
+
"value": "```fallout-ssl-tooltip\nint get_uptime\n```\nJust a wrapper around the windows GetTickCount() function. It's useful for making time fade effects in shaders, since they already have access to the current tick count."
|
|
5300
5300
|
}
|
|
5301
5301
|
},
|
|
5302
5302
|
{
|
|
@@ -5306,7 +5306,7 @@
|
|
|
5306
5306
|
"category": "sfall-functions",
|
|
5307
5307
|
"documentation": {
|
|
5308
5308
|
"kind": "markdown",
|
|
5309
|
-
"value": "```fallout-ssl-tooltip\nint get_viewport_x
|
|
5309
|
+
"value": "```fallout-ssl-tooltip\nint get_viewport_x\n```"
|
|
5310
5310
|
}
|
|
5311
5311
|
},
|
|
5312
5312
|
{
|
|
@@ -5316,7 +5316,7 @@
|
|
|
5316
5316
|
"category": "sfall-functions",
|
|
5317
5317
|
"documentation": {
|
|
5318
5318
|
"kind": "markdown",
|
|
5319
|
-
"value": "```fallout-ssl-tooltip\nint get_viewport_y
|
|
5319
|
+
"value": "```fallout-ssl-tooltip\nint get_viewport_y\n```"
|
|
5320
5320
|
}
|
|
5321
5321
|
},
|
|
5322
5322
|
{
|
|
@@ -5356,7 +5356,7 @@
|
|
|
5356
5356
|
"category": "sfall-functions",
|
|
5357
5357
|
"documentation": {
|
|
5358
5358
|
"kind": "markdown",
|
|
5359
|
-
"value": "```fallout-ssl-tooltip\nint input_funcs_available
|
|
5359
|
+
"value": "```fallout-ssl-tooltip\nint input_funcs_available\n```\n(DEPRECATED) The input functions are only available if the user has the input hook turned on in `ddraw.ini`. Use `input_funcs_available` to check."
|
|
5360
5360
|
}
|
|
5361
5361
|
},
|
|
5362
5362
|
{
|
|
@@ -5396,7 +5396,7 @@
|
|
|
5396
5396
|
"category": "sfall-functions",
|
|
5397
5397
|
"documentation": {
|
|
5398
5398
|
"kind": "markdown",
|
|
5399
|
-
"value": "```fallout-ssl-tooltip\nint nb_create_char
|
|
5399
|
+
"value": "```fallout-ssl-tooltip\nint nb_create_char\n```\n(DEPRECATED) Reserved for the brotherhood tactical training mod, and should be avoided. Not implemented, always returns 0."
|
|
5400
5400
|
}
|
|
5401
5401
|
},
|
|
5402
5402
|
{
|
|
@@ -5406,7 +5406,7 @@
|
|
|
5406
5406
|
"category": "sfall-functions",
|
|
5407
5407
|
"documentation": {
|
|
5408
5408
|
"kind": "markdown",
|
|
5409
|
-
"value": "```fallout-ssl-tooltip\nvoid resume_game
|
|
5409
|
+
"value": "```fallout-ssl-tooltip\nvoid resume_game\n```"
|
|
5410
5410
|
}
|
|
5411
5411
|
},
|
|
5412
5412
|
{
|
|
@@ -5526,7 +5526,7 @@
|
|
|
5526
5526
|
"category": "sfall-functions",
|
|
5527
5527
|
"documentation": {
|
|
5528
5528
|
"kind": "markdown",
|
|
5529
|
-
"value": "```fallout-ssl-tooltip\nvoid set_pipboy_available(int available)\n```\nSets the availability of the pipboy in the game. Use 0 to disable the pipboy, and 1 or 2 to enable it (value 2 does not
|
|
5529
|
+
"value": "```fallout-ssl-tooltip\nvoid set_pipboy_available(int available)\n```\nSets the availability of the pipboy in the game. Use 0 to disable the pipboy, and 1 or 2 to enable it (value 2 does not change the player's default appearance).\n- The availability state will be reset each time the player reloads the game.\n- __NOTE:__ starting from sfall 4.4.6/3.8.46, value 1 no longer marks the `VSUIT_MOVIE` movie as \"played\". Use `mark_movie_played(VSUIT_MOVIE)` instead if you want the old behavior.\n"
|
|
5530
5530
|
}
|
|
5531
5531
|
},
|
|
5532
5532
|
{
|
|
@@ -5616,7 +5616,7 @@
|
|
|
5616
5616
|
"category": "sfall-functions",
|
|
5617
5617
|
"documentation": {
|
|
5618
5618
|
"kind": "markdown",
|
|
5619
|
-
"value": "```fallout-ssl-tooltip\nvoid stop_game
|
|
5619
|
+
"value": "```fallout-ssl-tooltip\nvoid stop_game\n```"
|
|
5620
5620
|
}
|
|
5621
5621
|
},
|
|
5622
5622
|
{
|
|
@@ -5656,7 +5656,7 @@
|
|
|
5656
5656
|
"category": "sfall-functions",
|
|
5657
5657
|
"documentation": {
|
|
5658
5658
|
"kind": "markdown",
|
|
5659
|
-
"value": "```fallout-ssl-tooltip\nObjectPtr outlined_object
|
|
5659
|
+
"value": "```fallout-ssl-tooltip\nObjectPtr outlined_object\n```\nReturns an object that is currently highlighted by hovering the mouse above it."
|
|
5660
5660
|
}
|
|
5661
5661
|
},
|
|
5662
5662
|
{
|
|
@@ -5696,7 +5696,7 @@
|
|
|
5696
5696
|
"category": "sfall-functions",
|
|
5697
5697
|
"documentation": {
|
|
5698
5698
|
"kind": "markdown",
|
|
5699
|
-
"value": "```fallout-ssl-tooltip\nvoid clear_selectable_perks
|
|
5699
|
+
"value": "```fallout-ssl-tooltip\nvoid clear_selectable_perks\n```\nRestores the \"select a perk\" box to its default state."
|
|
5700
5700
|
}
|
|
5701
5701
|
},
|
|
5702
5702
|
{
|
|
@@ -5746,7 +5746,7 @@
|
|
|
5746
5746
|
"category": "sfall-functions",
|
|
5747
5747
|
"documentation": {
|
|
5748
5748
|
"kind": "markdown",
|
|
5749
|
-
"value": "```fallout-ssl-tooltip\nvoid hide_real_perks
|
|
5749
|
+
"value": "```fallout-ssl-tooltip\nvoid hide_real_perks\n```\nPrevent the \"select a perk\" box from displaying any of the original 119 perks."
|
|
5750
5750
|
}
|
|
5751
5751
|
},
|
|
5752
5752
|
{
|
|
@@ -6066,7 +6066,7 @@
|
|
|
6066
6066
|
"category": "sfall-functions",
|
|
6067
6067
|
"documentation": {
|
|
6068
6068
|
"kind": "markdown",
|
|
6069
|
-
"value": "```fallout-ssl-tooltip\nvoid show_real_perks
|
|
6069
|
+
"value": "```fallout-ssl-tooltip\nvoid show_real_perks\n```\nReverts the effect os `hide_real_perks`."
|
|
6070
6070
|
}
|
|
6071
6071
|
},
|
|
6072
6072
|
{
|
|
@@ -6346,7 +6346,7 @@
|
|
|
6346
6346
|
"category": "sfall-functions",
|
|
6347
6347
|
"documentation": {
|
|
6348
6348
|
"kind": "markdown",
|
|
6349
|
-
"value": "```fallout-ssl-tooltip\nint get_available_skill_points
|
|
6349
|
+
"value": "```fallout-ssl-tooltip\nint get_available_skill_points\n```"
|
|
6350
6350
|
}
|
|
6351
6351
|
},
|
|
6352
6352
|
{
|
|
@@ -6636,7 +6636,7 @@
|
|
|
6636
6636
|
"category": "sfall-functions",
|
|
6637
6637
|
"documentation": {
|
|
6638
6638
|
"kind": "markdown",
|
|
6639
|
-
"value": "```fallout-ssl-tooltip\nvoid add_iface_tag
|
|
6639
|
+
"value": "```fallout-ssl-tooltip\nvoid add_iface_tag\n```\nAdds one custom box to the current boxes, and returns the number of the added tag (-1 if the tags limit is exceeded. The maximum number of boxes is limited to 126 tags.\n`show_iface_tag`, `hide_iface_tag` and `is_iface_tag_active` relate to the boxes that appear above the interface such as SNEAK and LEVEL. You can use 0 for **SNEAK** (starting from sfall 4.4.4/3.8.44), 3 for **LEVEL**, 4 for **ADDICT**, and 5 to (4 + the value of BoxBarCount in `ddraw.ini`) for custom boxes. Remember to add your messages to `intrface.msg` and set up the font colours in `ddraw.ini` if you're going to use custom boxes. Starting from sfall 4.1/3.8.12, `is_iface_tag_active` can also be used to check 0 for **SNEAK**, 1 for **POISONED**, and 2 for **RADIATED**.\n"
|
|
6640
6640
|
}
|
|
6641
6641
|
},
|
|
6642
6642
|
{
|
|
@@ -6776,7 +6776,7 @@
|
|
|
6776
6776
|
"category": "sfall-functions",
|
|
6777
6777
|
"documentation": {
|
|
6778
6778
|
"kind": "markdown",
|
|
6779
|
-
"value": "```fallout-ssl-tooltip\nvoid tile_refresh_display
|
|
6779
|
+
"value": "```fallout-ssl-tooltip\nvoid tile_refresh_display\n```\nRedraws the game scene (tiles, walls, objects, etc.)."
|
|
6780
6780
|
}
|
|
6781
6781
|
},
|
|
6782
6782
|
{
|
|
@@ -6836,7 +6836,7 @@
|
|
|
6836
6836
|
"category": "sfall-functions",
|
|
6837
6837
|
"documentation": {
|
|
6838
6838
|
"kind": "markdown",
|
|
6839
|
-
"value": "```fallout-ssl-tooltip\nint sfall_ver_build
|
|
6839
|
+
"value": "```fallout-ssl-tooltip\nint sfall_ver_build\n```"
|
|
6840
6840
|
}
|
|
6841
6841
|
},
|
|
6842
6842
|
{
|
|
@@ -6846,7 +6846,7 @@
|
|
|
6846
6846
|
"category": "sfall-functions",
|
|
6847
6847
|
"documentation": {
|
|
6848
6848
|
"kind": "markdown",
|
|
6849
|
-
"value": "```fallout-ssl-tooltip\nint sfall_ver_major
|
|
6849
|
+
"value": "```fallout-ssl-tooltip\nint sfall_ver_major\n```"
|
|
6850
6850
|
}
|
|
6851
6851
|
},
|
|
6852
6852
|
{
|
|
@@ -6856,7 +6856,7 @@
|
|
|
6856
6856
|
"category": "sfall-functions",
|
|
6857
6857
|
"documentation": {
|
|
6858
6858
|
"kind": "markdown",
|
|
6859
|
-
"value": "```fallout-ssl-tooltip\nint sfall_ver_minor
|
|
6859
|
+
"value": "```fallout-ssl-tooltip\nint sfall_ver_minor\n```"
|
|
6860
6860
|
}
|
|
6861
6861
|
},
|
|
6862
6862
|
{
|
|
@@ -7136,7 +7136,7 @@
|
|
|
7136
7136
|
"category": "sfall-functions",
|
|
7137
7137
|
"documentation": {
|
|
7138
7138
|
"kind": "markdown",
|
|
7139
|
-
"value": "```fallout-ssl-tooltip\nint get_window_under_mouse
|
|
7139
|
+
"value": "```fallout-ssl-tooltip\nint get_window_under_mouse\n```\nReturns the internal ID of the top-most window under mouse cursor."
|
|
7140
7140
|
}
|
|
7141
7141
|
},
|
|
7142
7142
|
{
|
|
@@ -7206,7 +7206,7 @@
|
|
|
7206
7206
|
"category": "sfall-functions",
|
|
7207
7207
|
"documentation": {
|
|
7208
7208
|
"kind": "markdown",
|
|
7209
|
-
"value": "```fallout-ssl-tooltip\nint get_world_map_x_pos
|
|
7209
|
+
"value": "```fallout-ssl-tooltip\nint get_world_map_x_pos\n```\nThe mapper manual lists the functions `world_map_x_pos` and `world_map_y_pos`, which supposedly return the player's x and y positions on the world map. `get_world_map_x/y_pos` are included here anyway, because I was unable to get those original functions to work, or even to find any evidence that they existed in game."
|
|
7210
7210
|
}
|
|
7211
7211
|
},
|
|
7212
7212
|
{
|
|
@@ -7216,7 +7216,7 @@
|
|
|
7216
7216
|
"category": "sfall-functions",
|
|
7217
7217
|
"documentation": {
|
|
7218
7218
|
"kind": "markdown",
|
|
7219
|
-
"value": "```fallout-ssl-tooltip\nint get_world_map_y_pos
|
|
7219
|
+
"value": "```fallout-ssl-tooltip\nint get_world_map_y_pos\n```\nThe mapper manual lists the functions `world_map_x_pos` and `world_map_y_pos`, which supposedly return the player's x and y positions on the world map. `get_world_map_x/y_pos` are included here anyway, because I was unable to get those original functions to work, or even to find any evidence that they existed in game."
|
|
7220
7220
|
}
|
|
7221
7221
|
},
|
|
7222
7222
|
{
|