- Invalidate clan ranks when player changes his clan
- Invalidate player names when game state changes
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
As the only purpose of clan chat was to add clan chat icons for players
in CC, this functionality can be done too from Player Indicators plugin.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Change player indicators to use built-in player name rendering
- Add support for drawing clan member rank icons thanks to built-in
player name rendering
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Add mappings for DMM player names and methods using them
- Create class with DMM player name rendering masks
- Create mapping for cleanName from player
- Create mapping for setting name to player
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
To prevent ItemManager initializing with null client change reference to
the client to Provider<Client>.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Some courses have obstacles that have XP equal to another courses last obstacle making it trigger a new course. This adds a region check to make sure you are in the correct region for the course
Invalidate item manager composition cache when person is hopping or goes
to login screen to prevent issues with changing from p2p to f2p worlds.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Reduce the amount of GroundItem objects created by mutating objects
instead of creating merged copies
- Reduce the amount of stream transformations required by using
LinkedHashMap and sorting the ground items before collection
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Color hidden ground items gray when in item highlight mode to show
different between non-hidden and hidden items.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Reduce amout of iterations per frame by pre-collecting the ground
items on game tick
- Collect ground items in ground item plugins and pre-compute some
easy-to-get values
- Replace the looping over all tiles with looping over collected ground
items
- Change GroundItemOverlay logic to support single list of items instead
of multi-dimensional array
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
When native window decorations are enabled (e.g when custom window
chrome is disabled), to reduce code complexity, but to maintain current
usability (e.g prevent adding new UI elements in order to position the
icons somewhere) move the title toolbar icons to sidebar.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>