Commit graph

15338 commits

Author SHA1 Message Date
Christoph Oelckers
fd3d95dbe2 - disable alternative weapon menu item for Witchaven. 2021-11-25 00:11:34 +01:00
Christoph Oelckers
acf442f687 - WH: fixed custom CCMD setup. 2021-11-25 00:09:59 +01:00
Christoph Oelckers
8ad31a03ed - WH: make screen blends work. 2021-11-24 23:43:15 +01:00
Christoph Oelckers
de61f6d746 - fixed two bugs that revealed themselves after fully migrating to the actor system. 2021-11-24 23:11:31 +01:00
Christoph Oelckers
46ecd2b652 - minor cleanup of index variables in sectortype and walltype. 2021-11-24 22:55:48 +01:00
Christoph Oelckers
a30450d6fb - all shorts done! 2021-11-24 22:52:55 +01:00
Christoph Oelckers
620cc72f0e - global search & replace for daang and osectnum. 2021-11-24 22:49:37 +01:00
Christoph Oelckers
aaa5bd384b - made dynamic sprite name variables full ints.
Here the shorts won't save anything at all, they also get 4 byte aligned by the compiler.
2021-11-24 22:48:19 +01:00
Christoph Oelckers
cc389cc3b3 - WH: removed all (short) casts. 2021-11-24 22:47:45 +01:00
Christoph Oelckers
8cb68f1b12 - we're done here! 2021-11-24 22:46:11 +01:00
Christoph Oelckers
352dbe74df - almost done... 2021-11-24 22:43:39 +01:00
Christoph Oelckers
317f13d167 - getting closer to the end. 2021-11-24 22:40:39 +01:00
Christoph Oelckers
1128d20747 - another cleanup batch. 2021-11-24 22:36:39 +01:00
Christoph Oelckers
35ba63cb3e - another batch of smaller stuff. 2021-11-24 22:30:37 +01:00
Christoph Oelckers
0138f7e333 - some smaller stuff.
# Conflicts:
#	source/games/whaven/src/input.cpp
2021-11-24 22:28:22 +01:00
Christoph Oelckers
756f11f746 - the rest of the owner stuff. 2021-11-24 22:21:06 +01:00
Christoph Oelckers
fe35c4121a - aiGetPlayerTarget 2021-11-24 22:12:59 +01:00
Christoph Oelckers
1d9d2ac457 - handle half of the owner references.
Only unambiguous ones so far.
2021-11-24 22:12:52 +01:00
Christoph Oelckers
372cfbc4e1 - owner wrapper stuff 2021-11-23 12:31:49 +01:00
Christoph Oelckers
11f459cd83 sprite[plr.spritenum] globally replaced. 2021-11-23 12:31:00 +01:00
Christoph Oelckers
56494526d5 - monsterweapon 2021-11-23 12:29:09 +01:00
Christoph Oelckers
d9ad0661f7 - second half of AI code complete (again, without owner) 2021-11-23 12:26:14 +01:00
Christoph Oelckers
758bf78c81 - first half of AI code fully cleaned up (except owner) 2021-11-23 12:25:00 +01:00
Christoph Oelckers
04218f4f89 -premap functions. 2021-11-23 12:22:11 +01:00
Christoph Oelckers
398207aa31 - eliminated the remaining setsprite calls. 2021-11-23 12:17:21 +01:00
Christoph Oelckers
d039c82037 - insertsprite 2021-11-23 12:15:52 +01:00
Christoph Oelckers
486066e02d - attack() 2021-11-23 12:11:37 +01:00
Christoph Oelckers
e8101ed970 - spritesound 2021-11-23 12:10:04 +01:00
Christoph Oelckers
48f41a143f - use actors in a large parts of spritesound calls. 2021-11-23 12:07:53 +01:00
Christoph Oelckers
09950ffa0a - checkfluid 2021-11-23 12:05:10 +01:00
Christoph Oelckers
5b84755aed - do the same for plr.sector to eliminate another large batch of sector[] references. 2021-11-23 12:00:45 +01:00
Christoph Oelckers
dcee283154 - use sector accessor in spritetype.
This removes more than 1/3 of all sector[] references at once.
2021-11-23 11:59:15 +01:00
Christoph Oelckers
d39efeb1c2 - handle zr_florhit. 2021-11-23 11:56:28 +01:00
Christoph Oelckers
2b73adb5a5 - 5 newstatus calls + 3 deletesprite calls. 2021-11-23 11:53:42 +01:00
Christoph Oelckers
858ac6bf35 - damageactor 2021-11-23 11:51:38 +01:00
Christoph Oelckers
705c89de68 - handle the rest of the collision code. 2021-11-22 00:12:02 +01:00
Christoph Oelckers
bd3b94f93e - preparations for handling movesprite.
Renaming variables and removing type casts to make all calls uniform.
2021-11-22 00:09:11 +01:00
Christoph Oelckers
44c95673a1 - aimove + aifly return value.
This takes care of most checks of Build collision values.
2021-11-22 00:06:10 +01:00
Christoph Oelckers
47436c58d7 - WH: enable sprite interpolation.
For all games: completely disable interpolation by setting smoothratio to 1 when cl_interpolate == 0 or cl_capfps == 1.
2021-11-21 23:49:37 +01:00
Christoph Oelckers
11831b0a26 - WH: enabled interpolations. 2021-11-21 23:07:53 +01:00
Christoph Oelckers
8b213edf4c - chunksofmeat 2021-11-21 16:43:06 +01:00
Christoph Oelckers
c74c868dce - castspell 2021-11-21 16:41:34 +01:00
Christoph Oelckers
068f887892 - deleted a large number of unused GetSpriteIndex calls. 2021-11-21 16:40:47 +01:00
Christoph Oelckers
89e687f166 - checkdist 2021-11-21 16:40:19 +01:00
Christoph Oelckers
722f836869 - aiFly 2021-11-21 16:38:29 +01:00
Christoph Oelckers
970dc3c96a - aisearch 2021-11-21 16:37:45 +01:00
Christoph Oelckers
fc90343673 - processfluid 2021-11-21 16:33:09 +01:00
Christoph Oelckers
290d539200 - 3 more sprite spawns de-indexed. 2021-11-21 16:31:25 +01:00
Christoph Oelckers
799cddfb66 - replaced the deletesprite calls inside the item interface, also using actors in callbacks. 2021-11-21 16:29:08 +01:00
Christoph Oelckers
99f0c89e4e - replaced most deletesprite calls outside the item interface. 2021-11-21 16:27:16 +01:00