Commit graph

17190 commits

Author SHA1 Message Date
Tim Felgentreff
25b98a4062 add an example for an external ai 2021-02-07 10:07:54 +01:00
Tim Felgentreff
4eb0016d75 fix off-by-one due to Lua being 1-indexed 2021-02-07 09:55:43 +01:00
Tim Felgentreff
a7ea6d5b40 one more AI api function 2021-02-07 09:55:43 +01:00
Tim Felgentreff
ea777ce963 even less waiting 2021-02-07 09:53:17 +01:00
Tim Felgentreff
9551c2b883 rare screen updates 2021-02-07 09:52:52 +01:00
Tim Felgentreff
fe9a203fe9 adapt to better work with torch 2020-12-23 12:48:15 +01:00
Tim Felgentreff
09384d051c add functions to run external AI agents 2020-12-23 11:04:32 +01:00
Tim Felgentreff
a85e31932c add game types that are useful for training AIs 2020-12-22 17:54:10 +01:00
Tim Felgentreff
f4b6f16e54 refactor server discovery into its own class 2020-12-21 20:40:59 +01:00
Tim Felgentreff
56dd0f5cb7 query for servers on all interfaces 2020-12-21 20:40:59 +01:00
Tim Felgentreff
2a6677fd46 be more conservative and use pure SDL when shader 0 ("none") is selected 2020-12-21 20:40:59 +01:00
Tim Felgentreff
aca107c4cb be more compliant to mDNS discovery 2020-12-21 20:40:59 +01:00
Tim Felgentreff
a76d96f716 add a function to get the local hostname 2020-12-21 20:40:59 +01:00
Tim Felgentreff
1e43f7b17a update release docs 2020-12-21 20:40:59 +01:00
Tim Felgentreff
20bb6d8ad9 start new dev cycle 2020-12-21 20:40:59 +01:00
Tim Felgentreff
b15b6ba4ca fix debian build rules 2020-12-19 10:38:45 +01:00
Tim Felgentreff
4dc370bc36 Release version 3.0.0 2020-12-19 07:23:25 +01:00
Tim Felgentreff
a2ccd5fbb8
Merge pull request from ipochto/master
Fixed complilation error.
2020-12-17 18:02:58 +01:00
alyokhin
a9feab1ebd Fixed complilation error. 2020-12-16 20:46:25 +03:00
Tim Felgentreff
48c26bb6fb Merge branch 'master' of https://github.com/Wargus/stratagus 2020-12-16 08:57:00 +01:00
Tim Felgentreff
0f85f77d9a fix windows build 2020-12-16 08:47:46 +01:00
Tim Felgentreff
aeebe0311e support local area network discovery of game servers in the lobby 2020-12-16 08:04:20 +01:00
Tim Felgentreff
c1fa7c07c6 NetSocketAddr doesn't need a socket, so don't accept it 2020-12-15 20:27:49 +01:00
Tim Felgentreff
25dc92eb4c Fix off-by-one in udp punch code 2020-12-15 10:03:40 +01:00
Tim Felgentreff
e38d5bf8c7 fix movie widget render on windows 2020-12-14 18:39:51 +01:00
Tim Felgentreff
29cf6aa555 fix a warning 2020-12-14 10:45:26 +01:00
Tim Felgentreff
0ef7248a85 fix music for videos 2020-12-14 10:45:19 +01:00
Tim Felgentreff
f214984e18 make resizing of window when changing resolution smarter 2020-12-13 19:13:31 +01:00
Tim Felgentreff
8d8bf4af78 report to windows that it shouldn't scale us 2020-12-13 19:13:15 +01:00
Tim Felgentreff
d0ed8f9874 fix various conditions in which the online service message buffer would become corrupted 2020-12-13 11:41:28 +01:00
Tim Felgentreff
7e20aab0b7 tweak player buttons in editor 2020-12-12 21:47:15 +01:00
Tim Felgentreff
7dda65b42f fix directory listing ccl func 2020-12-12 21:36:48 +01:00
Tim Felgentreff
f364edf9d9 fix build error 2020-12-12 20:45:43 +01:00
Tim Felgentreff
b021bebea9 fix two potential crashes 2020-12-12 17:59:18 +01:00
Tim Felgentreff
d4919270ca
Merge pull request from Wargus/tim/pvpgn
Support pvpgn for online multiplayer
2020-12-12 17:31:01 +01:00
Tim Felgentreff
72fe99b939 Merge branch 'manual-editor' 2020-12-12 17:28:25 +01:00
Tim Felgentreff
64b376de49 Rework the editor to be more sane 2020-12-12 17:22:57 +01:00
Tim Felgentreff
6c98fb060d make many shaders from libretro/glsl repo work directly 2020-12-11 16:56:01 +01:00
Tim Felgentreff
9a3624c99c make many shaders from libretro/glsl repo work directly 2020-12-11 11:14:34 +01:00
Tim Felgentreff
30346f869c fix slider and tile visibility 2020-12-10 23:16:18 +01:00
Tim Felgentreff
2da51daa4a allow an editor mode where all tiles can be directly set as decorations, without automatic fixup 2020-12-10 23:09:39 +01:00
Tim Felgentreff
7797fab297 fix indentation and whitespace 2020-12-10 09:01:37 +01:00
Tim Felgentreff
4e5fd6773c do not attempt to create account multiple times 2020-12-10 09:01:37 +01:00
Tim Felgentreff
a7e93459fa use static message buffer 2020-12-10 09:01:37 +01:00
Tim Felgentreff
0a8ed97c60 use a more compatible method to get my own address
This was after discussion with other developers on the BNetDocs chat. Since the
/netinfo command is a pvpgn specific thing, we instead advertise a fake game
when logging in and check what the server says our ip:port are.
2020-12-10 09:01:37 +01:00
Tim Felgentreff
17632c1baa remove assert for compatibility with Atlas 2020-12-10 09:01:37 +01:00
Tim Felgentreff
a77a0468f9 request external address in a better place 2020-12-10 09:01:37 +01:00
Tim Felgentreff
0da52223d8 debug printing for online service 2020-12-10 09:01:36 +01:00
Tim Felgentreff
83ef848156 request our own external address in the beginning so we can udp punch without help 2020-12-10 09:01:36 +01:00
Tim Felgentreff
63f6a41678 fix udppunch whisper parsing 2020-12-10 09:01:36 +01:00