aboutsummaryrefslogtreecommitdiff
path: root/build/android/native
Commit message (Collapse)AuthorAge
* Move build/android directory to root of project (#11283)NeroBurner2021-06-21
|
* Update Android build configsfan52021-04-09
|
* Android: Update Gradle, NDK, Build Tools, and SQLite version (#10833)Muhammad Rifqi Priyo Susanto2021-01-20
|
* Android: update gradle, NDK and built tools versionMaksim2020-10-13
|
* Android: get deps as a zip archive and sqlite3 from official sourceMaksim2020-10-13
|
* Implement spawning particles with node texture appearancesfan52020-05-23
|
* Android: some java-part improvements (#9760)Maksim2020-05-04
| | | | | | | | Replace Log to Toast. Start Native only after successful unpacking. Light refactoring in CopyZipTask. Update NDK version. Co-authored-by: ubulem <berkut87@gmail.com>
* Android: add Android Studio support, completely redone java part (#9066)Maksim2020-04-15
"hl opt">, y=0}, text = text, scale = {x=200, y=60}, alignment = {x=0, y=0}, }) hud.oldText=text return elseif hud.oldText ~= text then player:hud_change(hud.id, "text", text) hud.oldText=text end end function advtrains.hud_train_format(train, flip) local fct=1 if flip then fct=-1 end if not train then return "" end local max=advtrains.all_traintypes[train.traintype].max_speed or 10 local vel=advtrains.abs_ceil(train.velocity)*fct local tvel=advtrains.abs_ceil(train.tarvelocity)*fct local firstLine, secondLine if vel<0 then firstLine="Speed: <"..string.rep("_", vel+max)..string.rep("+", -vel).."|"..string.rep("_", max)..">" else firstLine="Speed: <"..string.rep("_", max).."|"..string.rep("+", vel)..string.rep("_", max-vel)..">" end if tvel<0 then secondLine="Target: <"..string.rep("_", tvel+max)..string.rep("+", -tvel).."|"..string.rep("_", max)..">" else secondLine="Target: <"..string.rep("_", max).."|"..string.rep("+", tvel)..string.rep("_", max-tvel)..">" end if vel==0 then return firstLine.."\n"..secondLine.."\nup for forward, down for backward, use to get off train. " elseif vel<0 then return firstLine.."\n"..secondLine.."\nPress up to decelerate, down to accelerate, sneak to stop." elseif vel>0 then return firstLine.."\n"..secondLine.."\nPress up to accelerate, down to decelerate, sneak to stop." end end