Lactozilla
4f873d5f8f
WIP ZDoom translations
2023-10-29 20:33:49 -03:00
Zwip-Zwap Zapony
cfedee9dc9
Fix CMake compiling
2023-09-19 18:46:05 +02:00
Sal
26583a9845
Ring Racers CMake + Debug build improvements
2023-08-01 02:29:45 +00:00
katsy
7634a96031
delete ASM code, remove NASM
2023-07-27 23:58:53 -05:00
James R
7261db1eee
cmake: fix -DSRB2_CONFIG_ENABLE_TESTS=OFF build
2023-07-26 14:16:15 -04:00
Sal
7eff445d1f
Merge branch 'cmake-clang-tidy' into 'next'
...
cmake: Add optional clang-tidy integration
See merge request STJr/SRB2!1849
2023-07-26 11:59:02 +00:00
Eidolon
101cdea022
cmake: Add optional clang-tidy integration
...
clang-tidy performs static analysis over the compilation unit,
producing more comprehensive compile warnings than are normally
generated by the compiler. For example, it will trace branches in a
function to find the exact conditions in which a null dereference
can occur.
Note that this produces an absurd amount of warnings for our existing
C code, and significantly slows compile times. It is pretty effective
at its job though. I think it would be good to turn on by default for
upcoming C++ code.
2023-07-26 07:58:31 -04:00
Eidolon
2a8dbed336
Redefine boolean for C++ compatibility
2023-07-26 07:56:22 -04:00
Eidolon
0abe556197
cmake: Enable C++ 17 and C11
2023-07-26 07:55:26 -04:00
Eidolon
707860815b
Merge GitHub PR #514 into next
...
fix ARM builds being completely broken
Conditionally adds -mno-ms-bitfields based on architecture, as this is
only relevant on Intel architectures.
https://github.com/STJr/SRB2/pull/514
2023-02-08 21:15:04 -06:00
cobalt2727
4f8d2fcdc8
fix ARM builds being completely broken
...
If merged, this is the quickest approach to resolve https://github.com/STJr/SRB2/issues/513
...alternatively, we could just remove the option altogether but I don't have the time right now to test whether it's needed or not
To the best of my knowledge, this covers all possible amd64 `CMAKE_SYSTEM_PROCESSOR` values based on what I'm seeing at https://stackoverflow.com/questions/70475665/what-are-the-possible-values-of-cmake-system-processor
2023-02-08 14:46:09 -05:00
Alam Arias
1b5dd687d2
Cleanup whitespace changes from master branch
2022-11-11 20:31:41 -05:00
Eidolon
3597957af1
Merge branch 'cmake-zlib-internalized' into 'next'
...
cmake: build zlib manually in internal build
See merge request STJr/SRB2!1856
2022-11-09 02:30:35 +00:00
Eidolon
4037d04994
cmake: copy build shared internal libs to bin/
2022-11-08 19:21:21 -06:00
Eidolon
64e063d4dc
cmake: Port misc options from Makefiles
...
- DEBUGMODE
- MOBJCONSISTANCY
- PACKETDROP
- ZDEBUG
- PROFILEMODE (likely moot, dunno how profiling with cmake works
though)
2022-11-06 14:03:02 -06:00
Eidolon
106d115c3e
cmake: Port warning configuration from make
...
Adds SRB2_CONFIG_ERRORMODE to replace ERRORMODE too.
2022-11-06 10:11:51 -06:00
Eidolon
ce5c41d7eb
Merge branch 'the-one-cmake' into 'next'
...
Overhaul cmake build
See merge request STJr/SRB2!1832
(cherry picked from commit 4337205fa8
)
# Conflicts:
# src/sdl/CMakeLists.txt
2022-11-05 03:09:38 -05:00
Eidolon
a015be2a54
cmake: Build all deps and static link
2022-11-05 00:12:09 -05:00
Eidolon
9277870fa2
Merge branch 'cmake-develop-flag' into 'next'
...
cmake: Add SRB2_CONFIG_DEV_BUILD
See merge request STJr/SRB2!1837
(cherry picked from commit 896a7609a7
)
518cb0b3
cmake: Add SRB2_CONFIG_DEV_BUILD
2022-11-04 23:11:49 -04:00
Eidolon
518cb0b3fd
cmake: Add SRB2_CONFIG_DEV_BUILD
2022-10-24 18:39:52 -05:00
SteelT
71f905f95b
Fix gme support being effectively disabled
...
I found this easier than trying to adjust the makefile, as it uses the same thing to automatically generate the various NO* compile options.
2021-07-16 15:26:09 -04:00
James R
58fa44e8dc
CMP0115
2021-07-12 03:50:44 -07:00
James R
c325306ddf
Merge remote-tracking branch 'origin/master' into makefile-revision-final
2021-06-07 18:36:01 -07:00
James R
210c9419e4
Ignore -Wtrigraphs
2021-05-08 16:49:18 -07:00
James R
87afa7655a
CMake: fix ASM compile
...
- target_sources from correct directory
- enable_language must be used in add_executable directory
2021-05-07 18:59:51 -07:00
James R
f9813844e7
Update CMakeLists.txt to use Sourcefiles
...
This establishes (near) parity of source code file lists
between the Makefile and CMakeLists.txt
To make that change I messed around CMakeLists.txt a bit.
It now uses target_sources and target_compile_definitions.
I also removed some MSVC stuff since we don't actually
care about MSVC--it made things easier.
CMake minimum version 3.0 -> 3.13 for target_sources.
2021-05-05 04:00:44 -07:00
James R
621efbfa15
Lua taglib for accessing taggroups
...
The global "tags" can be iterated upon for every unique tag which is set in the
level. If a tag is set on a sector/line/thing, it will be included. Taking the
length of "tags" will give you the number of these unique tags. (If a tag is
set on multiple sectors/lines/things, it will only be counted once though.)
For sectors, lines and mapthings, call the field "tagged". This function takes
one argument, which is the tag. The return value can be iterated over for all
the sectors/lines/things with that tag. The length can also be taken for the
number of such objects. If no argument is given, the global tag is default.
2020-12-04 00:30:08 -08:00
GoldenTails
8fef61aa29
Split dehacked.c into multiple files.
2020-11-23 21:42:26 -06:00
Jaime Ita Passos
5e890ee6f8
Merge branch 'next' into spritestuff2
2020-11-19 00:52:43 -03:00
Nev3r
fb9432ae57
Merge branch 'next' of https://git.do.srb2.org/STJr/SRB2 into udmf-multitag
2020-11-10 11:46:53 +01:00
James R
998a10e8ad
Merge remote-tracking branch 'origin/master' into next
2020-11-01 20:01:22 -08:00
James R
f2e15fc4f1
Merge branch 'cmake-curl-internal-fix' into 'master'
...
Fix compiling using cmake if internal libs is used
See merge request STJr/SRB2!1225
2020-11-01 22:57:12 -05:00
Hannu Hanhi
54cc9db7a5
Fix CMake SSE3 flag
2020-10-31 18:04:44 +02:00
Steel Titanium
d406340b5d
Fix compiling using cmake if internal libs is used
2020-10-30 23:37:34 -04:00
Nev3r
c62ef355ef
Merge branch 'next' of https://git.do.srb2.org/STJr/SRB2 into udmf-multitag
...
# Conflicts:
# src/lua_baselib.c
# src/lua_maplib.c
2020-10-27 20:48:25 +01:00
Hannu Hanhi
244c76250f
Use SSE3 in 32-bit x86 binaries
2020-10-25 00:08:24 +03:00
James R
e9fce20071
Merge remote-tracking branch 'origin/master' into next
2020-10-23 14:57:13 -07:00
GoldenTails
1e0beab254
Add i_threads.h too
2020-10-20 15:58:34 -05:00
GoldenTails
31c410656c
Add multithreading option for CMake
2020-10-20 15:44:01 -05:00
James R
d279489753
Merge branch 'perfstats' into 'next'
...
Performance stats
See merge request STJr/SRB2!1186
2020-10-18 15:33:20 -04:00
James R
bd9fda8ceb
Merge branch 'lua-polyobjects' into 'next'
...
Lua polyobjects
Closes #19
See merge request STJr/SRB2!1140
2020-10-15 19:08:54 -04:00
Jaime Passos
b2f45986ad
Add r_patchrotation.h
2020-10-10 18:53:05 -03:00
Jaime Passos
6e5f71dd45
Refactor patch rotation
2020-10-10 18:43:26 -03:00
Jaime Passos
b15bbd505c
Merge branch 'next' into patch-stuff-again-2
2020-10-10 17:01:10 -03:00
Hannu Hanhi
4f20a20165
Performance stats
2020-10-10 22:12:34 +03:00
SteelT
a033f482be
Merge branch 'pictureformats' into 'next'
...
PNG conversion refactoring
See merge request STJr/SRB2!675
2020-09-10 15:58:18 -04:00
Monster Iestyn
d5beae9738
Begin work on adding access to polyobjects in Lua:
...
* create new file lua_polyobjlib.c
* made a stub LUA_PolyObjLib function
* added META_POLYOBJ to lua_libs.h
* updated makefile, CMake and MSVC project files for lua_polyobjlib.c
2020-09-08 18:08:08 +01:00
Jaime Passos
9b426b474c
Merge branch 'pictureformats' into patch-stuff-again-2
2020-08-15 20:48:28 -03:00
Nev3r
b15c760dc2
Merge branch 'next' of https://git.magicalgirl.moe/STJr/SRB2/ into udmf-multitag
2020-08-15 13:44:59 +02:00
James R
be14b8a564
dumbass doesn't test changes before pushing directly to next
2020-08-14 08:25:12 -07:00