mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-05-30 16:50:50 +00:00
- more cleanup
Moving init code and key binding getter to backend
This commit is contained in:
parent
4f4fc1a8d4
commit
901b86577e
10 changed files with 49 additions and 125 deletions
|
@ -1030,16 +1030,12 @@ void G_DisplayRest(int32_t smoothratio)
|
|||
}
|
||||
else
|
||||
{
|
||||
#ifdef __ANDROID__
|
||||
CONTROL_Android_ScrollMap(&ud.fola, &ud.folx, &ud.foly, &pp->zoom);
|
||||
#else
|
||||
if (!ud.pause_on)
|
||||
{
|
||||
ud.fola += ud.folavel>>3;
|
||||
ud.folx += (ud.folfvel*sintable[(512+2048-ud.fola)&2047])>>14;
|
||||
ud.foly += (ud.folfvel*sintable[(512+1024-512-ud.fola)&2047])>>14;
|
||||
}
|
||||
#endif
|
||||
cposx = ud.folx;
|
||||
cposy = ud.foly;
|
||||
cang = ud.fola;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue