Tim Felgentreff
|
31495b4f37
|
expose the boolean flags that moved to GameSettings
|
2022-03-15 23:22:38 +01:00 |
|
Tim Felgentreff
|
617b5f0652
|
avoid vectors as public static global members
this can cause very bad initialization order issues.
making them private helps the compiler figure out better init order
|
2022-03-15 23:22:38 +01:00 |
|
Tim Felgentreff
|
fecaaa9808
|
use references instead of copy of hosts
|
2022-03-15 23:22:38 +01:00 |
|
Tim Felgentreff
|
d4b71058a4
|
fix and document player team assignement via presets
|
2022-03-15 23:22:38 +01:00 |
|
Tim Felgentreff
|
faa596d051
|
debug print replay settings
|
2022-03-15 23:22:37 +01:00 |
|
Tim Felgentreff
|
6da281bea1
|
allow grayscale graphic loading
|
2022-03-15 23:22:37 +01:00 |
|
Tim Felgentreff
|
6f2c989ab9
|
send the new client index out to clients after compacting host array
|
2022-03-15 23:22:37 +01:00 |
|
Tim Felgentreff
|
753f3e251f
|
compact host array before game start
|
2022-03-15 23:22:37 +01:00 |
|
Tim Felgentreff
|
a56b6cbbac
|
make sure we cannot build nonsolid decorative buildings on water
|
2022-03-15 23:16:26 +01:00 |
|
Tim Felgentreff
|
a79424e07c
|
cancel building when building from outside and stopping
|
2022-03-15 22:25:42 +01:00 |
|
Tim Felgentreff
|
00468bd53e
|
fix diagonal rule checks for buildings
|
2022-03-15 22:17:33 +01:00 |
|
Tim Felgentreff
|
c315a6cc40
|
show it as training when building from outside
|
2022-03-15 22:17:21 +01:00 |
|
Tim Felgentreff
|
0cf8f763f4
|
Merge pull request #391 from Wargus/tim/better-lobby
Simplify network setup code
|
2022-03-13 21:43:48 +01:00 |
|
Tim Felgentreff
|
0d06a982e0
|
drop XP support from settings file
|
2022-03-13 21:04:37 +01:00 |
|
Tim Felgentreff
|
b9cbf037d4
|
debug: try building with v142 toolset
|
2022-03-13 19:55:44 +01:00 |
|
Tim Felgentreff
|
1eb54db886
|
fix wrong bounds for network commands after refactoring
|
2022-03-12 15:34:53 +01:00 |
|
Tim Felgentreff
|
3cd6aff6d6
|
fix game start, also serialize presets in server state
|
2022-03-12 13:58:37 +01:00 |
|
Tim Felgentreff
|
27e28b595e
|
ignore linux build
|
2022-03-12 08:30:40 +01:00 |
|
Tim Felgentreff
|
6e33e81bb6
|
simplify network code
|
2022-03-10 11:36:48 +01:00 |
|
Tim Felgentreff
|
6067ae2d79
|
Merge pull request #388 from ipochto/fix/case_unsigned_narrowing
Fix compiling for gcc > 9.3.0
|
2022-03-08 20:59:21 +01:00 |
|
Tim Felgentreff
|
a00db769c6
|
new idea for player order pref
|
2022-03-07 22:45:36 +01:00 |
|
Tim Felgentreff
|
e265b6cdda
|
fix server setup message size
|
2022-03-07 20:53:04 +01:00 |
|
Tim Felgentreff
|
f9fed10bc9
|
dirty expansion to multiplayer random placement option
|
2022-03-07 20:53:04 +01:00 |
|
alyokhin
|
afada1bceb
|
fix compile error for gcc version >9.3.0
|
2022-03-07 00:47:41 +03:00 |
|
Tim Felgentreff
|
0802cd1cff
|
fixed another assert problem when game is cleaning up
|
2022-03-06 14:36:45 +01:00 |
|
Tim Felgentreff
|
4f6095ae0b
|
fix wrong assert
|
2022-03-06 14:25:25 +01:00 |
|
Tim Felgentreff
|
b154e98a16
|
always use network command queue, even in single player, for replays to work
|
2022-03-04 00:45:06 +01:00 |
|
Tim Felgentreff
|
ab03f5ae1d
|
don't autosave during replay
|
2022-03-03 22:51:45 +01:00 |
|
Tim Felgentreff
|
083a52fe65
|
AiChecksDependencies is now synced across network clients
|
2022-03-03 22:50:14 +01:00 |
|
Tim Felgentreff
|
980adaff5b
|
Revert "always use vendored lua"
This reverts commit b8c8ee0d33 .
|
2022-03-03 22:43:31 +01:00 |
|
Tim Felgentreff
|
d5ac1f0115
|
ensure we store team preferences in replay and always re-init GameSettings with user preferences where applicable
|
2022-03-03 22:43:07 +01:00 |
|
Tim Felgentreff
|
7677bf10c4
|
give games the opportunity to store custom settings in GameSettings that get synced across the network
|
2022-03-03 22:43:07 +01:00 |
|
Tim Felgentreff
|
fe8aa30ab6
|
debugprint game settings, fix sign of some settings
|
2022-03-03 22:43:07 +01:00 |
|
Tim Felgentreff
|
8b1ee58a6b
|
move sync-relevant preferences into GameSettings
|
2022-03-03 22:43:07 +01:00 |
|
Tim Felgentreff
|
1976266edb
|
since FoV is relevant for sync, make it part of GameSettings
|
2022-03-03 22:43:07 +01:00 |
|
Tim Felgentreff
|
bd60335b14
|
make changes work with tolua++, trying to be backwards compatible
|
2022-03-03 22:43:07 +01:00 |
|
Tim Felgentreff
|
f56179a421
|
cleanups
|
2022-03-03 22:43:07 +01:00 |
|
Tim Felgentreff
|
b8c8ee0d33
|
always use vendored lua
|
2022-03-03 22:43:07 +01:00 |
|
Tim Felgentreff
|
2b10b273fd
|
don't use enum class until we remove tolua++
|
2022-03-03 22:43:07 +01:00 |
|
Tim Felgentreff
|
b3b3f87cfb
|
fix build issues on linux
|
2022-03-03 22:43:07 +01:00 |
|
Tim Felgentreff
|
8e1405a023
|
fix team assignments again
|
2022-03-03 22:43:07 +01:00 |
|
Tim Felgentreff
|
fb6e084920
|
fix replay refactpring
|
2022-03-03 22:43:07 +01:00 |
|
Tim Felgentreff
|
32859f79bc
|
more room for backtrace
|
2022-03-03 22:43:07 +01:00 |
|
Tim Felgentreff
|
6d59f33ecb
|
fix SettingsPresets#Init
|
2022-03-03 22:43:07 +01:00 |
|
Tim Felgentreff
|
8425934c31
|
doc update for SetPlayerData
|
2022-03-03 22:43:07 +01:00 |
|
Tim Felgentreff
|
991c5c988d
|
WIP: start unifying all GameSettings
|
2022-03-03 22:43:07 +01:00 |
|
Tim Felgentreff
|
a00256e6da
|
delete metaserver
|
2022-03-03 22:43:07 +01:00 |
|
Tim Felgentreff
|
05f6b251f7
|
reuse game structures in replay types
|
2022-03-03 22:43:07 +01:00 |
|
alyokhin
|
9d8ecfb0b1
|
Merge branch 'master' of https://github.com/Wargus/stratagus
|
2022-03-03 23:49:42 +03:00 |
|
Tim Felgentreff
|
c29919f31d
|
Merge pull request #387 from sviscapi/master
Changed boolean into bool in online_service.cpp
|
2022-02-26 16:55:31 +01:00 |
|