Michael Steenbeek
343c7a70d7
Change colour to a strong enum ( #25873 )
2026-01-28 10:06:45 +01:00
Gymnasiast
626f70ad66
Move BlendColourMap to its own file
2026-01-18 23:35:39 +01:00
Michael Steenbeek
3e4261323a
Rename some palette indices ( #25843 )
2026-01-18 21:24:45 +00:00
matheusvb3
bba937a03d
Remove more redundant namespace qualifiers ( #25828 )
2026-01-16 08:38:20 +01:00
Gymnasiast
a13b1c4e11
Make PaletteIndex into a strong enum and move into namespace
2026-01-07 23:55:30 +01:00
Michael Steenbeek
78a654fcbd
Rename missed occurrences of DrawPixelInfo/DPI to RenderTarget/RT ( #25768 )
2026-01-07 19:58:49 +00:00
Gymnasiast
8861833292
Pass PaletteIndex to Rectangle::fill() and IDrawingContext::FillRect()
2026-01-07 12:48:01 +01:00
Gymnasiast
659b3abc72
Pass FilterPaletteID to GetPaletteG1Index() and GetPaletteMapForColour()
2026-01-07 12:48:01 +01:00
Aaron van Geffen
40aaf97c07
Update copyright years to 2026 ( #25741 )
2026-01-05 13:42:59 +00:00
Gymnasiast
05c9e0f7dc
Use TextColours in the text drawing structs
2025-12-20 11:43:51 +01:00
Gymnasiast
9c2000565d
Use ColourFlags in TextDrawInfo
2025-11-03 23:25:31 +01:00
Gymnasiast
fe24e9b77b
Create Drawing.String.h
2025-11-03 23:25:30 +01:00
Gymnasiast
daa4fe8ac3
Rename field of all config categories
2025-10-07 20:21:32 +02:00
ζeh Matt
88623be8da
Add force redraw debug paint option
2025-10-02 17:30:31 +03:00
mix
cc813e3f16
Refactor window visibility cache and fix viewport visibility
2025-05-21 18:06:06 +01:00
Matt
42df41efdb
Remove the use of shared_ptr for the Context ( #24404 )
...
* Replace shared_ptr with unique_ptr for Context systems, return refs
* Fix all the users
* clang-format fix
* Fix linux builds
2025-05-15 22:46:06 +03:00
Matt
6335c31336
Rename DrawPixelInfo to RenderTarget ( #24339 )
...
* Begin backend separation, rename type DrawingPixelInfo to RenderTarget
* Rename dpi variables to rt
2025-05-04 22:06:46 +00:00
Matt
a34f1925df
Fix LightFX crashing due to operation order ( #24315 )
2025-05-02 09:47:28 +02:00
ζeh Matt
0f2f106173
Increase invalidation grid for software renderers
2025-04-25 23:37:27 +03:00
ζeh Matt
983b4e1a1f
Remove the old invalidation thing
2025-04-25 17:48:38 +03:00
ζeh Matt
576a757200
Add safe guards to make sure we have a valid drawing context
2025-04-25 17:48:37 +03:00
ζeh Matt
4e8ac7ea12
Fix invalidation debug paint
2025-04-24 21:15:49 +03:00
ζeh Matt
360bfbfb66
Introduce InvalidationGrid
2025-04-24 21:15:46 +03:00
Duncan and Michael Steenbeek
d5de6c2b49
Start Simplifying CMake code ( #24177 )
...
* Use generator expressions
* Update cmake minimum
* Move options and remove project name
* Use further generator expressions
* Try upgrading to CMake 3.25 on Ubuntu 22.04 CI
Install software-properties-common
* Standardise with DISABLE_TTF for disable defines
* Set X64 var differently due to unknown reasons
---------
Co-authored-by: Michael Steenbeek <1478678+Gymnasiast@users.noreply.github.com >
2025-04-11 16:09:52 +01:00
Michael Steenbeek
cfb4b008b2
Create weak enum for PaletteIndex
2025-04-09 16:47:22 +02:00
Gymnasiast
41dc87c68e
Refactor DRAWING_ENGINE_FLAGS into FlagHolder
2025-03-26 12:43:21 +01:00
Michael Steenbeek
be9f27e4f9
Mass rename constants ( #23656 )
2025-01-19 15:59:45 +00:00
Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
Aaron van Geffen
23d4032eed
Move LightFX into its own namespace ( #23506 )
2024-12-30 11:04:39 +00:00
Aaron van Geffen
3685d1a24b
clang-format: change IndentPPDirectives to BeforeHash ( #23287 )
2024-11-29 12:04:56 +09:00
Michael Bernardi
09fa68a803
Revert DPI accessors
2024-09-27 02:50:50 +10:00
Michael Bernardi
4cd5548352
Refactor DPI to distinguish screen and world coords
2024-09-27 00:07:40 +10:00
Aaron van Geffen
4bdbd787a9
Fix lighting effects not toggling correctly ( #22582 )
...
* Fix lighting effects not toggling correctly
* Simplify boolean expressions around lighting effects options
* Invalidate entire screen after toggling lighting effects
* Add changelog entry
2024-08-16 20:37:21 +00:00
ζeh Matt
348df5a986
Clear the screen with color in the drawing engine and not each tick
2024-08-01 23:48:54 +03:00
Aaron van Geffen
8cef18cd2f
Include cassert as needed at unit level
2024-07-09 16:43:03 +02:00
Aaron van Geffen
e3bb105a06
Move SSE41 and AVX2 detection into Platform namespace
2024-07-12 14:38:18 +02:00
Michał Janiszewski
3c35558f3f
Fix compilation on Arch Linux with GCC 14 ( #22031 )
...
Fixes #22029
2024-05-13 22:09:00 +00:00
Aaron van Geffen
a63d86c488
Introduce Config namespace and struct
2024-05-10 12:10:21 +02:00
Michał Janiszewski
7b12667ddb
Reduce <algorithm> include ( #21947 )
2024-05-01 13:47:27 +02:00
Aaron van Geffen
56cbc0eb8a
Refactor intro into IntroScene
2024-04-26 20:35:16 +02:00
mrmbernardi
d48b75fb86
Refactor TTF drawing ( #21621 )
2024-03-28 23:28:54 +01:00
Harry Hopkinson
78d95fc0bd
Pass DrawPixelInfo by reference ( #21563 )
2024-03-10 12:00:08 -03:00
James103
1d8dc111f1
Replace 2023 with 2024 in copyright headers ( #21139 )
...
Replace all instances of the year 2023 with 2024 in all copyright headers
2024-01-01 12:52:28 +01:00
Aaron van Geffen
d425e0a8bb
Remove const qualifier from constexpr statements
2023-06-24 11:45:26 +02:00
ζeh Matt
d6b340b34d
Fix comments
2023-04-26 21:58:44 +03:00
ζeh Matt
5439c7ffeb
Improve dirty grid rendering performance.
2023-04-26 18:37:00 +03:00
Gymnasiast
2941f6f7a5
Use dpi ref in misc drawing folder places
2023-04-11 22:57:25 +01:00
Gymnasiast
fc0e0d029a
Use dpi ref in ui context and weather
2023-04-11 22:57:25 +01:00
Gymnasiast
16c5c1b752
Use dpi ref in interface folder
2023-04-11 22:57:25 +01:00
Gymnasiast
96d77ed8f7
Using dpi refs in most remaining window defs
2023-04-11 22:57:23 +01:00