peelz
fb1005d255
Clean up dependencies
2022-08-09 17:50:00 -04:00
peelz
08836088fb
Refactor hooking API
...
This completely changes how method patching works under the hood. Unlike
the previous API (`Hook.HookMethod`), the new API (`Hook.Patch`)
generates a Harmony patch method at runtime, using IL generation.
This fixes methods with ByRef (out/ref) parameters getting silently corrupted
due to the ByRef semantics being lost when passed through the `object[] __args`
parameter.
This new API also makes it possible to:
- modify parameters (including ByRef params)
- change the return value to `null` (old API would use `return nil`
for Harmony control flow)
- prevent execution of the original method (and other harmony
patches), independently of modifying the return value
2022-08-09 17:50:00 -04:00
Evil Factory
9386181fce
Merge branch 'Regalis11:master' into master
2022-08-09 13:39:27 -03:00
Juan Pablo Arce
b17019db95
v0.18.15.1
2022-08-09 13:37:15 -03:00
EvilFactory
069567c681
LuaCs is now initialized after sub editor screen is first selected, added Game.IsSubEditor, Game.SubEditorScreen and registered editor screens
2022-07-27 20:01:20 -03:00
Evil Factory
a083f8f69e
fix compiler error
2022-07-14 12:33:31 -03:00
Evil Factory
c5860d13d5
Merge branch 'master' of https://github.com/Regalis11/Barotrauma.git
2022-07-14 12:25:44 -03:00
Regalis11
4a03ee5ab2
v0.18.15.0
2022-07-14 16:54:36 +03:00
Evil Factory
275bb9204d
chatMessage hook now works on singleplayer
2022-07-11 21:03:50 -03:00
Markus Isberg
497045de7e
Build 0.18.13.0
2022-07-01 12:16:36 +09:00
Evil Factory
3976fc8f64
make command cl_reloadlua freely usable
2022-06-20 18:32:54 -03:00
Evil Factory
349cf89eb5
Merge branch 'master' of https://github.com/Regalis11/Barotrauma.git
2022-06-17 10:33:06 -03:00
Regalis11
631e59e8b8
Hotfix v0.18.12.0
2022-06-17 16:10:25 +03:00
Evil Factory
916fd7522e
add Game.ForceVoice and Game.ForceLocalVoice
...
guess what i am going to use this for
2022-06-16 20:34:31 -03:00
Evil Factory
66c97ad100
re-add satellite resource language
2022-06-15 15:40:53 -03:00
Evil Factory
c647295ccb
fix projects
2022-06-15 15:28:02 -03:00
Evil Factory
7a09711296
Merge branch 'master' of https://github.com/Regalis11/Barotrauma.git
2022-06-15 13:26:49 -03:00
Markus Isberg
8e6c601162
Build 0.18.11.0
2022-06-16 01:03:48 +09:00
Markus Isberg
856f894203
Build 0.18.9.0
2022-06-14 04:14:47 +09:00
Markus Isberg
4f5a3bf8b9
Build 0.18.7.0
2022-06-08 21:52:38 +09:00
Evil Factory
0f72df789b
call round end on sub editor
2022-06-07 15:05:39 -03:00
Evil Factory
cac80c3d86
call round start on sub editor
2022-06-07 15:04:33 -03:00
Markus Isberg
5a10b444ee
Build 0.18.6.0
2022-06-04 00:34:02 +09:00
Markus Isberg
6be757a45b
Build 0.18.5.0
2022-06-03 22:29:04 +09:00
Markus Isberg
64db1a6a44
Build 0.18.4.0
2022-05-31 23:13:05 +09:00
Evil Factory
6922900bf1
Merge branch 'master' of https://github.com/Regalis11/Barotrauma.git
2022-05-30 12:29:28 -03:00
Juan Pablo Arce
f74787cd10
v0.17.16.0
2022-05-30 10:25:24 -03:00
Markus Isberg
077917fa5d
Build 0.18.2.0
2022-05-19 23:43:21 +09:00
Evil Factory
003aeb2cec
Update Harmony (fixes patch hooks being randomly removed)
2022-05-14 00:09:17 -03:00
Markus Isberg
d4f6f4cf88
Build 0.18.1.0
2022-05-13 22:55:07 +09:00
Markus Isberg
7547a9b78a
Build 0.18.0.0
2022-05-13 00:55:52 +09:00
Evil Factory
2630c8354c
added item.deconstructed hook, misc registers and luacs is now initialized before campaign/sub editor is loaded
2022-05-10 13:55:10 -03:00
Oiltanker
f5b2268150
doxygen cs documentation
2022-05-06 22:35:47 +03:00
Evil Factory
bbea195e7d
fix formatting in lua require and better error handling with dofile,loadfile,etc
2022-05-04 08:50:17 -03:00
Evil Factory
b322ba53be
fix naming
2022-05-04 07:56:54 -03:00
Evil Factory
0604a27efb
added performance counter for think hook
2022-04-30 12:54:34 -03:00
Evil Factory
af47136bbd
use cs package from backup packages
2022-04-29 14:00:53 -03:00
Evil Factory
be76cd5f35
Fix PR #74
2022-04-29 12:10:49 -03:00
Evil Factory
4277dd447c
Merge branch 'master' of https://github.com/Regalis11/Barotrauma.git
2022-04-28 12:36:24 -03:00
Markus Isberg
15d18e6ff6
Build 0.17.15.0
2022-04-27 23:32:17 +09:00
Markus Isberg
6e38444fc4
Build 0.17.14.0
2022-04-27 07:44:37 +09:00
Markus Isberg
7a09cf3260
Build 0.17.13.0
2022-04-22 21:48:04 +09:00
Evil Factory
fd0c3ba19d
Merge branch 'unstable-tests'
2022-04-21 11:21:30 -03:00
Evil Factory
0aa2976697
only allow cs commands if cs package present
2022-04-20 20:04:49 -03:00
Evil Factory
fb159fd93d
fix names
2022-04-20 15:55:10 -03:00
Evil Factory
5946a4c043
fix package names
2022-04-20 14:20:38 -03:00
Evil Factory
7817116ec1
forgor about linux client
2022-04-20 13:40:35 -03:00
Evil Factory
6246588072
change package name
2022-04-20 13:17:03 -03:00
Evil Factory
2b5d077d04
Merge branch 'master' of https://github.com/Regalis11/Barotrauma.git
2022-04-20 12:59:43 -03:00
Regalis11
6cc100d98c
Release 0.17.12.0 (Urban Expanses update)
2022-04-20 18:55:05 +03:00