Commit Graph

560 Commits

Author SHA1 Message Date
David Skoland
a2d3ab8b96 adjusted gitignore files 2018-12-26 18:11:08 +01:00
David Skoland
73a13d9d88 added lib folder to ubuntu configure script 2018-12-26 18:02:15 +01:00
David Skoland
1f754776b4 finished ubuntu build script and made default plugin mode dynamic linking 2018-12-26 17:31:43 +01:00
David Skoland
45eae60445 added ubuntu config script 2018-12-26 17:14:10 +01:00
David Skoland
0c44a1c854 including the bass header file is fine honestly 2018-12-26 16:51:11 +01:00
David Skoland
706f5bb7c7 simplified the project file 2018-12-26 16:48:30 +01:00
David Skoland
00cfd2750d moved headers into include and cpp files into src + logo into resource 2018-12-26 16:43:08 +01:00
Cerapter
6f1bce5882 Fixed an issue with overlapping SFXes.
The `BASS_ChannelStop()` line existed in 2.4.10, but disappeared in 2.6.
This fixes #50 .
2018-12-19 22:28:49 +01:00
Cerapter
ce350da473 Moved realisation to start_chat_ticking().
Since the realisation could have been called from two paths that were
previously one and the same (previously, the pre ending was the same as
the text starting -- with the inclusion of non-interrupting preanims,
these became different), in some select cases, the realisation could
have played twice.

As a solution to this, handling realisation is now done when the text
starts ticking, as that guarantees that the realisation happens only
once.
2018-12-18 11:29:06 +01:00
Cerapter
2e9404153b Fixed a theme issue where evidence didn't appear. 2018-12-18 11:29:06 +01:00
Cerapter
1bdd8e4593
Merge pull request #49 from Cerapter/vanilla-big-boi-button
Changed the left and right buttons across the default theme to be bigger.
2018-12-18 01:06:11 +01:00
Cerapter
7ce1851ee5 Fixed a bug with the rainbow colour and inline colours.
You can now use all the inline commands when your overall text colour is
rainbow, like with every other overall text colour.
2018-12-18 00:53:23 +01:00
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
afffb43594 Changed the left and right buttons across the default theme to be bigger. 2018-12-17 19:43:19 +01:00
oldmud0
f1c517667c
Merge pull request #48 from Cerapter/vanilla-theme-fixes
Theme, interface, and pointer magic fixes.
2018-12-17 08:37:07 -06:00
Cerapter
73b6e72ab9 Fix judge buttons not appearing & crash if MS goes down during play.
The former was caused by the position dropdown simply not having code to
make the judge buttons appear. Alongside that, the issue(?) where `/pos
judddd` (or variations) would not put the user in the judge position,
but gave them the buttons anyway.

The latter was caused by a simple mistake. We deleted the Lobby (and the
Courtroom) frequently, however, we never did set its (their) pointer(s)
back to null -- so they pointer to trash data, and the `if (w_lobby !=
nullptr)` part never failed.

This is also now fixed, and deletion of the Lobby or the Courtroom also
brings about the nulling of their pointers.
2018-12-17 11:08:20 +01:00
Cerapter
144a5bb64b Fixed the theme issues (casing button, emote page switcher buttons). 2018-12-17 10:46:09 +01:00
Cerapter
50af363b73
Fixed a bug with area-less servers and ARUP.
A server with no areas will no longer crash the client upon joining.
2018-12-16 23:59:18 +01:00
Cerapter
def23b10ff
Fix theme issues.
This quick typo-fix fixes #41 .
2018-12-16 23:06:57 +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
de68774097
Merge pull request #33 from AttorneyOnline/mega-merge
AOV/Case Cafe feature parity
2018-12-15 11:02:12 -06:00
oldmud0
6d1ea9d81f Add big ugly hack to fall back jury/seance backgrounds to witness 2018-12-15 10:56:59 -06:00
oldmud0
f70fd357b4 Darken character selection background 2018-12-14 22:55:51 -06:00
oldmud0
30e5b72ad0 Update about dialog 2018-12-14 22:55:51 -06:00
oldmud0
8be6944475
Merge pull request #40 from Cerapter/mega-merge-case-announcer
Made case announcement use netcode instead of calling tsuserver commands.
2018-12-14 19:53:17 -06:00
Cerapter
410b865bae Changed how the new netcodes are built, so they're properly encoded. 2018-12-14 20:44:22 +01:00
Cerapter
9b8173a1f9 Made case announcement use netcode instead of calling tsuserver commands. 2018-12-14 19:53:53 +01:00
oldmud0
a852ab504b
Merge pull request #39 from Cerapter/mega-merge-audio-fix
Fix the no sound on Windows at start bug.
2018-12-13 17:26:06 -06:00
Cerapter
1c6afdce99 Fixed a bug where there would be no sound on Windows during the first start. 2018-12-13 11:38:21 +01:00
oldmud0
d092691224
Merge pull request #38 from Cerapter/mega-merge-fixes
CC-original related feature fixes.
2018-12-12 13:05:27 -06:00
Cerapter
171196885d Fixed a bug where the misc/ bubbles would be preferred over the characters' own. 2018-12-12 19:47:54 +01:00
Cerapter
c5d983033e Merged some duplicate functions.
Also brought in another function that specifically filters out inline
formatting characters, so that the append IC text function is a bit more
understandable.
2018-12-12 19:46:13 +01:00
Cerapter
f217c68f85 The charselect's "shadows" correctly update based on what chars are taken.
This was purely a graphical bug. The characters were correctly
recognised as taken by the client, but there was no way to update the
"taken-shadow" over their icons.
Which meant that they were locked into the way they were when the user
first joined the server.

As a result of this, a `CharsCheck` package from the server will
correctly display the taken characters to the client in the character
selection.
2018-12-12 19:22:34 +01:00
Cerapter
941a32d99c Fixed a bug where your chatlog would completely erase if you had a limit of 0.
A limit of zero otherwise means infinite, so no log limit.
2018-12-12 18:55:16 +01:00
Cerapter
1dcdb0f5d8 Added defaults to the inline colouring system. 2018-12-12 18:54:50 +01:00
oldmud0
9270069e72 More changes to default theme 2018-12-11 15:40:11 -06:00
oldmud0
9727acc974 Re-add missing BASS_StreamCreateFile line 2018-12-10 15:10:31 -06:00
oldmud0
3876ecf95c Update readme and license 2018-12-06 14:38:02 -06:00
oldmud0
1852f92087 Overhaul theme
The only thing missing in this commit is a new background.
I am waiting for a higher-quality version of the AO logo.
2018-11-25 13:24:43 -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
11c2f258eb removed legacy for char icons 2018-11-16 01:02:55 +01:00
David Skoland
051c8975ec added case insensitive path function for those filesystems 2018-11-15 23:56:58 +01:00
David Skoland
e9eefee1da added extra define case in main.cpp for case-sensitive file systems 2018-11-15 23:11:12 +01:00