Commit Graph

47 Commits

Author SHA1 Message Date
Cerapter
80af3fb3ff
Fixed a bug in the insensitive file searcher function.
This bug couldn't find files with parentheses in them, because it looked for these files according to regex rules.

That is, if you had, say, `Apollo Justice ~ Objection! (UNLIMITED).mp3`, that would be looking for `Apollo Justice ~ Objection! ` + one occurence of `UNLIMITED` followed by a single, custom character, followed by `mp3`.

Note that this search would always fail, since parentheses are grouping characters, and as such, they'd never be acknowledged in the search as characters. `QRegExp::FixedString` forces the search to consider the input as a String, however, escaping characters as needed, which fixes this problem.
2018-12-17 22:03:23 +01:00
Cerapter
480db3e585 AO 2.6 bugfixes.
- The `base/` folder's path is now determined based on where the
executable was executed, not where its workspace is.
- Showing custom shownames is now assumed to be `true` by default,
unless the `config.ini` says otherwise.
- The Lobby's listing of servers has now been moved into its constructor
(previously only specifically called by the "Back to Lobby" button).
This makes it list servers even if the user was kicked, banned, or left
due to timeout.
2018-12-16 09:39:21 -06:00
oldmud0
5bf5a22833 Fix compile-time issues from merge 2018-11-17 20:12:12 -06:00
oldmud0
b385babf77 Fix case-insensitive paths on Linux (#34)
Closes #9
2018-11-17 19:57:27 -06:00
David Skoland
027f95decc adjusted functions to reflect change in get_case_sensitive_path 2018-11-17 20:26:12 +01:00
David Skoland
fddb72950e reworked get_case_sensitive_path to be recursive 2018-11-17 20:11:59 +01:00
David Skoland
06c7a95bc2 changed variable names for clarity 2018-11-17 18:57:35 +01:00
David Skoland
ee4b9acfeb fixed get_sounds_path as well + nuked the last unneccessary tolower calls 2018-11-16 02:37:57 +01:00
David Skoland
727c39a1df small fixes and removing compiler warnings 2018-11-16 02:26:47 +01:00
David Skoland
8ffdd2afb8 refactored path functions and added support for case-sensitive filesystems 2018-11-16 02:01:08 +01:00
David Skoland
051c8975ec added case insensitive path function for those filesystems 2018-11-15 23:56:58 +01:00
oldmud0
c7a58f89b1 Initial merge of Case Cafe 1.4.1 into mainline 2018-11-10 12:36:12 -06:00
Cerapter
d314b8dd07 Moved includes out of the CPP files into the header files.
Reimplementation of `30a87d23c9c63bed072b3460e7482075dc530b2c` from the
old origin.
2018-08-19 09:37:34 +02:00
Cerapter
c316e81e0c Reset the default background to default.
Reimplementation of `bed0b55e70f13adf772584fc0d31ebfe59597115` from old
origin.
2018-08-19 09:19:18 +02:00
gameboyprinter
bed0b55e70 Make discord toggleable, OOC name option, default bg fix 2018-07-05 12:21:32 -05:00
David Skoland
4ec662d826 renaming some functions and starting qss theme functionality 2018-02-09 01:13:47 +01:00
stonedDiscord
a14da4c541 me is of beings retard 2017-05-01 13:10:17 +02:00
stonedDiscord
ae60825b29 debugging help, fastter loading(?) and android sdcard 2017-04-18 00:53:53 +02:00
stonedDiscord
81964cb708 android path + png logo 2017-04-08 18:53:29 +02:00
OmniTroid
8a45090fe9 fixed various evidence-related bugs 2017-04-07 17:53:57 +02:00
OmniTroid
244339645d fixed broken code related to base path 2017-03-29 22:01:16 +02:00
David Skoland
63caae75ea fixed some copypasta overlooks and removed redundant member in lobby.h 2017-03-20 18:04:11 +01:00
stonedDiscord
e741d1314e aomovie only got stuck 2017-03-18 14:18:20 +01:00
stonedDiscord
146ef97311 new function tags and fallback paths 2017-03-18 14:04:14 +01:00
stonedDiscord
181930e118 android support 2017-02-21 19:25:40 +01:00
Skoland
55803c520d attempted fixing a bug where the first frame of a preanim would display after it has played 2017-02-18 08:28:31 +01:00
OmniTroid
897e19546a fixed some sfx issues 2017-02-15 23:15:06 +01:00
David Skoland
47f96cf0a4 added emote comments to emote buttons with missing image 2017-02-14 15:58:36 +01:00
OmniTroid
f8dfc603b9 version++, also some minor fixes 2017-02-14 02:58:24 +01:00
David Skoland
2c6d011d66 que 2017-02-14 02:09:52 +01:00
OmniTroid
c37a99a58a added objection sfx 2017-02-14 00:36:58 +01:00
OmniTroid
69c33e4c22 tailoring for windows 2017-02-13 23:56:23 +01:00
David Skoland
1da1ac4070 added music handling 2017-02-08 13:56:07 +01:00
David Skoland
6a4657ceb9 added viewport functionality 2017-02-03 17:07:05 +01:00
David Skoland
de7d25962f added dynamic resolution scaling 2017-02-02 17:37:47 +01:00
David Skoland
295ea74b7c did some work on the gif custom classes 2017-01-31 15:55:21 +01:00
David Skoland
9031779bc9 added custom classes, started working on viewport. wt/ce sfx done 2017-01-31 00:20:08 +01:00
David Skoland
922506261f added AOScene class, and basic background functionality 2017-01-30 02:58:30 +01:00
David Skoland
b23e96728b added server name in window title 2017-01-28 12:43:20 +01:00
David Skoland
9682087667 implemented ooc chat and cleaned up some old headers 2017-01-27 01:17:33 +01:00
David Skoland
a6b39c1d4f added hdid implementation for linux and did more work on courtroom 2017-01-24 14:30:18 +01:00
David Skoland
50fe02cd77 changing structure from globals to OO with a flat construction 2017-01-18 15:39:04 +01:00
David Skoland
c4dff0f528 more work on the courtroom + added the aocharbutton class 2017-01-16 16:11:54 +01:00
David Skoland
f42417f9e2 added the courtroom class 2017-01-15 20:43:14 +01:00
David Skoland
c206cccb8e added lobby buttons 2017-01-02 12:42:07 +01:00
David Skoland
ca732f27a1 - 2017-01-01 16:14:29 +01:00
David Skoland
edf37fba49 Added file and path function files + started working on the lobby 2016-12-29 02:48:02 +01:00