Commit Graph

22 Commits (3fed8cbf3ed7b461e644e998460fb9b47400a3f4)

Author SHA1 Message Date
melvinzhang 5cb0594ee2 use getResourceAsStream instead of getResource, for #1617 2018-11-01 12:53:45 +08:00
melvinzhang 470c6fe675 use getResourceAsStream instead of getResource, for #1617 2018-11-01 12:44:25 +08:00
melvinzhang 0735be1f7b use getResourceAsStream instead of getResource, for #1617 2018-11-01 12:42:41 +08:00
melvinzhang abf695ac4a ensure files and read/written using UTF_8 instead of platform default charset 2017-06-17 12:06:28 +08:00
lodici 30707191fc Move keywords files out of jar into \Magarena\translations\keywords folder. (closes #1140) 2017-06-04 01:46:17 +01:00
lodici 3d97985934 core code for implementing H2 game stats database (see #1041 for more details). 2017-02-01 12:44:59 +00:00
melvinzhang 231fcc7b5c remove method to load AllCardNames.txt 2016-12-15 17:02:32 +08:00
lodici 41ee81b93c Make card builder custom fonts available to UI via MagicFont enum. 2016-10-10 12:04:58 +01:00
lodici 0a9d723aab remove need for "mana/" prefix when defining MANA_* icons. 2015-12-24 15:34:49 +00:00
lodici 31dbe038a9 rename default keywords file to English.txt. 2015-08-04 12:01:49 +01:00
lodici 7de98e4cab use translated keywords.txt file if available. 2015-08-04 12:00:18 +01:00
lodici 2069c5db8f move responsibility for getting keywords.txt content to MagicResources. 2015-08-04 11:36:27 +01:00
melvinzhang 7005bc8a9b extract abstract class MagicFormat from MagicPredefinedFormat 2015-06-20 09:56:40 +08:00
lodici 59ee987299 Audio update :-
- Add TinySound (https://github.com/finnkuusisto/TinySound) classes for simple api.
- Add new deck edit wavs from http://soundbible.com.
- New feedback sound when adding or removing a card from deck.
- New bong sound for alerts and clunk sound for invalid action.
- New Audio tab in preferences dialog for all audio settings.
- Volume of UI sounds can now be adjusted.
2015-06-19 00:17:19 +01:00
lodici 52a2e3e681 rename MagicFormats to MagicFormat. 2015-06-01 13:50:51 +01:00
lodici 54e0bb753f move DeckUtils and FileIO classes into magic.utility package. 2015-06-01 13:48:50 +01:00
lodici 8bbde9adb2 add getAllCardNames() to MagicResources. 2015-02-15 13:35:12 +00:00
lodici 19766cf30b move image resource retrieval code from IconImages into MagicResources. 2015-02-04 16:40:02 +00:00
lodici 3ffca6f5e2 move getJarResourceStream() from MagicFileSystem to more appropriate MagicResources class. 2015-01-08 15:00:54 +00:00
lodici 21646f5c41 use overloaded method. 2015-01-08 14:56:57 +00:00
lodici c8f2b9372a consolidate duplicate code in new method. 2015-01-08 14:54:40 +00:00
lodici 636352a361 move Jar resource access code into new MagicResources utility class. 2015-01-08 14:51:49 +00:00