Dunedan
ec95ee96d4
Improve player color dropdown
...
This properly centers the colors in the player color dropdown.
2025-05-17 18:54:22 +02:00
Dunedan
58a58bc25d
Improve layout of the civ and structree pages
...
This contains some small layout fixes and improvements for the
civilization overview and structure tree pages. Some of these fixes have
fix regressions introduced with 37065ebc71 .
2025-05-17 18:54:12 +02:00
Ralph Sennhauser
4e5cdc87b9
Fix eslint rule 'spaced-comment'
...
Manual fixes needed for:
eslint --no-config-lookup --rule '"spaced-comment": ["warn", "always"]'
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-17 12:08:47 +02:00
Dunedan
52ee6ad470
Fix element positions after new font rendering
...
This fixes the positions of elements which changed as part of
734386ce9f .
2025-05-17 10:02:25 +02:00
Ralph Sennhauser
7b4cf11e25
Fix eslint rule 'no-shadow'
...
Manual fixes needed for:
eslint --no-config-lookup --rule '"no-shadow": 1'
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-17 09:48:36 +02:00
Ralph Sennhauser
dcda4187be
Fix parsing of graph.js for eslint
...
The perl script extract.pl just checks for a line matching
'-- include data json--', so making it valid js is can be done just
fine.
Also fix eslint warning is graph.js.
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-17 06:29:29 +02:00
trompetin17
734386ce9f
Use freetype for font rendering
...
Replace premade bitmap fonts with FreeType2 and dynamic texture atlas.
Switched from static, premade bitmap fonts to runtime-generated glyphs using FreeType2.
Glyphs are rendered on demand into a dynamic texture atlas, improving scalability,
font quality, and support for internationalization.
Currently using RGBA format for compatibility across all render
paths while initial support for R8_UNORM is being added.
This prepares for future optimizations in VRAM and performance
Includes groundwork for gamma-corrected blending and future swizzling support.
2025-05-16 14:57:59 -05:00
Dunedan
45340a2e32
Don't store consecutive console commands twice
...
This adds an option to disable storing consecutive console commands
twice and enables it by default.
2025-05-16 17:38:41 +02:00
Dunedan
d549cbeeaa
Make the console font configurable
2025-05-16 17:38:41 +02:00
Dunedan
13c00d1869
Add missing console.history.size to default.cfg
2025-05-16 17:38:29 +02:00
Kate
a91a8594c2
remove whitespace on line 317 through 321
2025-05-16 12:11:18 +02:00
Kate
750b10a966
Update binaries/data/mods/public/simulation/ai/petra/config.js
2025-05-16 01:51:06 +02:00
Kate
517916c4d6
Update binaries/data/mods/public/simulation/ai/petra/config.js
2025-05-16 00:50:49 +02:00
Itms
416ba3fc2b
Fix Gitea actions syntax on push events
...
The Github documentation is difficult to parse, but there is an
asymmetry in the API:
- for a PR event, the event object contains a `pull_request` object
containing `base` and `head` objects
- for a push event, the `before` and `after` SHAs are immediate
children of the event object
<https://docs.github.com/en/webhooks/webhook-events-and-payloads >
Fixes #7730 .
2025-05-15 11:45:25 +02:00
Itms
83674e1d1b
Fix lfscheck action syntax on push
2025-05-15 10:54:46 +02:00
Itms
2889170a09
Check LFS pointers integrity in an action
...
Running the checks here instead of in repository hooks will prevent
Gitea from hanging during pushes.
2025-05-15 09:33:50 +02:00
Ralph Sennhauser
a9987868c4
Fix eslint rule 'no-use-before-define'
...
Manual fixes needed for:
eslint --no-config-lookup --rule '"no-use-before-define": ["error", "nofunc"]
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-14 16:35:58 +02:00
Ralph Sennhauser
3a2d75af65
Fix eslint rule 'no-irregular-whitespace'
...
Manual fixes needed for:
eslint --no-config-lookup --rule '"no-irregular-whitespace": 1'
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-14 13:52:12 +02:00
Itms
56e268d82b
Update the issue template for release processes
2025-05-14 11:14:13 +02:00
Itms
51ab929926
Implement pipeline for generating patch releases
...
The new patch-release pipeline takes a git branch originating from a
release tag, applies the changes since the tag onto the nightly build of
the release, and rebuilds the Windows binary.
All resulting changes are sent to the bundling pipeline which builds for
macOS and creates the tarballs and installers.
There will be two instances of the bundles pipeline: the main one will
keep tracking the main branch and providing biweekly bundles of the next
release, while a new patched-bundles pipeline will be manually used to
generate patch releases.
2025-05-14 10:49:02 +02:00
Itms
c38b40cda8
Allow downloading Windows libraries into nightly
2025-05-14 10:48:43 +02:00
Ralph Sennhauser
74f475f9fd
Fix eslint rule 'no-return-assign'
...
Manual fixes needed for:
eslint --no-config-lookup --rule '"no-return-assign": 1'
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-13 20:12:35 +02:00
phosit
429fb672a0
Move the argument validation to PlayerPlacement
...
Only `PlayerPlacement` itself should know how to validate it's value.
Fix : #7686
2025-05-13 17:52:57 +02:00
Ralph Sennhauser
406d0c90ca
Fix eslint rule 'operator-linebreak'
...
eslint --no-config-lookup --fix --rule '"operator-linebreak": ["warn", "after"]'
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-13 16:06:50 +02:00
Ralph Sennhauser
bc2e16afc2
Fix eslint rule 'no-mixed-spaces-and-tabs'
...
Manual fixes needed for:
eslint --no-config-lookup --rule '"no-mixed-spaces-and-tabs": ["warn", "smart-tabs"]'
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-13 15:48:23 +02:00
Ralph Sennhauser
40f1340e60
Fix eslint rule 'space-before-function-paren'
...
eslint --no-config-lookup --fix --rule '"space-before-function-paren": ["warn", "never"]'
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-13 15:21:57 +02:00
Ralph Sennhauser
8e71be511b
Fix eslint rule 'space-in-parens'
...
eslint--no-config-lookup --fix --rule '"space-in-parens": 1'
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-13 14:29:29 +02:00
Ralph Sennhauser
76a50d1828
Fix eslint rule 'no-floating-decimal'
...
eslint --no-config-lookup --fix --rule '"no-floating-decimal": 1'
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-13 14:09:58 +02:00
Ralph Sennhauser
d2222ee0ac
Fix eslint rule 'prefer-const'
...
The remaining ones that can be fixed automatically.
eslint --no-config-lookup --fix --rule '"prefer-const": 1'
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-12 18:44:28 +02:00
Ralph Sennhauser
c24bf321d6
Fix eslint rule 'prefer-const' in gui/[c-p]
...
eslint --no-config-lookup --fix --rule '"prefer-const": 1' \
binaries/data/mods/public/gui/[c-p]*
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-12 14:15:40 +02:00
Ralph Sennhauser
e7f1406c37
Fix eslint rule 'prefer-const' in components/[T-V]*
...
eslint --no-config-lookup --fix --rule '"prefer-const": 1' \
binaries/data/mods/public/simulation/components/[T-V]*
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-12 13:12:45 +02:00
Ralph Sennhauser
4b3124e364
Fix eslint rule 'prefer-const' in components/unitai
...
eslint --no-config-lookup --fix --rule '"prefer-const": 1' \
binaries/data/mods/public/simulation/components/UnitAI.js
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-12 08:23:10 +02:00
Ralph Sennhauser
9d791de2eb
Fix eslint rule 'prefer-const' in components/[R-S]*
...
eslint --no-config-lookup --fix --rule '"prefer-const": 1' \
binaries/data/mods/public/simulation/components/[R-S]*
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-12 08:02:53 +02:00
Ralph Sennhauser
fd27f39c20
Fix eslint rule 'prefer-const' in components/[H-P]*
...
eslint --no-config-lookup --fix --rule '"prefer-const": 1' \
binaries/data/mods/public/simulation/components/[H-P]*
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-11 19:24:03 +02:00
Ralph Sennhauser
eb75835ce4
Fix eslint rule 'prefer-const' in components/G*
...
eslint --no-config-lookup --fix --rule '"prefer-const": 1' \
binaries/data/mods/public/simulation/components/G*
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-11 17:53:23 +02:00
Ralph Sennhauser
b80c222b96
Fix eslint rule 'prefer-const' in components/[C-F]*
...
eslint --no-config-lookup --fix --rule '"prefer-const": 1' \
binaries/data/mods/public/simulation/components/C* \
binaries/data/mods/public/simulation/components/D* \
binaries/data/mods/public/simulation/components/E* \
binaries/data/mods/public/simulation/components/F*
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-11 14:27:12 +02:00
Dunedan
ea4de39faa
Direct support requests to the forums
...
This disables the default issue type in Gitea and replaces it with a
link to the help and feedback section in the forums. That's a measure to
discourage players to use Gitea as a tool to seek support.
2025-05-11 12:24:49 +02:00
Lancelot de Ferrière
dd74892463
Fix no-pch build following #7829
2025-05-11 11:24:50 +02:00
Ralph Sennhauser
4c4f787c63
Fix eslint rule 'prefer-const' in components/[A-B]*
...
eslint --no-config-lookup --fix --rule '"prefer-const": 1' \
binaries/data/mods/public/simulation/components/A* \
binaries/data/mods/public/simulation/components/B* \
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-11 10:40:23 +02:00
Ralph Sennhauser
88eea5c7e3
Fix eslint rule 'prefer-const' in components/tests
...
eslint --no-config-lookup --fix --rule '"prefer-const": 1' \
binaries/data/mods/public/simulation/components/tests
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-11 10:03:30 +02:00
Lancelot de Ferrière
cf952b34e4
Fix silhouette calculation after 8a40673
...
Fixes #7804
2025-05-11 09:56:24 +02:00
Ralph Sennhauser
2e090c2daa
Fix eslint rule 'prefer-const' in components/tests/[A-R]*
...
eslint --no-config-lookup --fix --rule '"prefer-const": 1' \
binaries/data/mods/public/simulation/components/tests
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-11 09:06:57 +02:00
Ralph Sennhauser
5a9968f88d
Fix eslint rule 'prefer-const' in simulation/helpers
...
eslint --no-config-lookup --fix --rule '"prefer-const": 1' \
binaries/data/mods/public/simulation/helpers
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-11 08:50:27 +02:00
Ralph Sennhauser
bebc72a3c7
Fix eslint rule 'prefer-const' in sim/helpers/commands
...
eslint --no-config-lookup --fix --rule '"prefer-const": 1' \
binaries/data/mods/public/simulation/helpers/Commands.js
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-10 19:41:45 +02:00
Ralph Sennhauser
62ee1c34ac
Fix eslint rule 'prefer-const' in simulation/ai
...
eslint --no-config-lookup --fix --rule '"prefer-const": 1' \
binaries/data/mods/public/simulation/ai
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-10 19:16:52 +02:00
Ralph Sennhauser
ac3f56fa9e
Fix eslint rule 'prefer-const' in ai/[a-f]*
...
eslint --no-config-lookup --fix --rule '"prefer-const": 1' \
binaries/data/mods/public/simulation/ai/common-api/class.js \
binaries/data/mods/public/simulation/ai/common-api/entity.js \
binaries/data/mods/public/simulation/ai/common-api/entitycollection.js \
binaries/data/mods/public/simulation/ai/common-api/filters.js
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-10 18:55:13 +02:00
Ralph Sennhauser
93668e8447
Fix eslint rule 'prefer-const' in gui/reference
...
eslint --no-config-lookup --fix --rule '"prefer-const": 1' \
binaries/data/mods/public/gui/reference
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-10 18:40:28 +02:00
Ralph Sennhauser
50a5d4b366
Fix eslint rule 'prefer-const' in gui/session
...
eslint --no-config-lookup --fix --rule '"prefer-const": 1' \
binaries/data/mods/public/gui/session
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-10 18:05:22 +02:00
Ralph Sennhauser
9f489b748f
Fix eslint rule 'prefer-const' in gui/session/[m-t]*
...
eslint --no-config-lookup --fix --rule '"prefer-const": 1' \
binaries/data/mods/public/gui/session/message_box \
binaries/data/mods/public/gui/session/messages.js \
binaries/data/mods/public/gui/session/minimap/MiniMap.js \
binaries/data/mods/public/gui/session/objectives \
binaries/data/mods/public/gui/session/top_panel \
binaries/data/mods/public/gui/session/trade
Ref: #7812
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2025-05-10 17:38:23 +02:00
Lancelot de Ferrière
9eccf1f27d
Iterate the component map only once on serialization
2025-05-10 17:08:49 +02:00