Commit graph

216 commits

Author SHA1 Message Date
alyokhin
f868f32f71 added smart pointers adjusted for sdl2 2022-10-07 19:59:55 +03:00
Tim Felgentreff
56f3be8612 add lost find_package for lua 2022-09-09 07:15:51 +02:00
Tim Felgentreff
a6024a94d0
Merge pull request #413 from AMDmi3/docs
Install docs which do not depend on doxygen regardless of doxygen availability
2022-08-31 07:23:36 +02:00
Dmitry Marakasov
df008bc404 Add header paths for system libraries as SYSTEM
This ensures correct include ordering and hides warnings coming
from unrelated code. Specifically, it fixes build on FreeBSD,
which otherwise fails due to to problem in lcms code:

    In file included from .../stratagus-3.3.1/src/action/action_defend.cpp:45:
    In file included from .../stratagus/work/stratagus-3.3.1/src/include/ui.h:56:
    In file included from .../stratagus-3.3.1/src/include/viewport.h:34:
    In file included from .../stratagus-3.3.1/src/include/fow.h:39:
    In file included from .../stratagus-3.3.1/src/include/video.h:228:
    In file included from /usr/local/include/libmng.h:385:
    In file included from /usr/local/include/libmng_types.h:181:
    /usr/local/include/lcms.h:1238:29: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
    typedef int (* _cmsSAMPLER)(register WORD In[],
                                ^~~~~~~~~
2022-08-31 00:22:48 +03:00
Dmitry Marakasov
1976a2cef3 Install docs which do not depend on doxygen regardless of doxygen availability 2022-08-31 00:14:05 +03:00
Tim Felgentreff
2464f98dbe vendor all dependencies and allow statically linking them all 2022-08-27 21:20:34 +02:00
Tim Felgentreff
268e622cbf start new dev cycle 2022-08-11 20:32:27 +02:00
Tim Felgentreff
d8d1d45b36 start new dev cycle 2022-08-07 20:58:32 +02:00
Tim Felgentreff
eb59c63ad0 start new release cycle 2022-07-30 13:52:59 +02:00
Tim Felgentreff
6cb6c66da3 prepare 3.3.0 release 2022-07-27 15:42:34 +02:00
Tim Felgentreff
1d8c81d09a re-enable simd test functions 2022-06-29 19:42:48 +02:00
Tim Felgentreff
e533466092 make vendored lua also work on windows 2022-05-25 14:38:15 +02:00
Tim Felgentreff
c09468468f add gprof linker flag 2022-05-24 06:09:53 +02:00
Tim Felgentreff
59f99651bb openmp cmake option 2022-05-23 09:25:04 +02:00
Tim Felgentreff
1be53f0dc9 make dynamic load the default to start up faster 2022-04-27 21:28:30 +02:00
Tim Felgentreff
58c6c5967a add a wiggle animation for ships and planes to have sub-tile movement 2022-04-02 17:56:13 +02:00
Tim Felgentreff
9e11518abb use an external command to play midi music on windows
this works around the SDL_mixer known issue that on
windows, controlling the music volume for midi playback
always changes the entire process volume, so also affects
effect sounds. unfortunately, Mix_SetMusicCMD doesn't
work on windows either. so we just detect midi file
playback and launch a trivial midi player in an external
process with a fixed volume.
2022-03-29 22:02:05 +02:00
Tim Felgentreff
8e27da111c compile with c++17 filesystem support 2022-01-12 22:11:11 +01:00
Tim Felgentreff
ec565eba8a start new dev cycle 2021-12-25 06:46:08 +01:00
Tim Felgentreff
af55a5540f Release v3.2.0 2021-12-24 21:26:54 +01:00
Tim Felgentreff
3a29bddb5e keep debug symbols for windows builds 2021-12-23 14:17:12 +01:00
Tim Felgentreff
1a8db4b431 Revert "just treat music like a sound channel to fix war1gus#195"
This reverts commit 69f59b879b.
2021-12-23 06:51:49 +01:00
Tim Felgentreff
69f59b879b just treat music like a sound channel to fix war1gus#195 2021-12-22 17:17:09 +01:00
Dmitry Marakasov
dafda54e50 Fix compiler detection and flags
- Use CMAKE_<LANG>_COMPILER_ID to detect compiler as CMake docs suggest
- Support clang properly
- Don't set -Werror
2021-12-20 20:16:45 +03:00
Alex Grant Benedict
053228779c Some cleanup, removed the full toluapp source directory, so only using the simple one. 2021-11-24 18:58:00 -07:00
Alex Grant Benedict
0d39f9bbcc Some additions to build vendored libs 2021-11-24 15:30:22 -07:00
Alex Grant Benedict
769f7ebe8b Some minor changes to build files to get this to build and run on macOS. 2021-11-22 17:41:02 -07:00
Alex Grant Benedict
851b8ce297 Minor fix for compiling on macOS. Fixes linker error for libSDL2main. 2021-11-19 15:30:22 -07:00
Tim Felgentreff
cfff281f9e start new dev cycle 2021-07-17 20:59:41 +02:00
Tim Felgentreff
a6cdfb799b specify cmake policy. fixes deb buildpackage on 18.04 2021-07-16 13:15:11 +02:00
Tim Felgentreff
4c3ce12674 start new dev cycle 2021-07-15 19:25:46 +02:00
Tim Felgentreff
dce09f3914 start new dev cycle 2021-07-05 07:36:18 +02:00
Tim Felgentreff
9fe32b3a36 Release v3.1.0 2021-07-03 20:17:28 +02:00
alyokhin
495cdac5e6 Enable OpenMP 2021-04-20 10:39:45 +03:00
alyokhin
765a8bfbfc FOW computing is now devided into multile cycles instead of single. Added easing for FOW texture. Totally refactored. 2021-04-20 10:39:45 +03:00
alyokhin
5efdb72dc7 Added CFogOfWar - class implementing enhanced FoW 2021-04-20 10:39:43 +03:00
alyokhin
e234f4d3b7 Added fov.* files to CMakeLists.txt 2021-04-20 10:39:22 +03:00
Tim Felgentreff
08ef2b2f16 update doxygen generation 2021-02-07 21:36:34 +01:00
Tim Felgentreff
f4b6f16e54 refactor server discovery into its own class 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
fd8c5eb329 tighten down calls for game join/part and start/stop 2020-12-10 09:01:32 +01:00
Tim Felgentreff
61d4818a68 begin removing all references to metaserver in favor of pvpgn 2020-12-10 09:01:32 +01:00
Tim Felgentreff
f4091c5c6b add missing header, expose GoOnline to lua 2020-12-10 09:01:30 +01:00
Tim Felgentreff
843bccdd42 start implementing the messages for connecting to pvpgn servers 2020-12-10 09:01:30 +01:00
Tim Felgentreff
199ab306ac fix variable substitution 2020-12-03 12:48:42 +01:00
Tim Felgentreff
6059b1be67 fix vscode config to be cross platform 2020-12-03 11:06:59 +01:00
Tim Felgentreff
afbdc12c6b fix build on actual windows machine 2020-11-30 10:21:17 +01:00
Tim Felgentreff
3dc7fb0b3e try again on windows 2020-11-30 09:51:43 +01:00
Tim Felgentreff
af4f7682fe build with lldb debug info if possible 2020-11-23 10:02:08 +01:00