|
Post by Marandal on Feb 24, 2020 14:04:24 GMT -5
I have little experience in source and had questions about g_func_decs g_func_list g_mmove_decs g_mmove_list
I don't know what these are for.
|
|
|
Post by knightmare on Feb 24, 2020 14:25:28 GMT -5
Those are function and mmove struct lists/prototypes for the savegame pointer tables. They are generated by tools_bin/extractfuncs.exe. This allows savegames to work across different builds of the game DLL (as long as core data structures aren't changed), which was previously impossible.
If you add/change any functions in the game code, you'll need to run tools_bin/extractfuncs.bat to rebuild those headers.
Also, if you add new functions, you must not make them static (only visible in local code file), as those can't be linked across code files.
|
|
|
Post by Marandal on Feb 24, 2020 14:27:25 GMT -5
Oh that's awsome! thanks 😊
i'm definitely adding your description into those headers.
|
|
|
Post by Marandal on Feb 29, 2020 21:33:31 GMT -5
When hitting a wall at high speed (on Jump maps)you get injured. would that be easy to disable?
|
|
|
Post by knightmare on Feb 29, 2020 22:10:31 GMT -5
Just comment out the call to P_SlamDamage() in p_view.c->ClientEndServerFrame().
|
|
|
Post by Marandal on Mar 1, 2020 0:40:24 GMT -5
Oh, wow that's easy. Thanks Kman 😊
|
|
|
Post by knightmare on Mar 1, 2020 15:06:45 GMT -5
You're welcome. And don't call me "Kman".
|
|