Commit Graph

1776 Commits

Author SHA1 Message Date
Calcitem 4f0da829f8 flutter: Use part of Best-Flutter-UI-Templates
See: https://github.com/mitesh77/Best-Flutter-UI-Templates
2021-02-21 01:42:41 +08:00
Calcitem e402a69826 flutter: Change dialog to transparent when showing move history
And allow to copy to Clipboard.
2021-02-19 00:11:07 +08:00
Calcitem 63276fa9cc win32: Disable warning 4996 and do not use strncpy_s 2021-02-18 22:05:18 +08:00
Calcitem abaa4d65d9 flutter: Android: Fix EngineState build failed 2021-02-18 00:07:31 +08:00
Calcitem b8fc7c6211 flutter: android: Fix CMakeList.txt lost
Lost when rename flutter dir to flutter_app.
2021-02-18 00:06:33 +08:00
Calcitem 026db0f141 Win32: Change strncpy_s()'s 2 argument from sizeof() to 256 2021-02-17 23:45:18 +08:00
Calcitem a96268d720 flutter: Catcher: Only enable on Android or iOS 2021-02-17 23:45:15 +08:00
Calcitem ffa1bf986c flutter: Windows: Support Platform Channel 2021-02-17 23:44:32 +08:00
Calcitem ea7c65fa88 Fix VC build warnings 2021-02-17 22:00:31 +08:00
Calcitem f5d3009cb0 flutter: Windows: Change title to Mill Game 2021-02-17 18:49:19 +08:00
Calcitem 88428f3ea2 flutter: Windows: Adjust window size to 428 * 926 (19:9) 2021-02-17 18:28:08 +08:00
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