Commit graph

19 commits

Author SHA1 Message Date
Zack Middleton
32cd52895b Have Mac and Linux use install wizard destination as fs_basepath 2015-01-04 14:27:15 -06:00
Jonathan Young
6341250996 Added the MIT license header to all source files. 2014-05-17 17:10:16 +10:00
Jonathan Young
22ca1cec42 Moved Q3A utility function - path and home path detection, config reading - to their own static class. 2014-05-17 17:00:38 +10:00
Jonathan Young
6da3a4113e On first run, try to get the Q3A path on Windows by reading it from the registry. 2014-05-14 22:53:01 +10:00
Jonathan Young
dc4563dd6a Added install wizard. So far it only has the user select their q3a location on windows. 2014-05-12 18:49:59 +10:00
Jonathan Young
78d3bd02c3 Disable resolution spinboxes when "Custom" resolution is not set. 2014-05-09 17:41:45 +10:00
Jonathan Young
3ea451a168 Handle r_modes outside what ioquake3 recognize. 2014-05-09 17:38:28 +10:00
Jonathan Young
81787fb72e Don't need default GUI settings anymore, since defaults are read from q3config.cfg. This simplifies things quite a bit. 2014-05-09 17:06:21 +10:00
Jonathan Young
19d1d56983 Save/load resolution settings. 2014-05-09 16:17:35 +10:00
Jonathan Young
6686a5579f Parse q3config.cfg in the home directory when first run to get setting defaults. 2014-05-09 15:17:33 +10:00
Jonathan Young
701ddd5c10 Calculate the ioquake3 home path on startup. 2014-05-09 12:56:11 +10:00
Jonathan Young
8a231f0b0b Save Quake 3 path to settings on Windows. QSettings is wrapped to keep error-prone stringly typed code in one place (QSettings uses string keys). 2014-05-09 12:21:42 +10:00
Jonathan Young
28cb81fccd Silence unused arg warning. 2014-05-08 21:38:50 +10:00
Jonathan Young
189d9b88ca Start the ioq3 process detached, so you can close the launcher while ioq3 is running. 2014-05-08 21:37:32 +10:00
Jonathan Young
bad8358d46 Windows: enclose the ioq3 path in quotes instead of escaping individual spaces. 2014-05-08 21:22:51 +10:00
Jonathan Young
f1e8bbe2de Fixed uninitialized memory and one small typo. 2014-05-08 21:14:30 +10:00
Zack Middleton
c1e80ab502 Fix launching ioq3 on Linux
Q_OS_X11 does not exist (it was a Qt documentation error).
Q_OS_UNIX is also defined on Mac, so move Unix block after Mac.
There is a specific Q_OS_LINUX, but it's a general Unix style command.

Also added error message for unhandled platforms.
2014-03-24 15:15:29 -05:00
Zack Middleton
27c6e28500 Fix compiling/running on OS X 2013-12-01 19:50:15 -06:00
8bitprodigy
dcf19c69e1 Added code files for initial commit.
HASHTAG YOLO SWAG
2013-12-01 19:25:01 -05:00