1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 18:32:44 +01:00
Commit Graph

65 Commits

Author SHA1 Message Date
Anonymous Maarten
a1333360c5 rwlib: Add option to abort/break on failed checks or at request
- RW_ABORT/RW_ASSERT/RW_BREAKPOINT are only defined in debug mode
- the callback is needed to unlock the mouse when entering
    the debugger
2017-09-16 22:19:39 +01:00
darkf
ec2e940924 Remove libsndfile dependency 2017-09-16 19:50:51 +01:00
darkf
8e26431665 Remove dependency on libMAD (hurrah!) 2017-09-16 19:50:51 +01:00
darkf
6493908d5c Link FFmpeg 2017-09-16 19:50:51 +01:00
John-Paul Harold
9a1d1033e7 Fix OpenAL includes (fixes OSX build) 2016-11-21 11:19:29 +00:00
Daniel Evans
b4aa01e4bb Use C++14 2016-10-24 21:26:51 +01:00
Daniel Evans
cdebd16532 Remove iconv from CMake configuration 2016-08-23 00:05:25 +01:00
Kamil Rytarowski
0ef224df90 Add preliminary NetBSD support
The iconv(3) function on NetBSD has a custom prototype due to old mistake in
the POSIX specification. The issue has been resolved but we keep using original
form with a constified parameter.
2016-08-13 21:33:04 +02:00
Daniel Evans
2f0b24c6ea Merge pull request #188 from danhedron/feature/cleanup-script
Script cleanup and remove old tool
2016-08-12 23:36:26 +01:00
Jannik Vogel
b821f2e5a7 CMake: Use Bullet include path returned by FindBullet 2016-08-12 02:14:15 +02:00
Daniel Evans
e76ed47f1c Remove scripttool 2016-08-12 01:02:24 +01:00
Aaron Bieber
e8b28c7168 add support for OpenBSD 2016-08-11 17:51:27 -06:00
Daniel Evans
ded631dad6 Add Git SHA1 hash to RWGame for versioning 2016-08-01 19:34:53 +01:00
haphzd
114abe2286 Windows/MinGW-W64 compatibility 2016-07-28 14:46:48 +03:00
haphzd
8bb9c388a2 Build Release by default 2016-07-27 20:32:42 +03:00
orbea
27c6334cb1 CMake: Add BIN_DIR and DOC_DIR (#165)
* CMake: Add BIN_DIR and DOC_DIR

* CMake: Fix typo
2016-06-29 22:19:03 +01:00
Daniel Evans
9aaeb2ceda Remove screenshot functionality, as it's broken. 2016-06-23 22:43:00 +01:00
Daniel Evans
465bd26d9d Merge pull request #152 from JayFoxRox/travis-sdl
Replace SFML by SDL2 for Travis and scripttool
2016-06-23 21:08:42 +01:00
Daniel Evans
d36b813de2 Merge pull request #149 from danhedron/org/copy-license
Copy License to install
2016-06-23 00:47:32 +01:00
Jannik Vogel
9bfb9f8002 CMake: Use FindSDL2.cmake 2016-06-22 23:58:27 +02:00
Christoph Heiss
649f7b144d Replace SFML with SDL2
This entirely replaces all remaining SFML pieces with SDL2 and
brings OpenRW up to OpenGL 3.3
2016-06-22 12:29:39 +02:00
Daniel Evans
65ee1911dc Copy License file to build directory 2016-06-21 23:28:43 +01:00
Daniel Evans
dec57b4847 Install license to share/openrw on Linux and FreeBSD 2016-06-21 23:28:23 +01:00
Daniel Evans
dd70e41bbd Add TESTS_NODATA to build tests without data 2016-06-16 21:22:18 +01:00
Timmy Sjöstedt
fef71de074 Removed SFML audio things 2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
f5390ad4a6 Include libsndfile & OpenAL 2016-05-30 20:06:13 +02:00
Daniel Evans
46a7254a41 Use FindGLM 2016-05-29 00:44:31 +01:00
Dmitry Marakasov
c302f10b19 Add FreeBSD support
For now, there's only single OS-dependent bit of code, it it should be
handled on FreeBSD just like on Linux. While here, change macro testing
from #if XXX to #if defined(XXX), this is clener and not prone to
"undefined macro" errors
2016-05-25 18:32:17 +03:00
Timmy Sjöstedt
09c22150a0 Added RW_VERBOSE_DEBUG_MESSAGES option to control verbose messages 2016-05-24 17:32:40 +02:00
Daniel Evans
b58cc9b164 Restore script debugging features to trace script threads 2016-05-22 20:05:04 +01:00
Leonard König
fe0c93f0d7 [CMake] Use find_package config mode for GLM
GLM requires using the new config mode as it only ships a
glmConfig.cmake.

more info:
http://stackoverflow.com/q/34634850/4453524
https://cmake.org/cmake/help/latest/command/find_package.html
2016-05-21 21:44:01 +02:00
Marco Schmidt
8bccbeeaa7 move include_directories and use it on all platforms 2016-05-21 19:09:41 +02:00
Marco Schmidt
ab9d61643e add GLM as an dependency 2016-05-21 19:04:56 +02:00
Christoph Heiss
4c2c42ef6a Fix some OS X/Clang (build) errors.
For rwengine/src/engine/GameData.cpp, `#ifdef __unix__` is used, which
Clang on OS X does not define, thus not finding files while loading.
2016-05-20 16:28:47 +02:00
Christoph Heiss
d02b53e4ad OS X: Add platform define 2016-05-20 16:24:51 +02:00
Daniel Evans
2ee4a6e533 Add configuration file to replace OPENRW_GAME_PATH env var
This will permit the storage of other user settings like language and
video settings.
2016-05-20 02:10:11 +01:00
Daniel Evans
9f85f283cb CMake: FindSFML+FindMAD, set library paths as SYSTEM, remove dead stuff. 2016-05-19 22:30:06 +01:00
Daniel Evans
d2f254731a Increase warnings to pedantic and fix rwlib/rwengine warnings 2016-05-01 22:30:15 +01:00
Daniel Evans
b0a2ae4da5 Implement a trivial profiler for perf. overview 2016-04-26 23:35:04 +01:00
Daniel Evans
61b47192c1 Change the Profiling flag to be shorter 2016-04-19 01:22:41 +01:00
Daniel Evans
90f9771cc8 Clean up main CMakeLists flag setting 2016-04-14 23:50:52 +01:00
Daniel Evans
d00ef52c2f Add Release and Debug build flags 2016-04-11 23:56:18 +01:00
Daniel Evans
f69f5c3cd7 Oops, Error in CMakeList 2016-04-09 22:24:42 +01:00
Daniel Evans
1df6b5c38f Add RW_DEBUG and RW_UNIMPLEMETED() macros 2016-04-09 01:28:33 +01:00
Daniel Evans
14269d8ae5 Move first of lower level code into rwlib; tear out GLEW. 2016-04-07 01:13:46 +01:00
Daniel Evans
97afc19cfb Add Improved Profiling statistics 2015-04-12 19:47:47 +01:00
Daniel Evans
d0e7dbade0 Update Readme and CMakeLists with options 2015-04-03 03:07:08 +01:00
Daniel Evans
a55bcc557d Implement some AI and zone opcodes
* Add disabled flag to AI nodes

* Move ZoneData structure into own file

* Add Gang density to ZoneData.
2014-12-16 03:03:04 +00:00
Daniel Evans
646d0c67fc Improve Script debugging output messages 2014-12-15 20:44:36 +00:00
Daniel Evans
9c0f3f3042 Ignore unused parameters 2014-12-11 17:49:56 +00:00