raze-gles/source/sw/src
pogokeen 222e593437 Change some clocks to support sub-tick precision using a new class, ClockTicks.
Using that higher precision, interpolate at a higher granularity.
Further, truncate the target interpolation time to vertical blank boundaries to avoid producing temporal artifacts.
Fix issues caused by interpolation calculations being handled differently in multiple places (and fix cases where smoothratios were being thrown away only to be redone without checking all proper conditions).
Ensure ClockTicks changes do not break other targets (EKenBuild, VoidSW), but note any interpolation there is not similarly updated.

git-svn-id: https://svn.eduke32.com/eduke32@8050 1a8010ca-5511-0410-912e-c29ae57300e0

# Conflicts:
#	source/build/src/build.cpp
#	source/build/src/sdlayer.cpp
2019-09-20 21:09:14 +02:00
..
_config.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
_functio.h SW: Fix const correctness issues. 2019-09-19 14:05:04 +02:00
_rts.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
actor.cpp Moved BUILD engine defined CSTAT enums into the BUILD engine side of the code base. 2018-02-16 06:38:31 +00:00
actor.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
ai.cpp Rename net.* to network.* 2019-09-19 12:20:45 +02:00
ai.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
ambient.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
anim.cpp Change some clocks to support sub-tick precision using a new class, ClockTicks. 2019-09-20 21:09:14 +02:00
anim.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
bldscript.cpp SW: Fix const correctness issues. 2019-09-19 14:05:04 +02:00
border.cpp SW: Fix -Wsizeof-pointer-memaccess 2019-09-19 14:06:16 +02:00
bots.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
break.cpp SW: Remove very bad externs. 2019-09-19 14:05:14 +02:00
break.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
brooms.cpp SW: Update calls to functions that have been renamed. 2019-09-19 14:05:25 +02:00
bunny.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
cache.cpp SW: Update calls to functions that have been renamed. 2019-09-19 14:05:25 +02:00
cache.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
cheats.cpp SW: Fix const correctness issues. 2019-09-19 14:05:04 +02:00
colormap.cpp SW: Update calls to functions that have been renamed. 2019-09-19 14:05:25 +02:00
colormap.h SW: Remove very bad externs. 2019-09-19 14:05:14 +02:00
common.cpp SW: Update calls to functions that have been renamed. 2019-09-19 14:05:25 +02:00
common_game.h Update some program names 2019-09-19 14:06:18 +02:00
config.cpp SW, KenBuild: Populate the default resolution values from the current desktop settings 2019-09-19 14:23:37 +02:00
config.h Update some program names 2019-09-19 14:06:18 +02:00
conpic.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
console.cpp SW: Fix -Waggressive-loop-optimizations 2019-09-19 14:23:36 +02:00
coolg.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
coolie.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
copysect.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
damage.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
demo.cpp Rename net.* to network.* 2019-09-19 12:20:45 +02:00
demo.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
digi.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
draw.cpp Change some clocks to support sub-tick precision using a new class, ClockTicks. 2019-09-20 21:09:14 +02:00
eel.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
function.h SW: Fix const correctness issues. 2019-09-19 14:05:04 +02:00
game.cpp Change some clocks to support sub-tick precision using a new class, ClockTicks. 2019-09-20 21:09:14 +02:00
game.h SW: Fix const correctness issues. 2019-09-19 14:05:04 +02:00
gamedefs.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
GameListSource.game.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
GameListSource.game.mm The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
girlninj.cpp Rename net.* to network.* 2019-09-19 12:20:45 +02:00
goro.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
GrpFile.game.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
GrpFile.game.mm The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
grpscan.cpp SW: Fix -Wcast-qual in grpscan 2019-09-19 14:06:03 +02:00
grpscan.h SW: Fix -Wcast-qual in grpscan 2019-09-19 14:06:03 +02:00
hornet.cpp SW: Fix types of min/max statements 2019-09-19 14:05:08 +02:00
interp.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
interp.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
interpsh.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
inv.cpp SW: Update calls to functions that have been renamed. 2019-09-19 14:05:25 +02:00
inv.h SW: Fix const correctness issues. 2019-09-19 14:05:04 +02:00
jbhlp.cpp SW: Fix const correctness issues. 2019-09-19 14:05:04 +02:00
jnames.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
jnstub.cpp Change some clocks to support sub-tick precision using a new class, ClockTicks. 2019-09-20 21:09:14 +02:00
jplayer.cpp Change some clocks to support sub-tick precision using a new class, ClockTicks. 2019-09-20 21:09:14 +02:00
jsector.cpp Change some clocks to support sub-tick precision using a new class, ClockTicks. 2019-09-20 21:09:14 +02:00
jsector.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
jtags.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
jweapon.cpp Rename net.* to network.* 2019-09-19 12:20:45 +02:00
keys.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
lava.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
light.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
light.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
lists.h SW: Replace void* with decltype(o) in TRAVERSE define. 2019-09-19 14:05:18 +02:00
mclip.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
mclip.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
mdastr.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
menus.cpp Change some clocks to support sub-tick precision using a new class, ClockTicks. 2019-09-20 21:09:14 +02:00
menus.h SW: Remove very bad externs. 2019-09-19 14:05:14 +02:00
mfile.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
miscactr.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
morph.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
mytypes.h Eliminate many cases of duplication of compat.h's functionality. 2017-02-19 22:15:56 +00:00
names.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
names2.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
network.cpp Change some clocks to support sub-tick precision using a new class, ClockTicks. 2019-09-20 21:09:14 +02:00
network.h SW: Fix const correctness issues. 2019-09-19 14:05:04 +02:00
ninja.cpp SW: Update calls to functions that have been renamed. 2019-09-19 14:05:25 +02:00
ninja.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
pal.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
panel.cpp SW: Add casts to void pointers where needed 2019-09-19 14:05:12 +02:00
panel.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
parent.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
parse.h SW: Fix const correctness issues. 2019-09-19 14:05:04 +02:00
player.cpp SW: Update calls to functions that have been renamed. 2019-09-19 14:05:25 +02:00
player.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
predict.cpp Rename net.* to network.* 2019-09-19 12:20:45 +02:00
quake.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
quake.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
reserve.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
ripper.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
ripper2.cpp SW: Fix -Warray-bounds 2019-09-19 14:23:26 +02:00
rooms.cpp SW: Update calls to functions that have been renamed. 2019-09-19 14:05:25 +02:00
rotator.cpp Rename net.* to network.* 2019-09-19 12:20:45 +02:00
rts.cpp SW: Update calls to functions that have been renamed. 2019-09-19 14:05:25 +02:00
rts.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
save.cpp SW: Fix -fpermissive function pointer type errors 2019-09-19 14:05:55 +02:00
saveable.cpp Route all inclusion of libc headers and most of POSIX headers through compat.h. 2017-02-25 08:15:36 +00:00
saveable.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
savedef.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
scrip2.cpp SW: Fix -Wmisleading-indentation 2019-09-19 14:06:11 +02:00
sector.cpp SW: Fix -Wlogical-op 2019-09-19 14:06:16 +02:00
sector.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
serp.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
settings.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
setup.cpp Change some clocks to support sub-tick precision using a new class, ClockTicks. 2019-09-20 21:09:14 +02:00
skel.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
skull.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
slidor.cpp Rename net.* to network.* 2019-09-19 12:20:45 +02:00
slidor.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
sounds.cpp SW: Fix -Wabsolute-value 2019-09-19 14:23:28 +02:00
sounds.h SW: Deal with how C++ does not implicitly convert enums to or from ints 2019-09-19 14:05:13 +02:00
spike.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
sprite.cpp SW: Fix -Wformat-security 2019-09-19 14:23:25 +02:00
sprite.h SW: Fix const correctness issues. 2019-09-19 14:05:04 +02:00
stag.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
startgtk.game.cpp Common.mak: Massive reorganization/cleanup. 2017-06-09 06:38:42 +00:00
StartupWinController.game.mm The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
startwin.game.cpp SW: Fix -Wint-to-pointer-cast 2019-09-19 14:06:09 +02:00
startwin.game.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
sumo.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
sw_strs.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
swconfig.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
sync.cpp SW: Make the function GetSyncInfoFromPacket in sync.cpp match the declaration in net.cpp. Fixed signed-ness of lumplockbyte to stop unresolved externals. 2019-09-19 14:05:17 +02:00
tags.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
text.cpp SW: Fix -Wformat-security 2019-09-19 14:23:25 +02:00
text.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
track.cpp SW: Fix -Wlogical-op 2019-09-19 14:06:16 +02:00
track.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
trigger.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
vator.cpp Rename net.* to network.* 2019-09-19 12:20:45 +02:00
vis.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
vis.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
wallmove.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
warp.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
warp.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
weapon.cpp Change some clocks to support sub-tick precision using a new class, ClockTicks. 2019-09-20 21:09:14 +02:00
weapon.h SW: Remove very bad externs. 2019-09-19 14:05:14 +02:00
zilla.cpp The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
zombie.cpp Rename net.* to network.* 2019-09-19 12:20:45 +02:00