fgenesis
6047dd61b1
cmake: don't set build type when building with msvc
...
msvc has its own build type handling;
with this asserts are on in debug/relwithdebinfo mode and off in release mode,
as they should be.
2024-07-14 01:52:27 +02:00
fgenesis
f71c7f5d40
make dmon optional at compile time, and a dedicated runtime option
...
it's still experimental and might cause problems,
so only enable this if specifically requested,
since it's not needed for regular gameplay
2024-06-27 23:43:26 +02:00
fgenesis
dd7ab0448f
warning fixes, signed vs unsigned mismatch, cleanups, c++98 compat
...
many many more to do but it's a little step closer to get rid of warnings
2024-04-16 01:43:36 +02:00
fgenesis
66968836bc
yet another attempt to unfuck build and make sure assertions are enabled properly
2023-12-21 06:05:18 +01:00
fgenesis
6d70204847
fixes for osx
2023-11-19 19:59:06 +01:00
fgenesis
74d37873f7
fix build on osx that broke with the recent cmake refactor
2022-06-25 03:51:28 +02:00
fgenesis
f01db61292
show better errors when we fail to start up
2022-06-20 04:25:18 +02:00
fgenesis
f890d35676
Enable edit+continue debug builds by default
2022-05-14 05:14:35 +02:00
fgenesis
988c8c79e4
set better default compiler options; optional console in release mode on windows
2022-04-08 19:31:16 +02:00
fgenesis
49b9e0f05a
Rework & cleanup CMake project files
...
- Building with CMake for development is now actually sane
- Split deps into projects and extra files
- Building against external deps should still work but needs testing
- Can now build out of the box without further adjustments as long as SDL(2) is found properly
- Build Lua in C++ mode (so it can use exceptions instead of setjmp/longjmp)
- Unfortunately we need to enable exceptions for this :(
- Remove these defines:
* AQUARIA_BUILD_SCENEEDITOR (now always on)
* AQUARIA_BUILD_CONSOLE (now always on)
* BBGE_BUILD_ACHIEVEMENTS_INTERNAL (now always on unless BBGE_BUILD_STEAMWORKS is defined)
* BBGE_BUILD_OPENGL_DYNAMIC (now always on, define BBGE_BUILD_OPENGL_STATIC if needed)
* BBGE_BUILD_FMOD_OPENAL_BRIDGE (now always on)
- BBGE_BUILD_STEAMWORKS is not actually implemented (any volunteers?)
- Prepare later removal of SDL & the old vc90 project from the repo. See #74 for extra notes.
2022-04-07 02:38:39 +02:00
fgenesis
96216503c4
remove zlib, libpng, glpng and related code; add some stb libs; rework texture loading
2022-03-31 21:03:40 +02:00
fgenesis
e894f1ad6e
keep openAL around but make mojoAL the default
2022-03-30 22:54:03 +02:00
fgenesis
960871ccae
actually drop openal from cmake
2022-03-30 19:51:18 +02:00
fgenesis
1c301cadf5
forgot cmake
2022-03-30 19:29:36 +02:00
fgenesis
47f8677aa7
oops
2021-01-23 14:12:31 +01:00
fgenesis
db079a55ef
Replace the old Lua small block allocator with a new one (for #74 )
...
Renamed original .c file to .cpp to make VS2008 happy
2021-01-23 14:07:39 +01:00
fgenesis
074e92c553
Small refactor, add Scrtipable base, add node_v() Lua function
2021-01-12 19:00:05 +01:00
fgenesis
86cd7950ca
Merge branch 'experimental' into controllerfixup + bring back BBGE_BUILD_OPENGL_DYNAMIC
...
# Conflicts:
# BBGE/Base.cpp
# BBGE/FrameBuffer.cpp
# BBGE/Shader.cpp
2021-01-12 02:45:41 +01:00
C.W. Betts
76fc77051c
Add ARM support.
2020-10-20 00:32:22 -06:00
fgenesis
04c557f5e8
Refactor Window functionality out of Core. Minor cleanups.
...
SDL2 impl seems to work, SDL1 impl finalization pending.
2019-01-29 00:36:48 +01:00
fgenesis
8f565c6171
Include stringbank.txt into binary in case stringbank.txt is out of date
...
This makes sure engine-internal strings are always present.
2018-01-02 20:59:38 +01:00
fgenesis
ce4f6a7d3e
move StringBank to BBGE
2018-01-02 17:00:27 +01:00
fgenesis
64406419c1
Some fixes for msys2/mingw build
2017-09-02 22:13:46 +02:00
fgenesis
4cfeadeb6e
Whoever figured that enabling -Wall on MSVC would be a good idea should be shot.
2017-09-02 20:28:19 +02:00
fgenesis
08a884b375
whoops
2017-02-27 02:18:46 +01:00
fgenesis
eccadf5bd7
Turns out using IDs was a bad idea, reverting to KEY_* strings
2017-02-18 22:09:43 +01:00
James Le Cuirot
0dd19f9cb3
Add option to use system copy of GLPNG
2017-02-10 10:01:35 +00:00
James Le Cuirot
4d1fa75545
Put tinyxml2 in subdir so that system header is respected
2017-02-10 10:01:24 +00:00
fgenesis
7456e785fa
Remove mandatory defines and their checks:
...
BBGE_BUILD_SHADERS
BBGE_BUILD_FRAMEBUFFER
BBGE_BUILD_OPENGL
BBGE_BUILD_OPENGL_DYNAMIC
2017-02-05 22:51:25 +01:00
fgenesis
dce0fc992c
Merge branch 'experimental' into controllerfixup
2017-01-14 14:22:58 +01:00
Valentin Ochs
3aff70d91e
Add CheckCXXCompilerFlag
2017-01-14 13:09:12 +01:00
Valentin Ochs
7eb08bf2ce
Try to find C++ standard
2017-01-14 13:06:42 +01:00
fgenesis
26422da4e5
Merge branch 'experimental' into controllerfixup
2017-01-14 12:25:33 +01:00
Valentin Ochs
8886c03883
Set c/cxx flags to -Wall -pedantic
...
Special case for freetype2: -Wno-extended-offsetof, to prevent some 140
warnings.
2017-01-14 00:38:55 +01:00
fgenesis
40e5385636
Merge branch 'experimental' into controllerfixup
...
# Conflicts:
# CMakeLists.txt
# win/vc90/Aquaria.vcproj
# win/vc90/BBGE.vcproj
# win/vc90/external.vcproj
2017-01-13 13:17:47 +01:00
fgenesis
bb7cb7df71
update libogg, libvorbis, minihttp + enable /MP for vs2008 debug builds.
2017-01-13 13:09:16 +01:00
fgenesis
a3d5d63eed
possible link fix for cmake build but not sure
2016-10-04 00:08:03 +02:00
fgenesis
b4c001edb6
Update zlib to 1.2.8, libpng to 1.6.25, and move out of glpng subdir
2016-09-26 03:40:35 +02:00
fgenesis
916c3214d2
Make SDL2 the default
2016-08-06 20:03:51 +02:00
fgenesis
93ac73179f
Support vs15
2016-08-06 19:50:07 +02:00
fgenesis
c943759ce1
Getting closer to mutliple inputs actually working
...
Split logic and state from ActionMapper into another class,
of which one exists per input set.
2016-07-17 22:25:24 +02:00
fgenesis
8472718fb7
Major include refactor; changes to pretty much everything
...
This untangles some of the gigantic kitchen sink headers
in an attempt to split things into smaller files.
Also don't include gl.h, glext.h, windows.h,
and other such nonsense *everywhere*.
Lots of cleanups on the way too. More dead/unused code removal.
Remove incrFlag(), decrFlag() Lua functions.
2016-07-09 04:18:40 +02:00
fgenesis
9414be864a
Huge Game.cpp refactor and various other things
...
Started working on a tiny input/ActionMapper refactor,
then everything fell apart and i ended up doing this.
I'm sorry.
Pretty much untested because input mapping is broken right now,
will fix that next.
2016-06-30 02:58:55 +02:00
fgenesis
d6dc3a8a09
Merge branch 'experimental' into moreclean
...
Conflicts:
Aquaria/Avatar.cpp
Aquaria/BoxElement.cpp
Aquaria/BubbleRender.cpp
Aquaria/FFTNotes.cpp
Aquaria/StarRenderer.cpp
Aquaria/WaterFont.cpp
Aquaria/resource.h
BBGE/AnimatedSprite.cpp
BBGE/AnimatedSprite.h
BBGE/BloomEffect.cpp
BBGE/CShim.cpp
BBGE/Collision.cpp
BBGE/Collision.h
BBGE/Core.cpp
BBGE/Core.h
BBGE/Cube.cpp
BBGE/Cutscene.cpp
BBGE/DFSprite.cpp
BBGE/DFSprite.h
BBGE/Datafile.cpp
BBGE/Datafile.h
BBGE/Flags.h
BBGE/Interpolator.cpp
BBGE/Light.cpp
BBGE/Light.h
BBGE/LightCone.cpp
BBGE/Model.cpp
BBGE/Model.h
BBGE/OggStream.cpp
BBGE/PackRead.cpp
BBGE/PointSprites.cpp
BBGE/RenderObject.cpp
BBGE/SkeletalSprite.cpp
2016-05-10 18:40:01 +02:00
fgenesis
c26174d750
oops
2016-05-05 20:29:59 +02:00
fgenesis
51baa76816
Remove unused files
2016-05-05 20:09:39 +02:00
Nicolas Braud-Santoni
276265be1d
Eliminating obsolete #ifdefs and friends ( #26 )
...
The following options have been applied globally, using unifdef(1):
```c
#undef BBGE_BUILD_DIRECTX
#define BBGE_BUILD_OPENGL 1
#define GL_GLEXT_LEGACY 1
#define HAVE_PUTENV 1
#define TIXML_USE_STL 1
#define BBGE_BUILD_SDL 1
```
2016-05-05 03:49:41 +02:00
False.Genesis
aa7afa1b00
Merge pull request #20 from jbeich/system-ftgl
...
Allow using system FTGL
2015-09-30 23:23:26 +02:00
Jan Beich
74d95c7ee8
build: make -Wno-invalid-offsetof more specific
2015-09-18 08:26:39 +03:00
Jan Beich
2a31f932f9
build: add -DNDEBUG for Clang builds
2015-09-18 08:26:38 +03:00