Commit Graph

83 Commits (master)

Author SHA1 Message Date
Lars Müller c48b282c0b
0.4.x support: Don't rely on undefined behavior 2022-07-24 10:12:16 +02:00
Lars Mueller 5ecf600fda Fix crash for invalid player object 2022-05-19 10:19:14 +02:00
Lars Müller ec05529344
Update Readme regarding compat & model format 2022-05-15 15:35:48 +02:00
Lars Mueller ac23e9f7dd Add 0.4.x support 2022-05-14 11:55:10 +02:00
Lars Mueller 9a36d1a4aa Bump modlib version requirement 2022-05-13 12:21:50 +02:00
Lars Mueller 2215e758c9 Convert indentation to tabs 2022-05-13 12:19:27 +02:00
Lars Mueller 4e04d6b219 Regenerate settingtypes & readme 2022-05-13 12:18:44 +02:00
Lars Mueller 92751cf03e Fix schema 2022-05-13 12:17:03 +02:00
Lars Mueller 10afa0baaa Fix sign of yaw rotations 2022-05-12 20:13:06 +02:00
Lars Mueller f37e8785f2 Fix crash in multiplayer
by initializing playerdata when accessing it if necessary
2022-05-12 14:46:20 +02:00
Lars Mueller 2e6ff66838 Fix B3D reading on Windows 2022-05-12 14:21:05 +02:00
Lars Mueller 6cc339b503 Don't reset animation if frame range is unchanged
The engine apparently handles this the same way
2022-05-12 13:04:05 +02:00
Lars Mueller 9e67cb36a8 Change if to hard assertion 2022-05-12 12:34:32 +02:00
Lars Mueller 2e2df7cc3f Remove bad TODO
Look direction is relative to eye pos anyways
2022-05-12 12:13:19 +02:00
Lars Mueller b59f1fe0b0 Set empty overrides to nil 2022-05-12 12:12:11 +02:00
Lars Mueller 34c32db36c Remove minor hack 2022-05-12 12:10:32 +02:00
Lars Mueller ce4169a725 Get rid of modlib env hacks entirely 2022-05-12 12:06:21 +02:00
Lars Mueller 19aa47c3bc Don't rely on modlib env hacks, remove dead code 2022-05-12 12:02:38 +02:00
Lars Mueller d3d2799105 Schema: Make `range` not an upvalue of itself 2022-05-12 11:58:23 +02:00
Lars Mueller 121b5bf5b2 Remove obsolete assertion 2022-05-12 11:56:56 +02:00
Lars Mueller 0a3dc65121 Improve EOF assertion 2022-05-12 11:52:58 +02:00
Lars Mueller c8aaf5fccc Add .luacheckrc 2022-05-12 11:50:24 +02:00
Lars Mueller af77ba9d69 Localize quaternions 2022-05-12 11:50:21 +02:00
Lars Mueller aac5a76242 Break long lines, move bone check to correct place 2022-05-12 11:46:02 +02:00
Lars Mueller 6b0c2b1355 Include modlib version check 2022-05-12 10:47:01 +02:00
Lars Mueller a4eb93d5bc Restore body "lag behind" behavior 2022-05-11 20:12:21 +02:00
Lars Mueller c4c1d70f77 Fix handling of attachment rotations 2022-05-11 20:10:06 +02:00
Lars Mueller 7313a1627f Fix right arm rotation 2022-05-11 19:59:21 +02:00
Lars Mueller e6d9725583 Fix crash if player_api isn't available 2022-05-11 19:50:29 +02:00
Lars Mueller d8e978243a Fix incorrect total rotation 2022-05-11 19:47:20 +02:00
Lars Mueller e43b2c4752 Fix crash 2022-05-11 19:36:37 +02:00
Lars Mueller 052faab975 Merge branch 'disable-local-anim' into modlib-b3d 2022-05-11 19:36:08 +02:00
Lars Mueller 57880e5b7a Get rid of hacks (breaks attached animations) 2022-05-11 19:34:20 +02:00
Lars Mueller e503b04040 Redirect all animations through character_anim
Clean implementation by hooking PlayerRef methods
2022-05-11 19:25:42 +02:00
Lars Mueller 049a807c78 Merge remote-tracking branch 'origin/master' into modlib-b3d 2022-03-05 01:31:01 +01:00
Lars Mueller 023390ef0c Fix crash if set_bone_pos is called on entities 2021-12-26 01:44:08 +01:00
Lars Mueller 5f14d96eec Merge branch 'master' into modlib-b3d 2021-10-10 13:18:26 +02:00
Lars Mueller 9e50e25cb5 Add an API for setting bone overrides 2021-10-10 13:18:09 +02:00
Lars Mueller 2255f1cbdb Merge branch 'master' into modlib-b3d 2021-10-10 12:32:47 +02:00
Lars Mueller 8082cfb9d3 Regenerate configuration section 2021-10-10 12:32:24 +02:00
Lars Mueller b7bdb090f5 Load B3D models lazily from foreign media paths 2021-10-10 12:31:17 +02:00
Lars Mueller 803d31fa66 First attempt at switching to b3d 2021-04-02 21:17:36 +02:00
Lars Mueller 3117bfb779 Fix rotations for changing body pitch 2021-04-01 14:04:34 +02:00
Lars Mueller 4ed9087d68 Fix rotations if player attached 2021-04-01 13:25:43 +02:00
Lars Mueller c1741a1048 Switch to modlib quaternions 2021-04-01 01:12:38 +02:00
Lars Mueller bcef6d2e39 Switch to newer modlib.mod.configuration() 2021-04-01 00:56:32 +02:00
Lars Mueller 34751e62f9 Fix global warnings if strictness is enabled 2021-01-17 18:16:37 +01:00
Lars Mueller 1dab70eb10 Lua 5.1 support & mod security compliance 2021-01-05 20:27:44 +01:00
Lars Mueller 7e4b670cd6 Replace math.pow by ^ 2020-12-19 15:18:08 +01:00
Lars Mueller 8eff7626a4 Fix Readme header levels 2020-11-29 15:24:42 +01:00