Commit graph

8484 commits

Author SHA1 Message Date
Erik Ogenvik
e4904409e4
Mark as deprecated. See https://github.com/worldforge/worldforge. 2023-12-03 14:43:31 +01:00
Erik Ogenvik
dbda5f0a07 Remove references to obsolete media download targets. 2023-10-30 21:04:11 +01:00
Erik Ogenvik
013e47e195 Adapt to fixes to Eris. 2023-10-30 17:37:14 +01:00
Erik Ogenvik
d5bf86971b Check that resource group exists. 2023-10-30 17:07:51 +01:00
Erik Ogenvik
a9ee97e479 Added FunctionalTask code.
Not sure if we're gonna use it though.
2023-10-26 12:57:20 +02:00
Erik Ogenvik
3a9639adad Moved Caelum assets from repository to here. 2023-10-25 23:14:51 +02:00
Erik Ogenvik
23bcf6cb2d Clarify usage of Conan. 2023-10-23 23:53:24 +02:00
Erik Ogenvik
957ae3f2b7 Use AsyncProvider to wrap Curl Provider. 2023-10-21 16:18:43 +02:00
Erik Ogenvik
2fe64962d2 Use connection host name if none specified. 2023-10-18 22:43:37 +02:00
Erik Ogenvik
72df787605 Update Conan script. 2023-10-17 23:30:31 +02:00
Erik Ogenvik
29e8c907ea Handle squall "http" and "https" protocol.
This relies on the source file system being directly exposed through http, which
is what is most easy to setup.
2023-10-15 21:54:25 +02:00
Erik Ogenvik
67fc6ba9f3 Remove obsolete config.h inclusion. 2023-10-13 23:02:54 +02:00
Erik Ogenvik
0184ddd6ec Implement loading and unloading of resources specified by the server. 2023-10-10 00:05:30 +02:00
Erik Ogenvik
7946566de5 Remove samplers use in core scripts.
This is because of a peculiar issue in Ogre where samplers aren't unloaded
along with the resource group. To handle this we unload _all_ samplers when we also unload
the "world" resource group. As a result of this however we cannot use any samplers at all
in our core scripts (as they would then also be unloaded).
2023-10-09 23:34:37 +02:00
Erik Ogenvik
f72257382e Improve on assets sync. 2023-08-27 14:27:17 +02:00
Erik Ogenvik
33f4fa5e95 Show widget when we initially sync assets. 2023-08-27 12:06:14 +02:00
Erik Ogenvik
fdf7303ff0 Added assets sync step to server connection process. 2023-08-26 19:43:43 +02:00
Erik Ogenvik
6c9b429570 Handle resources not being in the default group.
We might want to revisit here and specify groups more clearly once it's more clear how to handle it.
2023-08-14 23:16:15 +02:00
Erik Ogenvik
78a05a0b1a Adapt to having core data bundled with Ember source. 2023-08-14 22:57:00 +02:00
Erik Ogenvik
eff1f235fd Moved core assets from media repo to Ember repo.
These are the most core and small assets needed to get Ember up and running.
They should be part of the Ember repository. Any other assets, such as the "dural" assets,
should be loaded dynamically when the user connects to a server.
2023-08-14 22:50:07 +02:00
Erik Ogenvik
683960613c Check that textures exists before applying them. 2023-08-14 20:33:31 +02:00
Erik Ogenvik
975aa1e1a3 Fixed inclusion of squall.
There's no "squallcurl" target created yet in Conan.
2023-08-14 20:29:11 +02:00
Erik Ogenvik
17a3f41a63 Disable dynamic widget plugins if building with Conan.
Since that's a static build and we strip out some symbols. In order for that to work
we need to make sure that no symbols at all are stripped. To be left as a future exercise.
2023-08-14 20:28:39 +02:00
Erik Ogenvik
d0b9697153 Bail out early if empty material. 2023-08-13 23:13:09 +02:00
Erik Ogenvik
2324248a87 Require Squall through Conan. 2023-08-13 20:19:33 +02:00
Erik Ogenvik
0d3d838332 Fixed issue with including multiple symbols. 2023-07-10 00:26:13 +02:00
Erik Ogenvik
b7443bbdbb Added SquallArchive for Ogre. 2023-06-20 23:51:13 +02:00
Erik Ogenvik
2152784df6 Minor code cleanup. 2023-06-20 23:51:13 +02:00
Erik Ogenvik
56dd0c27c0 Smaller code fixes. 2023-06-20 23:51:13 +02:00
Erik Ogenvik
fc732537ff Clean up Conan file. 2023-06-20 23:50:38 +02:00
Erik Ogenvik
b69b5df114 Skip MacOS for now as we're getting linking errors with iconv and CEGUI. 2023-06-10 22:25:48 +02:00
Erik Ogenvik
3c81215648 Try with MacOS. 2023-06-10 20:20:50 +02:00
Erik Ogenvik
307d4eb934 Always build tests, to make ctest work on Windows.
Since the "check" target currently won't play well with presets on Windows.
2023-06-10 00:42:23 +02:00
Erik Ogenvik
8b75a487fa Find CEGUI through Conan if Conan is used. 2023-06-10 00:38:39 +02:00
Erik Ogenvik
25e3f7f641 Fixed warning. 2023-06-07 00:13:34 +02:00
Erik Ogenvik
eb78076fdb Fixed link conflicts on Windows. 2023-06-07 00:13:21 +02:00
Erik Ogenvik
cf67c8e13a Fixed AppImage build. 2023-06-06 17:37:43 +02:00
Erik Ogenvik
8c7c93e683 Fix build issues. 2023-06-06 17:31:22 +02:00
Erik Ogenvik
399785b0bf Remove unused build stuff. 2023-06-06 17:06:40 +02:00
Erik Ogenvik
1c57845b38 Specify that we use mojoal statically.
This is needed for Windows.
2023-06-06 01:16:25 +02:00
Erik Ogenvik
7cde5cbf0f Fixed compile warnings. 2023-06-06 01:16:04 +02:00
Erik Ogenvik
61770d504d Fixed tests. 2023-06-05 10:11:09 +02:00
Erik Ogenvik
776fe36db5 Provide a TinyXML xml parser for CEGUI.
This removes the need to build an XML parser in CEGUI, which turns out to be tricky
with modern compilers and Conan.
2023-06-04 22:49:54 +02:00
Erik Ogenvik
5b18499d3b Don't use "build_ci" directory. 2023-06-04 17:51:50 +02:00
Erik Ogenvik
022ef231ff Use "check" target. 2023-06-04 16:22:44 +02:00
Erik Ogenvik
8158527bdf Skip components we don't need. 2023-06-03 16:52:14 +02:00
Erik Ogenvik
6afaaec089 Use C++17. 2023-06-03 12:20:12 +02:00
Erik Ogenvik
db412bf492 Use sigc++ 3 and commit to Conan more. 2023-06-03 10:32:31 +02:00
Erik Ogenvik
537389a848 Fixed build issues. 2023-05-31 15:55:01 +02:00
Erik Ogenvik
c2deae3bd4 Provide snapcraft token as env variable. 2023-05-27 23:19:03 +02:00