Commit graph

405 commits

Author SHA1 Message Date
Yamagi
f0793d17f8 Change show_hostile from int to float and remove unnecessary casts.
In the vanilla code show_hostile was a qboolean what's clearly wrong.
For wome reasons I don't remember I changed it to an integer and added
the casts. This is problematic because show_hostile is derived from
level.time which is a float. The loss in precision broke some corner
cases like monsters becoming activated when they shouldn't.

Found, analyzed and reported by @BjossiAlfreds in yquake2/yquake2#525.
2020-03-10 10:18:21 +01:00
Yamagi
6fb2d6e4da Update CHANGELOG for 2.07. 2020-02-24 17:09:26 +01:00
Yamagi
b5c39542d2 Limit the fix against black debris to gibs, debris, monsters.
Pushing all entities slightly away from non-horizontal may let items to
slide to unreachable locations, or let monsters getting stuck.

This is part of yquake2/xatrix#50
2020-02-22 15:30:18 +01:00
NeonKnightOA
7bf7eff184 Fix: Turrets shooting faster while in melee range, which wasn't intended. 2020-02-15 20:01:30 -03:00
NeonKnightOA
a1786d614e Fix: Disguise isn't traspassed between levels. 2020-02-15 18:43:14 -03:00
Yamagi
3b55fc311a Remove unnecessary code, expression is aways false.
CheckTeamDamage() always returns false, so the condition always
evaluates to false.
2020-02-08 17:07:33 +01:00
Yamagi
efd9cd3de5
Merge pull request #62 from NeonKnightOA/skills
Easier handling of skill levels by using defines instead of numbers
2020-01-28 15:39:28 +01:00
NeonKnightOA
83fe44691d Easier handling of skill levels by using defines instead of numbers 2020-01-22 12:37:33 -03:00
Yamagi
6c833aae3e
Merge pull request #61 from BjossiAlfreds/holdframe
Fix mguard freeze bug and improvements to frame handling
2020-01-11 15:54:40 +01:00
BjossiAlfreds
0642b6aa18 Fix mguard freeze bug and improvements to frame handling 2020-01-10 17:04:19 +00:00
Yamagi
f7b99b07c3
Merge pull request #59 from BjossiAlfreds/timeout-fix
Fix for insane marines not firing deathtarget right away
2020-01-05 10:09:39 +01:00
BjossiAlfreds
ff465863b9 Fix for insane marines not firing deathtarget right away 2020-01-02 23:33:16 +00:00
Yamagi
97ede336aa
Merge pull request #58 from BjossiAlfreds/checkshot
Parasite blocked attack bugfix and dead code elimination
2020-01-02 14:32:27 +01:00
BjossiAlfreds
e04bd67aa3 Parasite blocked attack bugfix and dead code elimination 2020-01-01 21:50:07 +00:00
Yamagi
ccd16599ef
Merge pull request #57 from BjossiAlfreds/jump
Rogue jump code fixes
2019-12-16 16:21:28 +01:00
BjossiAlfreds
63d8755078 Rogue jump code fixes 2019-11-13 18:20:00 +00:00
Yamagi Burmeister
7d03e115bf Update CHANGELOG for the upcoming 2.06 release. 2019-11-10 18:28:56 +01:00
Yamagi
6196f3fb9a
Merge pull request #52 from BjossiAlfreds/plane
Safely use plane normal in rest of touch functions
2019-10-07 18:58:42 +02:00
Yamagi
afae76c97c
Merge pull request #54 from BjossiAlfreds/teslafixes
Fixed double/quad sounds and monsters not always reacting to teslas
2019-10-07 18:57:22 +02:00
BjossiAlfreds
4c8d063a55 Added check for inuse to G_RunEntity that was missing but necessary 2019-10-03 18:18:29 +00:00
BjossiAlfreds
bcc451a817 Fixed double/quad sounds and monsters not always reacting to teslas 2019-10-03 17:31:20 +00:00
BjossiAlfreds
ab53f4d422 Small fix to remove plane check from tracker_touch 2019-10-03 16:04:54 +00:00
BjossiAlfreds
fffd90af15 Safely use plane normal in touch funcs 2019-10-03 15:46:14 +00:00
Yamagi
9eead824c7
Merge pull request #51 from BjossiAlfreds/grenquad
Quad sound for quadded hand grenades and removed unused prox hand grenade stuff
2019-10-03 10:08:55 +02:00
Yamagi
21bb7b1c9a
Merge pull request #33 from BjossiAlfreds/pvs
Code fixes to address PVS report
2019-10-03 10:07:13 +02:00
BjossiAlfreds
4045f83cae Quad sound for quadded hand grenades and removed unused prox hand grenade stuff 2019-10-01 21:31:00 +00:00
BjossiAlfreds
bedf8cdd9d Plane check in blaster2_touch 2019-10-01 20:44:18 +00:00
BjossiAlfreds
1e4c4cc956 Merge remote-tracking branch 'upstream/master' into pvs 2019-10-01 19:33:52 +00:00
Yamagi
a61dfdcb08
Merge pull request #50 from BjossiAlfreds/cycleweap
Added cycleweap command for generalized xatrix-like weapon selection
2019-10-01 20:47:47 +02:00
BjossiAlfreds
80e179d067 Currently held weapon no longer part of the search 2019-09-29 11:45:44 +00:00
BjossiAlfreds
b25227fa10 Added cycleweap command 2019-09-29 11:30:26 +00:00
BjossiAlfreds
51b1eeb6a9 Merge branch 'master' into pvs 2019-09-28 15:25:51 +00:00
Yamagi Burmeister
4466b3111a Add back blindfire support lost in 99073e.
This was lost at the very beginning, when I first merged the baseq2 and
xatrix bugfixes into rogue. I did that by hand, not with my infamous
cleanup script. That came later for the big cleanup before version
2.00... For some reason my playstyle has a very low chance to trigger
blindfiring, so I never realized that it's missing and wasn't able to
reproduce the problem when it was reported in yquake2/yquake2#435.

Reported by @BjossiAlfreds in #34, closes #34.
2019-09-28 17:08:36 +02:00
Yamagi
b059224bc3
Merge pull request #49 from BjossiAlfreds/mutant
Restored mutant rogue features
2019-09-28 17:05:53 +02:00
Yamagi
65ea25f58e
Merge pull request #47 from BjossiAlfreds/float
Restored floater rogue features
2019-09-28 17:01:52 +02:00
Yamagi
2769c7cdfb
Merge pull request #46 from BjossiAlfreds/boss2
Restored boss2(hornet) rogue features and tweaks
2019-09-28 17:00:20 +02:00
Yamagi
6ba4d9d803
Merge pull request #45 from BjossiAlfreds/sidestep
Fixed monsters not sidestepping
2019-09-28 16:58:01 +02:00
Yamagi
f5d5331b8a
Merge pull request #43 from BjossiAlfreds/berserker
Restored berserker rogue features
2019-09-28 16:57:25 +02:00
Yamagi
c748ecbb53
Merge pull request #42 from BjossiAlfreds/gladiator
Restored blocked code for gladiator
2019-09-28 16:55:06 +02:00
BjossiAlfreds
2c9565314b Restored mutant rogue features 2019-09-28 03:47:30 +00:00
BjossiAlfreds
c7b32d15b4 Restored floater rogue features 2019-09-28 03:05:02 +00:00
BjossiAlfreds
d9ea84915e Restored boss2(hornet) rogue features and tweaks 2019-09-28 00:35:58 +00:00
BjossiAlfreds
6687001212 Fixed monsters not sidestepping 2019-09-27 23:33:01 +00:00
BjossiAlfreds
2c475d1dc5 Restored berserker rogue features 2019-09-27 22:48:03 +00:00
BjossiAlfreds
72922a60cc Restored blocked code for gladiator 2019-09-27 21:59:03 +00:00
BjossiAlfreds
704cc0178a Merge branch 'master' into pvs 2019-09-27 10:31:12 +00:00
Yamagi
f24de8d323
Merge pull request #37 from BjossiAlfreds/mysterymove
Fixed entities mysteriously teleporting to another location
2019-09-27 11:10:08 +02:00
Yamagi
5f46d72acd
Merge pull request #35 from BjossiAlfreds/makron
Fixed medics unable to heal makrons
2019-09-27 11:06:32 +02:00
BjossiAlfreds
48f7e38792 Merge branch 'master' into mysterymove 2019-09-26 14:03:12 +00:00
BjossiAlfreds
01c20df240 Merge branch 'master' into pvs 2019-09-26 14:02:30 +00:00