Commit graph

50 commits

Author SHA1 Message Date
Yair Morgenstern
c1d3ac2604 Added timers to see what's taking so long. It's the fonts - 11 seconds to load Chinese characters.
Specifically, putGlyph. Which makes sense, since it's basically rendering 3000 images into the memory for Chinese.
2019-11-28 22:10:26 +02:00
Yair Morgenstern
8854cafc96 Added linux files for jar 2019-11-27 21:03:14 +02:00
Yair Morgenstern
8232ca3aee Dammit packr 2019-11-27 20:26:09 +02:00
Yair Morgenstern
3d556b6236 Use the packrConfig json again 2019-11-27 20:16:53 +02:00
Yair Morgenstern
03beb73e08 Can't use the same cache for Linux and Windows - for now lets ignore it entirely 2019-11-26 23:37:13 +02:00
Yair Morgenstern
f27611710d My entire use of Packr has been a lie - it needs a JDK corresponding to the destination platform 2019-11-26 23:11:00 +02:00
Yair Morgenstern
405536beba I think the Windows64 executables haven't been compiling well from the get-go... 2019-11-26 22:18:07 +02:00
Yair Morgenstern
d53a67802e Removed another huge JavaFX file 2019-11-26 21:38:32 +02:00
Yair Morgenstern
dac044b2f8 Forgot to set the JDK back for travis, gah 2019-11-26 20:58:17 +02:00
Yair Morgenstern
5d59f25532 Added packr config, shrinking final zip from 80MB to 50MB! 2019-11-26 20:47:31 +02:00
Yair Morgenstern
3fad0985b4 Attempt to use GL 3.0 when possible 2019-11-25 06:34:02 +02:00
Yair Morgenstern
9580e8cb38 Let's see if it can use the local JAVA_HOME from Travis since it doesn't seem to like downloading large external files 2019-11-24 23:41:27 +02:00
Yair Morgenstern
e35ed4b983 Maybe now 2019-11-24 22:50:58 +02:00
Yair Morgenstern
b312432c37 Now with JDK from da internets 2019-11-24 22:32:16 +02:00
Yair Morgenstern
f626381c31 I think we're ready to pack! 2019-11-24 22:22:47 +02:00
Yair Morgenstern
5227bcab7f
Only run packr if jar exists 2019-11-24 08:05:04 +02:00
Yair Morgenstern
c0ace9f0d4 packrWindows now dependant on dist 2019-11-24 00:28:39 +02:00
Yair Morgenstern
2a139ff732 Resolved #1364 - Policy picker screen won't appear from the world screen if there are no possible policies to pick 2019-11-24 00:02:28 +02:00
Yair Morgenstern
095deee125 UncivGame rename 2019-11-23 22:28:23 +02:00
Yair Morgenstern
1230b00688 Fixed crash in tile editor as a result of adding Fallout, which has no "occursOn" terrains 2019-11-23 21:35:03 +02:00
Yair Morgenstern
4844a98af1 Discord RPC now works from Desktop .Jar! 2019-11-21 23:01:38 +02:00
Yair Morgenstern
e00bdf77d6 Apparently the Discord RPC doesn't like being run from the JAR, disabled until it can work 2019-11-21 18:50:10 +02:00
Yair Morgenstern
62fd7d8588 Desktop Unciv now sends status to Discord!
Basically stole the Discord RPC implementation outta Mindustry
2019-11-21 16:24:27 +02:00
Yair Morgenstern
bfd6376612 Set icon and title for Desktop games 2019-11-18 22:04:45 +02:00
Yair Morgenstern
7a02019b7c Resolved #1340
Apparently some chipsets, like NVIDIA Tegra 3 graphics chipset (used in Asus TF700T tablet), don't support non-power-of-two texture sizes - kudos @yuroller!
2019-11-17 20:15:10 +02:00
Yair Morgenstern
dd8f812465 Units &c updated! 2019-11-16 19:42:34 +02:00
Yair Morgenstern
85fbbaaa6d Checking if we can remove some lines from the Travis file to speed up build time 2019-11-15 09:27:13 +02:00
Yair Morgenstern
292ca7a908 HOT DAMN Unciv now works from desktop:dist and the command line! 2019-11-14 23:54:52 +02:00
Yair Morgenstern
9ad2851b80 Gradle changes so the desktop:dist will work. still not 100% since I can't get it to recognize Kotlin yet 2019-11-11 23:17:12 +02:00
Yair Morgenstern
b0e29c5d3c City-state alliance Bugfix 2019-11-11 21:07:16 +02:00
lishaoxia1985
62a85cd14a can use native font and "WenQuanYimicroHei" in andriod and desktop (#1013)
* Update Other.json

* Update Notifications.json

* Update Other.json

* Can Change Language With No "ttf" Font

* update

* Update AndroidLauncher.java

* repair app running slowly in using no "tff" class

* Can Change Language with No "ttf" Font (#772)

* Update Other.json

* Update Notifications.json

* Update Other.json

* Can Change Language With No "ttf" Font

* update

* Update AndroidLauncher.java

* repair app running slowly in using no "tff" class

* update nativefont for Desktop and IOS

* Delete NativeFontIOS.java

* can choose nativefont or font downloading from internet

* update

* update

* Update Fonts.kt

* Update Fonts.kt

* update

* update

* update

* update

* Update build.gradle

* update

* update

* update

* can choose native font or "WenquanYiMicroHei"

* update

* update

* update

* update
2019-09-01 13:01:37 +03:00
Yair Morgenstern
185ec10f10 Can now see when city contains air units 2019-07-03 23:32:17 +03:00
martin
c31f6bc7dd show context menu entry only if roads are researched 2019-05-23 07:57:34 +03:00
Yair Morgenstern
d902db0af0 Updated gradle wrapper 2019-04-24 09:47:33 +03:00
Yair Morgenstern
69d3703543 Resolved #595 - Added release version to options table 2019-03-21 22:46:49 +02:00
Yair Morgenstern
baed1e50cd Returned tile info table in the city screen, construction scroll now translated, added city screen translations to translations file - #417 2019-01-22 21:48:30 +02:00
Yair Morgenstern
b776bd777c Google suspended the app because of "Impersonation" violation =(
Changed library name from com.unciv.game to com.unciv.app for app change
2019-01-02 22:07:47 +02:00
Yair Morgenstern
2605ce6b71 Once a unit has gained more than 30 XP it won't gain XP from barbarians
AI units now always unfortify/unsetup after moving
2018-08-30 22:13:07 +03:00
Yair Morgenstern
17e440d557 Added building icons!
There are now images of the current construction in the construction picker screen, the city screen and the world map!
2018-08-29 14:03:18 +03:00
Yair Morgenstern
5d3c7a3a5e Replaced city connection icon, luxury resources now have a smiley next to them and strategic resources have a production symbol 2018-08-27 17:17:14 +03:00
Yair Morgenstern
86464ccdb0 Many UI updates are now done on the clone, so we won't get concurrency exceptions 2018-08-25 23:15:40 +03:00
Yair Morgenstern
fee0b718ec Shrunk game size by 15% by including the images only when packed 2018-08-13 08:56:15 +03:00
Yair Morgenstern
e51ac717d7 Better circle image, images no longer look all pixellated 2018-08-10 11:34:30 +03:00
Yair Morgenstern
c67d515ec4 Organized all game images and added TexturPacker to pack them all into a single image, with an atlas to find the texture regions -
MASSIVE boost in rendering performance!
2018-08-10 11:05:21 +03:00
Yair Morgenstern
fb1f381f06 Added FreeType, which lets us use whatever fonts we want 2018-05-01 21:41:02 +03:00
Yair Morgenstern
ca7fb9c3be Multiple IDE-suggested fixes 2018-04-11 23:46:00 +03:00
Yair Morgenstern
9253c40085 Added Kotlin! 2018-02-23 15:36:13 +02:00
Yair Morgenstern
6a2f4a07f1 Major overhaul - all tree items now have transient pointers to their parents, eliiminating the need for static calls for Civilization.Current and the like - neccesary if we want to have multiple civilizations 2018-02-23 12:57:52 +02:00
Yair Morgenstern
546472b528 Organized classes into folders 2018-01-11 22:22:51 +02:00
Yair Morgenstern
0319602092 Initial commit 2017-11-22 00:09:35 +02:00