Commit Graph

1465 Commits

Author SHA1 Message Date
Calcitem d0cd188028 flutter: Windows: Replace app_icon.ico 2021-02-17 18:15:10 +08:00
Calcitem cb6ca25c79 flutter: Deal with getExternalStorageDirectory and profile file reading exceptions 2021-02-17 12:16:37 +08:00
Calcitem 6ca7d1becd README.md: Update How to Build 2021-02-17 12:03:36 +08:00
Calcitem d734a4dd9d flutter: Update flutter-init.sh to support Windows Desktop 2021-02-17 11:50:52 +08:00
Calcitem ac95e9c123 flutter: Rename dir flutter to flutter_app 2021-02-17 11:45:04 +08:00
Calcitem c43509b7a5 flutter: ci: Change channel to dev 2021-02-17 11:16:41 +08:00
Calcitem 0825f933b9 flutter: Windows: Update .gitignore
Add:
flutter/generated_*
out/
2021-02-17 11:06:25 +08:00
Calcitem e0a1f8273e flutter: xCrash: Fix log string of xCrash log written 2021-02-17 10:44:08 +08:00
Calcitem 954108a467 flutter: Windows: Remove generated files 2021-02-17 10:37:47 +08:00
Calcitem d51022b7c0 flutter: Add Windows Desktop support
AI is not supported right now on Desktop.

See: https://flutter.dev/desktop#add-desktop-support-to-an-existing-app
2021-02-17 10:24:51 +08:00
Calcitem ba5ef99adc flutter: intl upgrade to v0.17.0 preview 2021-02-17 09:57:05 +08:00
Calcitem 0a3a9caf45 Support Skill Level (WIP) 2021-02-17 01:31:51 +08:00
Calcitem ed30ba8b80 Use iQIYI xCrash to capture java crash, native crash and ANR
Save crash log to Android\data\com.calcitem.sanmill\files\xcrash
File type is *.XCRASH

We can use:
ndk-stack -sym "src\ui\flutter\build\app\intermediates\cmake\debug\obj\arm64-v8a" -dump *.xcrash
To backtrace.

See: https://my.oschina.net/u/4484233/blog/4364482
2021-02-16 23:35:31 +08:00
Calcitem 8118e09e19 flutter: Add sentry for catcher but not enable 2021-02-16 19:16:45 +08:00
Calcitem b50e00a161 flutter: Add stack_trace
See: https://pub.dev/packages/stack_trace
2021-02-16 18:25:09 +08:00
Calcitem c984771662 flutter: Replace sentry by catcher and remove all try...catch... 2021-02-16 17:55:49 +08:00
Calcitem 96b2dd7533 flutter: sentry: Enable Sentry only on Release Mode 2021-02-16 15:15:46 +08:00
Calcitem 18e77e9003 flutter: Show mode on about page 2021-02-16 14:39:48 +08:00
Calcitem 914083d8d2 version: Upgrade version to v0.18.0 2021-02-16 13:12:16 +08:00
Calcitem c9e95e2a0f flutter: Add Sentry support
TODO: Initial Sentry only when the user agree to privacy policy.
2021-02-16 13:08:11 +08:00
Calcitem 1fb89e492c flutter: audio: Fix Android mediaPlayer error (-38,0)
Reference: https://blog.csdn.net/u014520745/article/details/46672327/
2021-02-16 12:22:03 +08:00
Calcitem a6e2694d69 flutter: Add game record button and do not build footer 2021-02-16 00:38:52 +08:00
Calcitem f92318b3a7 flutter: Change primary color from brown to green
See https://www.color-hex.com/color-palette/8548
2021-02-15 13:24:55 +08:00
Calcitem 2944bfc161 flutter: audio: AI play audio and do not play win/lose audios
AI do not play select audio.

This is a WAR solution for:
https://github.com/google/flutter.plugins/issues/54
2021-02-15 02:01:46 +08:00
Calcitem 125fd26d1a flutter: Add Audios and use them
Get royalty-free audios from:
https://www.adobe.com/products/audition/offers/AdobeAuditionDLCSFX.html

mill: Impact Bamboo Wooden Bamboo Cane Hit 02.wav
select: Impact Metal Object Solid Hit By Wooden Stick 01.wav
place: Impact Board Wood Hit By Wood Stick 02.wav
remove: Impact Coin Quarter Dropping On Wood Table 01.wav
jump: Human Crowd Jumping 03.wav
illegal: Human Arm Place On Desk 02.wav
go: Human Male Yells And Cheers Go 01.wav
win: Human Crowd Yeah 03.wav
draw: Human Cowboy Say Draw 01.wav
lose: Human Male Giggle Little Kid Giggle 01.wav

Convert to mp3 by https://online-audio-converter.com
2021-02-15 01:00:51 +08:00
Calcitem a6b12e6266 flutter: android: Localize App Name 2021-02-14 22:08:51 +08:00
Calcitem 0b308a5926 flutter: Update copyright to Calcitem Studio 2021-02-14 21:28:25 +08:00
Calcitem 3598c14644 flutter: main menu: Add Settings menu item and remove settings icon 2021-02-14 21:16:00 +08:00
Calcitem bd6a9f7289 flutter: Fix No @@locale or _locale field found in intl_en, assuming 'en' based on the file name 2021-02-14 21:04:41 +08:00
Calcitem 133dd70c9a flutter: Change game warning text font size to 11 and align center 2021-02-14 21:00:04 +08:00
Calcitem 5903de20ca flutter: Change App name font size to 48 2021-02-14 20:51:20 +08:00
Calcitem d9da832bdb qt: Update file and sw version and copyright year 2021-02-14 17:08:02 +08:00
Calcitem 6d7371d37c icon: Replace icons
Buy svg from:
https://www.iconfinder.com/commerce/order/221755

Create other icons png for flutter by:
https://icon.wuruihong.com

Create ico file for Qt by:
http://www.bitbug.net
2021-02-14 16:49:37 +08:00
Calcitem 4139b882c4 flutter: Change some Icon's color to darkTextSecondaryColor 2021-02-14 02:06:17 +08:00
Calcitem e8eb0fb875 flutter: Replace FlatButton to IconButton 2021-02-14 02:01:26 +08:00
Calcitem b0e051a06c flutter: Remove logo-mini.png 2021-02-14 01:34:42 +08:00
Calcitem 3d462ab705 flutter: icon: Replace Icons.settings to Icons.menu 2021-02-14 01:24:35 +08:00
Calcitem 22c5cebf53 flutter: Fix saved profile cannot load to config 2021-02-14 00:00:37 +08:00
Calcitem 71068d3ff3 flutter:Fix converting object to an encodable object failed: Instance of 'PlayerType' 2021-02-13 21:28:12 +08:00
Calcitem 14485a4799 refactor: depth: Move getSearchDepth() to Mills namespace 2021-02-13 18:01:10 +08:00
Calcitem 5a15eb7d6a flutter: Fix warnings 2021-02-12 23:00:16 +08:00
Calcitem e3711d624b flutter: Update version to v0.17.0 2021-02-11 14:10:20 +08:00
Calcitem 043d1f5a04 gcc: Fix build error 2021-02-11 14:09:53 +08:00
Calcitem e8ad3559bd endgame: Fix cannot start game when click 'New Game' 2021-02-11 00:35:08 +08:00
Calcitem f7a1c9a766 endgame: Fix build error when enable endgame learning
Known Issue: Cannot start game when click 'New Game'.
2021-02-11 00:19:16 +08:00
Calcitem d3d6b09ff3 Fix ResignIfMostLose cannot work 2021-02-10 22:48:56 +08:00
Calcitem 8cb285f215 perfect: Disable PERFECT_AI_SUPPORT macron
Only enable it when we want to test.
2021-02-10 20:48:34 +08:00
Calcitem 31b6c69363 Position::set() set them after setting sideToMove
Fix #71
2021-02-06 02:55:07 +08:00
Calcitem da4da92797 9mm: Fist move shuffle and do not only place on star point (Disabled) 2021-02-03 23:57:44 +08:00
Calcitem e3d373bef2 flutter: string: Add gameWarning English string 2021-02-03 23:57:44 +08:00