Commit graph

82 commits

Author SHA1 Message Date
Erik Ogenvik
bb59b00e4e Removed references to unused types too. 2024-10-30 22:35:45 +01:00
Erik Ogenvik
1d93d23895 Removed obsolete section. 2024-10-30 22:24:01 +01:00
Erik Ogenvik
9122bada99 Apply areas to terrain in server too. 2024-10-30 22:12:12 +01:00
Erik Ogenvik
a080ad86a8 Fixed SynchedState signature.
We don't want state copies by mistake.
2024-10-29 16:17:26 +01:00
Erik Ogenvik
b87a77dab5 Make getSection const. 2024-10-28 15:23:37 +01:00
Erik Ogenvik
8092800417 Remove obsolete directives. 2024-10-28 00:03: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
775c1a9fa1 Set recurse flag by default. 2024-10-26 15:47:33 +02:00
Erik Ogenvik
a140dd2743 Bump deps. 2024-10-26 14:13:20 +02:00
Erik Ogenvik
ce86e7cb1b Avoid default parameter on virtual method. 2024-08-18 11:57:12 +02:00
Erik Ogenvik
88fd5b2eaf Smaller fixes. 2024-08-18 11:45:05 +02:00
Erik Ogenvik
d75bef96b6 Bump boost. 2024-07-30 17:38:59 +02:00
Erik Ogenvik
7b8f57967d Bump deps. 2024-07-30 17:01:31 +02:00
Erik Ogenvik
fe84f64c11 Spelling. 2024-07-29 22:48:47 +02:00
Erik Ogenvik
b32f82fe95 Bump deps. 2024-05-08 20:30:59 +02:00
Erik Ogenvik
040ab72a6d Clarify docs and cleanup. 2024-05-03 23:09:22 +02:00
Erik Ogenvik
67fd45ac09 Added info on CLI. 2024-05-03 23:02:00 +02:00
Erik Ogenvik
ce42e5d134 Clarify build instructions. 2024-05-03 22:30:27 +02:00
Erik Ogenvik
3c2e4960f7 More correct include guards. 2024-05-02 22:43:00 +02:00
Erik Ogenvik
7b437b527f Include float header. 2024-03-22 09:29:06 +01:00
Erik Ogenvik
7b67962c17 Bump deps. 2024-02-15 23:38:05 +01:00
Erik Ogenvik
22e0ce61fa Use more modern way to specify C++20. 2024-02-11 23:21:18 +01:00
Erik Ogenvik
811ae9af97 Check the to field on the arg. 2024-02-11 23:21:17 +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
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
0faad61342 Sinmplify op handling.
Instead of trying to figure out how to handle incoming ops for entities we
now just keep them in a queue until we've resolved the entity and replays them.
This helps with the client since it means that we can be sure to handle ops once
the client has had time to figure out which Model to use.
2024-01-10 22:57:21 +01:00
Erik Ogenvik
4fa9473dec Moved sight op handling into View.
So we can more easily replay sights ops once the type has been bound.
The idea is not to lose any ops.
2024-01-06 15:41:51 +01:00
Erik Ogenvik
3d444eae45 Added methods for getting view position.
Useful for sounds.
2024-01-06 15:38:59 +01:00
Erik Ogenvik
1efba6cf94 Tidy up and add comments. 2024-01-04 17:48:55 +01:00
Erik Ogenvik
201df2e5c9 Fixed build file. 2024-01-04 01:05:25 +01:00
Erik Ogenvik
b49390b632 Fixed check for unistd.h 2024-01-04 01:04:18 +01:00
Erik Ogenvik
8f921ff647 Make sure that Squall can be built as a standalone component. 2024-01-04 00:59:42 +01:00
Erik Ogenvik
e598eee88d Use milliseconds for all time.
And remove "seconds" in favour of always using "stamp".
2024-01-03 16:45:50 +01:00
Erik Ogenvik
e222c9e7f1 Specify "current time" per frame. 2024-01-01 15:48:09 +01:00
Erik Ogenvik
454cc510d4 Refactor predicted state a bit. 2023-12-30 23:41:26 +01:00
Erik Ogenvik
0ad3816248 Use std::optional instead of boost one. 2023-12-30 01:53:05 +01:00
Erik Ogenvik
d6f876a9e1 Use std chrono in predictions. 2023-12-30 01:35:22 +01:00
Erik Ogenvik
e1f76b3153 No need for optional macro. 2023-12-25 00:38:13 +01:00
Erik Ogenvik
bb9367ce89 std::vector isn't guaranteed to be standard layout.
It is on GCC but not MSVC.
2023-12-18 19:52:41 +01:00
Erik Ogenvik
e9768a3b09 Mark Eris as separate project. 2023-12-18 18:05:24 +01:00
Erik Ogenvik
bd2eb402b6 Allow repository to be specified by environment. 2023-12-17 18:56:43 +01:00
Erik Ogenvik
7773912bfe Added command for pruning Squall repository. 2023-12-17 18:54:33 +01:00
Erik Ogenvik
edee2823e5 Store roots for each remote server.
So we can retain them when we prune Squall.
2023-12-17 14:41:52 +01:00
Erik Ogenvik
4182488ba7 Skip Atlas code generation on windows. 2023-12-17 14:21:39 +01:00
Erik Ogenvik
e19d9934b2 Close file properly. 2023-12-12 23:46:47 +01:00
Erik Ogenvik
3e67875e77 Reformat with one formatting style.
This is a mainly automatic reformat of all code so that it uses the same format as Ember.
The idea is to make development easier by removing any differences in formatting.

In addition to formatting there has been a couple of fixes to smaller code issues.
2023-12-12 23:44:37 +01:00
Erik Ogenvik
249d23f3e2 Fixed meta server processing. 2023-12-10 14:19:22 +01:00
Erik Ogenvik
6e270e1337 Be more conformant with comparison operators. 2023-12-05 01:02:51 +01:00