Mike Nelson
691ec74406
Mission custom strings ( #5544 )
2023-11-26 19:15:30 -05:00
Goober5000
072e802863
add Lua function for movie duration
...
This retrieves the duration from the movie stream. Thanks to @asarium for pointing me in the right direction.
2023-11-23 13:11:40 -05:00
JohnAFernandez
6f263365af
Merge pull request #5761 from JohnAFernandez/Coverity-COPY_INSTEAD_OF_MOVE-ISSUES
...
These std moves were suggested by Coverity as optimizations
2023-11-19 23:11:26 -05:00
Mike Nelson
5fadb12b0f
Deprecate IsValid in favor of isValid ( #5814 )
2023-11-19 18:58:35 -05:00
wookieejedi
9eeb3307d0
Expose isValid parse object check to scripting ( #5816 )
2023-11-19 07:51:33 -05:00
mjn-mixael
b628b665cf
Do this using brain
2023-11-11 11:51:45 -06:00
mjn-mixael
7a367b10ad
Add ability to remove an enum item from a list
2023-11-11 11:30:07 -06:00
BMagnu
a9cfd27455
Expose more submodel instance and submodel attributes and functions to Lua ( #5766 )
...
* Add global to local for matrices
* Add lua integration
* Get Submodel from Submodel instance
* Add submodel functions
* Add model instance from submodel instance
* Fix index
* Fix copy paste error
2023-11-11 07:23:47 +09:00
JohnAFernandez
72ccbff147
Merge pull request #5781 from MjnMixael/mainhall_input_control
...
Mainhall ignore input
2023-11-09 09:51:39 -05:00
mjn-mixael
e34c82d7d1
bool + static cast
2023-11-08 09:25:22 -06:00
mjn-mixael
67e00da79b
mainhall ignore input
2023-11-08 08:57:31 -06:00
Asteroth
9eeb7e7983
add burst values
2023-11-06 03:22:21 -05:00
John Fernandez
0a5cf6ad9d
Try the std moves suggested by Coverity
...
For many coverity issues
2023-11-03 14:40:04 -04:00
JohnAFernandez
2cb12b8ff7
Merge pull request #5593 from MjnMixael/rank_display_names
...
Rank display name and title
2023-11-03 14:34:55 -04:00
JohnAFernandez
9f173e8cd9
Merge pull request #5750 from MjnMixael/log_timer_padding
...
Provide a way to account for timer padding in the mission log
2023-11-03 14:34:17 -04:00
JohnAFernandez
c30559a63a
Merge pull request #5698 from Goober5000/waypoints_upgrade
...
Waypoints upgrade
2023-11-02 19:24:55 -04:00
JohnAFernandez
245cec5a34
Merge pull request #5694 from MjnMixael/lua_audio_upgrades
...
Upgrade Lua Sound Handling methods
2023-11-02 14:36:38 -04:00
mjn-mixael
4145717363
Merge branch 'master' into mission_custom_data
2023-11-01 15:50:41 -05:00
mjn-mixael
ed83ed79ec
provide a way to account for timer padding in the mission log
2023-11-01 09:35:30 -05:00
Goober5000
02669338e8
C++ casts
2023-11-01 10:03:51 -04:00
JohnAFernandez
db02a829aa
Fix uninitialized scalars 2 ( #5737 )
...
* Make sure we handle unknown location types
Avoids edge-case gargabe pointer 1522974
* Make sure local vectors are at least set to zero
For coverity 1522985
* Make sure from_table is initialized
When creating a replacement texture object, for coverity 1522989
* Change to Unreachable to help Linters
This was a false positive uninitialized scalar, Coverity 1523726. Hopefully, changing to UNREACHABLE() will help linters avoid this false positive in the future.
* Initialize xyw on this struct instantiation
For coverity 1523730
* Add early return for ade_set_args if error
For coverity 1523732
2023-10-31 13:49:44 -04:00
mjn-mixael
9da948be56
fix type mismatch
2023-10-30 15:16:16 -04:00
mjn-mixael
c738941ccf
Provide Lua a way to toggle the mainhall help overlay
2023-10-28 19:16:09 -04:00
Mike Nelson
ec706a6a87
Allow SCPUI saving current player data to file ( #5718 )
...
* Allow saving current player data to file
* return nil, dummy
* unused
2023-10-27 07:32:37 -04:00
mjn-mixael
5d6c34c2ab
Upgrade lua sound handle with pause/resume methods and channel selection
2023-10-25 08:31:06 -05:00
Mike Nelson
5986b7143f
Adds custom data for intel entries ( #5660 )
...
* adds custom data for intel entries
* update tests
* This one, too
2023-10-25 07:32:03 -04:00
Sébastien Noel
f149c36b44
Fix a few typos ( #5598 )
2023-10-24 20:33:45 -04:00
Goober5000
e621dbe997
Merge pull request #5464 from Goober5000/render_constify
...
add const where appropriate to the modelrender API
2023-10-21 15:57:24 -04:00
Mike Nelson
ad27664ebc
Pause and Resume voices ( #5636 )
...
* pause and resume voices
* Use newer styling rather than the sound.cpp styling
2023-10-21 10:23:53 -04:00
Goober5000
2fe182a4b1
Merge pull request #5604 from Goober5000/drawString_tweak
...
small speedup to drawString
2023-10-21 01:28:23 -04:00
Goober5000
60c2718b91
add spacing
2023-10-20 23:26:46 -04:00
Goober5000
ee27abf693
make CI happy
2023-10-20 16:23:50 -04:00
Goober5000
c8d78816b0
remaining const updates
2023-10-20 15:32:46 -04:00
Goober5000
0b2d4768f3
new sexp for waypoint index and backtrack
2023-10-20 14:58:17 -04:00
Goober5000
883ed32796
ai-disable-ship-tactical and ai-disarm-ship-tactical ( #5512 )
...
Add "tactical" versions of disable and disarm goals which only perform the specific task without implying anything else. The target ship is not protected and attack goals are not cleared from other ships.
There is also a new AI profiles flag to make this the default hud squad message command instead of the classic disable/disarm.
2023-10-19 07:50:49 -04:00
Tyler Blount
a9f5a11813
Merge pull request #5686 from MjnMixael/lua_add_scrollback
...
Lua add scrollback
2023-10-18 10:21:01 -07:00
mjn-mixael
b8728ed828
get team rather than team index
2023-10-18 08:59:24 -05:00
Goober5000
dad16f76c4
Merge pull request #5574 from Goober5000/generateWeaponGroupId
...
add mn.generateWeaponGroupId()
2023-10-17 20:06:27 -04:00
mjn-mixael
54341acb9b
allow use of enums
2023-10-16 15:54:53 -05:00
mjn-mixael
07fd188064
lua method to add a message directly to the message log.
...
(cherry picked from commit 1caceeaa2b9ebe654a102e293146dc23b9f3c2ee)
2023-10-16 15:21:37 -05:00
JohnAFernandez
a36157f582
Merge pull request #5540 from MjnMixael/lua_mod_root
...
LUA get mod root
2023-10-15 23:16:40 -04:00
JohnAFernandez
808f7a88c6
Merge pull request #5557 from MjnMixael/lua_launch_url
...
Lua method to launch arbitrary url
2023-10-15 23:15:08 -04:00
BMagnu
ea262f90c0
Make version parsing available ( #5655 )
...
* Make version parsing available
* Consolidate version parsing
* Recode version parsing and write test
* remove copy paste error
2023-10-16 01:44:25 +09:00
Goober5000
e132fcf74c
Merge pull request #5585 from Goober5000/beam_api_stuff
...
additional beam-related features for Lua
2023-10-15 12:41:05 -04:00
Goober5000
7a4df25fc5
Merge pull request #5566 from Goober5000/allowed_in_campaign
...
add AllowedInCampaign virtvar
2023-10-14 17:01:50 -04:00
Mike Nelson
08dfcc8b74
lua access to Support Ship availability ( #5570 )
2023-10-15 05:40:12 +09:00
Goober5000
be6a2b9196
add gr.killAllParticles ( #5481 )
...
Some scripts under development will benefit from access to the `particle::kill_all()` function.
2023-10-15 05:39:53 +09:00
Mike Nelson
02233fc439
Set timer padding sexp ( #5535 )
...
* set timer padding sexp
* allow negative padding
2023-10-15 05:39:33 +09:00
BMagnu
febd8cd2ad
Allow an asymmetric FOV / Frustrum ( #5657 )
...
* Enable Asymmetric Projection FOV
* Properly apply asymmetric FOV to g3_rotate_ functions
* De-CPP14-ify
* cleanup
* Make GCC happy
* Fix Vertical Asymmetric FOV
* Fix printf
2023-10-15 05:39:24 +09:00
Goober5000
3a46ed66ba
additional ShipStatus fixes
...
Update the Lua enums to be consistent with the new ShipStatus enums.
Separately, add an extra ship registry check in the event a ship doesn't exist in the ship registry.
2023-10-06 00:38:23 -04:00