vyacheslav.raskulin
022c1407ed
C-style arrays declaration should be replaced to java-style
2020-09-09 14:53:03 +03:00
18ths
99d5eafc8a
GUI enchancements (themes, sound notification, deck validation) ( #6755 )
...
GUI enchancements (themes, sound notification, deck validation)
2020-07-17 19:15:02 +02:00
Ingmar Goudt
5ba206111a
add missing Override annotations
2019-07-14 20:28:48 +02:00
Oleg Agafonov
fbca0f4fef
Added RNA images support for scryfall, fixed MED set for scryfall, fixed bloated logs for machines without sound.
2018-12-21 20:09:01 +04:00
GrayedFox
3953f3dbdd
remove all MIT copyright notices from files
2018-06-02 17:59:49 +02:00
LevelX2
b073ce1c42
* Added to all toUpperCase/toLowerCase calls the Locale.ENGLISH to prevent problems with some languages (e.g. Turkish). Removed some unused import statements. ( #4634 ).
2018-03-18 18:18:54 +01:00
spjspj
042e64aeb8
Add a 'your game can start' sound
2017-10-01 01:51:05 +10:00
LevelX2
5a072ea760
* Some minor changes to sleep command ( fixes #2992 ).
2017-04-02 11:32:25 +02:00
vraskulin
f99cd21275
Mostly code format fixes.
2017-02-09 18:30:31 +03:00
vraskulin
f60ebfbb1f
All 1-character strings converted to primitives
...
"b" + "r" now changed to 'b' + 'w'. It's more straight-forward, and may cause perfomance improvements - character primitives allocation is faster and less expensive than string creation.
2017-02-06 14:32:51 +03:00
vraskulin
076840df53
Big refactoring
...
I used Intellij IDEA to automatically refactor code to achive 3 goals.
1) get rid of anonymouse classes, and replace the with lamba to get more readeable and clean code (like in TableWaitingDialog).
2) make effectively final variables actually final to avoid inadvertent changes on it in further releases and keep objects as immutable, as possible.
3) Get rid of unused imports (most of the changes) in whole project classes.
2017-01-09 19:16:53 +03:00
Neil Gentleman
843466b6ad
AudioManager: a bit of cleanup
2016-11-01 21:28:44 -07:00
Neil Gentleman
366e8e281d
MageClip: copy whole input file
...
not just whatever the first read returns
2016-11-01 21:28:44 -07:00
Neil Gentleman
5d55d299a2
don't just give up when LinePool can't be initialized
...
maybe fixes #2525
2016-11-01 21:28:44 -07:00
LevelX2
8e76430d07
Revert "Use a dedicated thread pool for audio"
2016-07-10 22:01:06 +02:00
draxdyn
d8b791a506
Use a dedicated thread pool for audio
...
Audio threads are busy while the sound plays, which could be several seconds,
potentially stalling other tasks competing for the thread pool.
So use a dedicated thread pool, which also allows to have it sized based
on the number of the audio lines.
2016-06-23 16:16:48 +02:00
Kenny Wottrich
f3c83d54f5
Remove Unused Imports
...
Delete unused java imports that cause compiler warnings
2016-04-24 19:50:29 -05:00
Fenhl
430ae503c7
Change all line endings to LF
2016-04-14 16:18:01 +00:00
rkfg
8be72c404e
Add debug logging to LinePool.
2016-03-09 14:37:59 +03:00
rkfg
b513f3c7b6
Properly close, free and stop lines.
2016-03-09 14:37:58 +03:00
rkfg
d7cdfa016e
Minor change, add comments.
2016-03-09 14:37:57 +03:00
rkfg
d8ff28c7f7
Refactor audio manager, add line pool.
2016-03-08 02:09:57 +03:00
Neil Gentleman
deb4608c00
Don't try to play null audio
...
a message is already logged when loadClip fails; this avoids showing an error
dialog over and over afterwards.
2015-11-08 22:32:43 -08:00
LevelX2
213275de5a
Some changes to play of audio clips.
2014-12-12 18:16:23 +01:00
LevelX2
cee5d0d487
* Added sound for starting game.
2014-12-05 20:13:48 +01:00
LevelX2
e6c7fa5f96
* Draft - Added possibility to mark a card to draft on timeout. Added sounds to draft. Changed compression of some sound files.
2014-10-31 16:22:10 +01:00
LevelX2
ecc6295638
Added sound if player leaves table. Changed some sounds.
2014-07-26 14:59:42 +02:00
LevelX2
ee76ccfee4
Added option that AbilityPicker is forced to show if ability or spell has no or only tap cost (not finished yet).
2014-02-12 17:18:06 +01:00
LevelX2
81eaac46c7
* Added new preference option to enable sound in game and other sounds separately.
2014-02-12 08:35:27 +01:00