woogerboy21
52db13a1ca
Initial release of client ID generation.
2015-08-05 10:15:49 -04:00
Fabio Bas
b566bf4a19
Load additional xml sets from $userprofile/customsets/
2015-05-20 18:27:50 +02:00
Fabio Bas
8fba04397b
All platform: at startup, ensure that a proper directory for sounds is set
2015-05-14 15:47:57 +02:00
Fabio Bas
924337ee93
revert 0b4701c42f
2015-05-14 15:36:44 +02:00
Fabio Bas
b5b7ad8958
Startup: fix resetting card database to default
...
The check was inverted. LoadStatus::Ok = 0, so only when
db->loadCardDatabase() returns 0 we know the card database path is
correct
2015-03-30 12:28:13 +02:00
Matt Lowe
81a8141fe5
Added system tray icon
...
+ Can be used for setting client size and closing the client.
Will expand on by sending client alerts to the tray.
Updated to push message notifactions to the toolbar
Preview image:
Added setting to enable/disable message popups
Added functionality
+ updated popup message and translation
+ Double clicking tray icon will now bring up the app/minimize it
+ can now be alerted of mentions
+ added setting to set if you want mentions on desktop
+ clicking mention message will take you to the main chat
+ added translations for icon menu
+ removed maximize/minimize/restore from menu, not needed.
Added disconnect
+ Disconnects any previous message slots/signals from the system icon
message bubble
2015-03-26 18:37:57 +01:00
Fabio Bas
3667ab504c
Fix compilation warning introduced in #246
...
/cockatrice/src/main.cpp:162:16: warning: format string is not a string
literal (potentially insecure) [-Wformat-security]
qDebug("Could not create " +
settingsCache->getPicsPath().toUtf8() + "/CUSTOM. Will fall back on
default card images.");
2014-08-04 20:09:53 +02:00
Peng Liu
a9eaf65a82
Changed .toLatin1() to .toUtf8().
2014-08-02 23:44:31 -04:00
Peng Liu
b3fa99ef36
I was too hasty and forgot a + and to toLatin1() a QString in the qDebug arg.
2014-07-31 23:24:25 -04:00
Peng Liu
077d9f2745
Checks if CUSTOM folder was successfully created. If not, prints qDebug message and proceeds as normal except uses default card images instead of custom ones.
2014-07-31 22:42:13 -04:00
Fabio Bas
f32a999b4e
Remove unused variable
2014-07-24 15:38:36 +02:00
Daenyth
09d6d26fb2
Merge branch 'master' into cmake_qt5
...
Conflicts:
cockatrice/src/main.cpp
2014-06-28 09:13:10 -04:00
Daenyth
6d3fe428e7
Fix some warnings
...
Ref #127
2014-06-27 22:19:23 -04:00
Fabio Bas
54805fb14e
Merge remote-tracking branch 'upstream/master' into cmake_qt5
2014-06-27 15:21:01 +02:00
Gavin Bisesi
fcc62a1e1f
Use defined(Q_OS_WIN) in #elif to satisfy MSVC
...
It's always windows.
2014-06-25 17:09:17 -04:00
Fabio Bas
809f390e2f
Merge remote-tracking branch 'upstream/master' into cmake_qt5
2014-06-25 15:46:50 +02:00
Fabio Bas
6dbdaafb33
Ported cockatrice
2014-06-24 19:13:47 +02:00
Fabio Bas
5c13c06982
Merge remote-tracking branch 'upstream/master' into cmake_qt5
2014-06-24 18:13:26 +02:00
Fabio Bas
66c87a1ee6
OSX: Handle sounds for first time installations
...
If the sounds path is unset in the settings and a “sounds” directory
doesn’t exists in the user’s data directory, install the sounds files
and set the settings value accordingly
2014-06-22 23:42:12 +02:00
Fabio Bas
0b4701c42f
OSX: Handle zonebg for first time installations
...
If none of the gameboard images is set and and the user’s data
directory doesn’t contain a “zonebg” directory, create the directory,
copy contents from cockatrice’s app bundle and sets the config
accordingly.
2014-06-22 23:42:12 +02:00
Fabio Bas
55c4c464e4
OSX: get translation path from qt.conf instead of hardcoding it
2014-06-22 23:41:15 +02:00
Fabio Bas
2a5f6181aa
Osx: removed plugins path detection and fixed translation path detection
2014-06-22 23:41:15 +02:00
Daenyth
27847e1551
Don't be a jerk when card database isn't usable.
...
Better error message and allow the user to still connect
Ref: #102
2014-06-21 15:53:13 -04:00
Daenyth
38b83acae0
Fix #105 - remove emdash from card type when getting main type
2014-06-21 12:42:46 -04:00
Mark Morschhäuser
a903c231f2
Qt5: QDesktopServices::storageLocation deprecated
2014-06-20 16:54:46 +02:00
Mark Morschhäuser
d968f04b02
Improved file handling from commit e33debcb
.
2014-03-18 12:10:46 +01:00
Mark Morschhäuser
e33debcbff
Changed C to Qt file handling. VC warns because fopen may be unsafe.
2014-03-11 15:02:15 +01:00
Matt Kelly
1bc48a7849
Convert rest of source to 4-space indent
2014-02-11 11:14:19 -05:00
Max-Wilhelm Bruker
c7131e3a1d
Windows client: translation path fix
2012-06-27 20:41:42 +02:00
Max-Wilhelm Bruker
3ba3952604
fixed issue #37 : add option to manually add token cards to the database
2012-05-17 18:29:35 +02:00
Max-Wilhelm Bruker
875610e1b3
mac fixes
2012-04-27 00:39:34 +02:00
Max-Wilhelm Bruker
089d082cf4
moved translations out of resources file
2012-04-22 18:14:17 +02:00
Max-Wilhelm Bruker
fd5be3d525
added option --debug-output to redirect client output to file
2012-03-25 19:48:50 +02:00
Max-Wilhelm Bruker
eced4e2340
merge
2012-03-25 17:06:48 +02:00
Max-Wilhelm Bruker
1224eae1c0
added button to test custom translation file
2012-03-25 17:02:52 +02:00
Max-Wilhelm Bruker
a1bcd9854f
preliminary client-side replay support, works in principle
2012-02-21 00:09:03 +01:00
a b
7faa033855
Mac fixes
2012-01-29 21:17:32 +01:00
Max-Wilhelm Bruker
a64df4a0f5
Use QDesktopServices::StandardLocation for platform independent default paths that don't touch the application's own folder
2012-01-22 14:18:28 +01:00
a b
50e85496fa
Mac weirdness workaround
2011-10-12 18:53:02 +02:00
a b
c4bd38dbdc
Mac fixes
2011-09-27 22:33:45 +02:00
Max-Wilhelm Bruker
c67bc65762
preliminary sound support
2011-05-21 22:55:08 +02:00
Max-Wilhelm Bruker
e92840c849
moved call to rng constructor to main()
2010-09-23 15:43:39 +02:00
Max-Wilhelm Bruker
23a0080c45
user level display
2010-09-20 18:52:36 +02:00
Max-Wilhelm Bruker
f9446f9822
generalized user information
2010-09-18 21:05:28 +02:00
Max-Wilhelm Bruker
5ee6bdd338
Translation code fix; updated German translation
2010-09-10 19:12:01 +02:00
Max-Wilhelm Bruker
4f13c01e12
mac patches
2010-06-19 18:18:04 +02:00
Max-Wilhelm Bruker
40fc77c646
oracle importer changes
2010-05-08 23:24:35 +02:00
Max-Wilhelm Bruker
03132e2edd
app icons for mac and windows
2010-05-08 17:15:40 +02:00
Max-Wilhelm Bruker
26a77d9e40
new zone view code
2010-03-08 15:55:35 +01:00
Max-Wilhelm Bruker
2c9a8c2b57
minor cleanups and optimizations
2010-03-06 22:10:50 +01:00