Commit graph

124 commits

Author SHA1 Message Date
Erik Ogenvik
0288d64be7 Added required header. 2025-01-07 13:40:34 +01:00
Erik Ogenvik
fb3b4f7aad Added required includes. 2025-01-07 13:14:09 +01:00
Erik Ogenvik
f20cbb8792 Cleanup unused includes.
To make compilation slightly quicker.
2025-01-06 23:58:14 +01:00
Erik Ogenvik
9870431c13 Bump deps. 2025-01-02 18:57:30 +01:00
Erik Ogenvik
f0a7f2270a Fixed some issues with dynamic widget loading. 2024-12-23 00:22:45 +01:00
Erik Ogenvik
af1865621b Improve on path comparisons. 2024-12-23 00:20:58 +01:00
Erik Ogenvik
dbaa5d7da8 Allow widgets to be built as reloadable plugins.
This is useful when doing development. It requires some libs to be built as shared though.
Enable this by specifying the "widgets_as_plugins" when invoking conan.
The reason we need to do this in the Conan phase is because it affects how some
libraries now needs to be built as shared libs.
2024-12-23 00:20:34 +01:00
Erik Ogenvik
0ee1b08af5 Fixed crash when destroying Model. 2024-11-03 23:07:03 +01:00
Erik Ogenvik
9122bada99 Apply areas to terrain in server too. 2024-10-30 22:12:12 +01:00
Erik Ogenvik
b87a77dab5 Make getSection const. 2024-10-28 15:23:37 +01:00
Erik Ogenvik
b675339650 Handle entity "0" in special way.
Since it's a special entity.
2024-10-28 00:03:13 +01:00
Erik Ogenvik
f79bac43aa Print out how long the frame took. 2024-10-27 12:28:03 +01:00
Erik Ogenvik
1afc5a0927 Avoid Sol copying of references.
By default Sol will copy any references. This messes with CEGUI since there are
a couple of classes which will cause memory corruption if copied.
The solution is to expose them as pointer instead, which will make Sol just reference them.
2024-10-27 12:27:44 +01:00
Erik Ogenvik
6f92d701b6 Bump to sol 3.3.0 2024-10-27 11:00:29 +01:00
Erik Ogenvik
d23ae67830 Correctly reference libunwind. 2024-10-27 01:05:09 +02:00
Erik Ogenvik
44340710ac Use more proper iterator declaration. 2024-10-26 15:47:57 +02:00
Erik Ogenvik
971195c6ba Use correct constant type. 2024-10-26 13:26:41 +02:00
Erik Ogenvik
c67b5b8da5 Provide xdg-basedir as bundled package.
Instead of through Conan. This just makes it less complex.
2024-08-14 23:14:02 +02:00
Erik Ogenvik
9ff2681d42 Don't rely on supported techs if not loaded. 2024-03-09 14:54:01 +01:00
Erik Ogenvik
6789b606ae Removed unused plugins. 2024-02-25 17:14:30 +01:00
Erik Ogenvik
4b13f60568 Only set param if it exists. 2024-02-25 17:14:11 +01:00
Erik Ogenvik
08246deea6 Only set params that exist. 2024-02-25 14:14:12 +01:00
Erik Ogenvik
6bd75f14b7 Remove commented out code. 2024-02-21 00:34:53 +01:00
Erik Ogenvik
272c2d5411 Use static function. 2024-02-21 00:33:57 +01:00
Erik Ogenvik
0294592398 Decrease threshold for long click. 2024-02-21 00:33:20 +01:00
Erik Ogenvik
ba48441836 Iterate through all meshes. 2024-02-21 00:26:11 +01:00
Erik Ogenvik
7b67962c17 Bump deps. 2024-02-15 23:38:05 +01:00
Erik Ogenvik
79af684bfe Moved code out from Entity inheritance. 2024-02-11 23:21:17 +01:00
Erik Ogenvik
778aac948f Collapse inheritance. 2024-02-11 23:21:17 +01:00
Erik Ogenvik
ce4670ceca Remove unused code. 2024-02-11 23:21:17 +01:00
Erik Ogenvik
0d12d514f1 Avoid compiler warning. 2024-01-19 13:11:57 +01:00
Erik Ogenvik
2c5779b984 Remove visibility from entities.
All entities that we receive sights of are always visible.
If we want to simulate things such as sounds from non-visible entities we
need to devise a protocol for this separately.
2024-01-14 00:34:51 +01:00
Erik Ogenvik
0f545bc6bb Windows compile fixes. 2024-01-11 14:01:09 +01:00
Erik Ogenvik
296f4c1fd4 Compile fixes. 2024-01-11 09:06:22 +01:00
Erik Ogenvik
a79087f6cf Include required headers. 2024-01-11 00:32:50 +01:00
Erik Ogenvik
c81e85bcaf Bump protocol version. 2024-01-11 00:05:07 +01:00
Erik Ogenvik
19938c6a82 Standardize on OGG files only for sound.
And only use them in streaming mode.
2024-01-10 22:57:21 +01:00
Erik Ogenvik
e7fff36ea1 Removed obsolete sound code. 2024-01-10 22:57:21 +01:00
Erik Ogenvik
e8ab5ca736 Tidy up the activation system.
We've now settled on listeninig for operations in general instead of having
separate systems for Sound and Acted.
2024-01-10 22:57:21 +01:00
Erik Ogenvik
4418179613 Removed extra detach call. 2024-01-10 22:57:21 +01:00
Erik Ogenvik
640f29adda Use entity ref. 2024-01-10 22:57:21 +01:00
Erik Ogenvik
fc840f19eb Only show terrain if we have an terrain entity. 2024-01-10 22:57:21 +01:00
Erik Ogenvik
8a5cbd85e1 Simplify ownership. 2024-01-10 22:57:21 +01:00
Erik Ogenvik
6841b02c9b Simplify Foliage handling. 2024-01-10 22:57:21 +01:00
Erik Ogenvik
1ef1483754 Mark thread shared boolean as volatile. 2024-01-10 22:57:21 +01:00
Erik Ogenvik
c6c42009db Simplify API. 2024-01-10 22:57:21 +01:00
Erik Ogenvik
5573c3e819 Use filesystem paths. 2024-01-10 22:57:21 +01:00
Erik Ogenvik
f2e0c55cbc Fixed incorrect path. 2024-01-10 22:57:21 +01:00
Erik Ogenvik
b004d4af0c Fixed issue with reload and also handle Entity Acted and sounds. 2024-01-10 22:57:21 +01:00
Erik Ogenvik
be121d1da6 Update listener position each frame. 2024-01-10 22:57:21 +01:00