Anton Tarasenko
913e59eca0
Add `Parse()` method for `BaseText`
2 years ago
Anton Tarasenko
940885f883
Add new `ArrayList` collection
2 years ago
Anton Tarasenko
94d4a8dbdc
Add reference counting to AcediaCore types
2 years ago
Anton Tarasenko
34b62886db
Add more variance to methods that separate by char
2 years ago
Anton Tarasenko
9b6dbfa6bd
Remove useless `ConstFrom...()` text methods
2 years ago
Anton Tarasenko
1e62edfc93
Refactor text classes to subclass on `BaseText`
2 years ago
Anton Tarasenko
05b3b1613d
Fix feature aliases not working
2 years ago
Anton Tarasenko
1ada5d2718
Add `Feature` ability to return current config
2 years ago
Anton Tarasenko
a9242667be
Add `CoreService` ability to return all features
2 years ago
Anton Tarasenko
17a2c5e88b
Add Feature aliases
2 years ago
Anton Tarasenko
b2d3d05790
Add `ChangeDefaultFormatting()` to `MutableText`
2 years ago
Anton Tarasenko
c3aca531f1
Change Commands to parse input `Text` as plain
2 years ago
Anton Tarasenko
acc31767e5
Refactored new code for parsing formatted strings
2 years ago
Anton Tarasenko
b9f96af43e
Add color gradient blocks to formatted string
2 years ago
Anton Tarasenko
b74f927f1b
Add `GetTrader()` command to trading component
2 years ago
Anton Tarasenko
ca30935c15
Fix trader's selected signal
2 years ago
Anton Tarasenko
a66ec6c521
Fix `callerPlayer` remaining in `otherConsole`
2 years ago
Anton Tarasenko
e1bdbdbfea
Fix berserk item list
2 years ago
Anton Tarasenko
c74dfaa669
Add built-in `ConsoleWriter`s to Acedia's commands
2 years ago
Anton Tarasenko
a61f4e05bc
Add missing comments
2 years ago
Anton Tarasenko
68988a1222
Move `KF1_TemplatesComponent` to a proper location
2 years ago
Anton Tarasenko
f388480ef8
Add missing lists to templates component
2 years ago
Anton Tarasenko
61d1c0b878
Add inventory frontend support for Killing Floor
2 years ago
Anton Tarasenko
c266b0fd46
Change `packages` arg to optional in `CoreService`
2 years ago
Anton Tarasenko
9eece35d34
Fix `EKFInventory` handling of single/dual pistols
...
Giving a pistol of the kind player already had was failing before,
instead of properly giving their dual version instead. This patch fixes
that issue.
3 years ago
Anton Tarasenko
0d285cb440
Add chat prefix config option to Commands feature
3 years ago
Anton Tarasenko
e2744cc6dd
Add mutate input to `Commands` feature
3 years ago
Anton Tarasenko
955d9b787a
Fix issue with wrong deallocations
3 years ago
Anton Tarasenko
3e545ebdd5
Add @me selector to the player parser
3 years ago
Anton Tarasenko
feebc5aa22
Fix black text in chat
3 years ago
Anton Tarasenko
3addd1fc13
Add `ChatAPI`
3 years ago
Anton Tarasenko
a30ec6c29c
Add `OnModifyLogin()` signal added to `MutatorAPI`
3 years ago
Anton Tarasenko
c865cb00ea
Add original name tracking to `ConnectionService`
3 years ago
Anton Tarasenko
ac8b973cd8
Fix documentation for `MutableText`
3 years ago
Anton Tarasenko
c06656a8dc
Fix `PlayersAPI`'s deallocation bugs
3 years ago
Anton Tarasenko
c93f5899a2
Change `SetName()` to always trigger signals
3 years ago
Anton Tarasenko
010f9ac414
Add `GetOriginalName()` method to `EPlayer`
3 years ago
Anton Tarasenko
2b94a164b5
Add `GetTeamColor()` method to `EPlayer`
3 years ago
Anton Tarasenko
6907b53a9c
Add signals for player's name change
3 years ago
Anton Tarasenko
7dc5149281
Refactor `APlayer`/`ATrader` into `EInterface`s
...
`APlayer` and `ATrader` represented player and trader (`ShopVolume`)
with a single object instance. Such design, if used for all actors,
could have led to mutitute of problems rooted in need to find that
single object for any given native actor: we'd need to store
object-actor pairs separately and look through pairs lists, which is
hardly a sane design.
Now Acedia switches to a different design, where a single in-game entity
(i.e. actor) can have several interfaces referring to it. All equaly
valid. Refactoring `APlayer` and `ATrader` into `EPlayer` and `ETrader`
is a first step in that direction.
3 years ago
Anton Tarasenko
265daa71b0
Change `ColorAPI` parsing to be more efficient
...
Now `ColorAPI` uses `Text` constants returned by `T()` instead of
breaking `string` constants into cahracters each time.
3 years ago
Anton Tarasenko
c8ed85387d
Add new stripped rgb/rgba color format
...
This patch adds a new, more light-weight and quicker to type rgb/rgba
format that simple lists RGB(A) components separated by commas:
"3,43,234,255".
3 years ago
Anton Tarasenko
2ba1066c63
Add more (mostly vue) colors
3 years ago
Anton Tarasenko
19fed84882
Fix issues with ranges in Text/MutableText methods
...
Several methods such as `Copy()`, `Remove()`, `ChangeFormatting()` and
several others have had similar errors related to how their input
parameters defined range when specified out-of-bounds.
This patch should fix them.
3 years ago
Anton Tarasenko
469872b8df
Add test for methods `Remove()`/`Simplify()`
...
This commit also changes codepage of the file with tests, since this is
necessary to correctly add testing `string`s.
3 years ago
Anton Tarasenko
e75434f063
Add `Simplify()` method for `MutableText`
3 years ago
Anton Tarasenko
c72642e685
Add `Remove()` method for `MutableText`
3 years ago
Anton Tarasenko
1486c937d6
Add more tests for `Text.AppendFormatted()` method
3 years ago
Anton Tarasenko
7e9a5f16b8
Add ability to read formattes data from `Text`
...
Previously one could only read formatted data directly from `string`s.
This patch adds another method `AppendFormatted()` for appending a
`Text`/`MutableText`, while parsing its data like a formatted string.
3 years ago
Anton Tarasenko
3e376f621e
Add support for short color tags
...
Adds `ColorAPI` support for short color tags that start with "^",
e.g. "^3", "^p", "^w", etc.
3 years ago