1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-25 11:52:40 +01:00
Commit Graph

665 Commits

Author SHA1 Message Date
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
Daniel Evans
b7ac33caec Improve activities: canSkip(), let player cancel vehicle enter.
Closes #32
2016-05-24 23:49:01 +01:00
Daniel Evans
040f216407 Don't jump if the player doesn't exist 2016-05-24 23:38:12 +01:00
Daniel Evans
451479e454 Improve vehicle exit: stop before exiting. Closes #31 2016-05-24 21:14:41 +01:00
Timmy Sjöstedt
3a3c8447aa Use stat when dirent doesn't know file type 2016-05-24 20:26:31 +02:00
Timmy Sjöstedt
f2ca6ed4d1 Make RW_ERROR print to stderr 2016-05-24 17:38:41 +02: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
72801839c4 Move instructions from README to the wiki 2016-05-24 01:31:15 +01:00
Daniel Evans
369edcee4f Reorg. ObjectRenderer and add missing texture texture. 2016-05-24 01:20:59 +01:00
Daniel Evans
96b26c9237 Remove transparentDrawQueue as it's no longer used by rwgame 2016-05-23 22:05:51 +01:00
Daniel Evans
86fcaf0c7d Improve GoTo activity: stop moving when we reach the destination. 2016-05-23 21:40:55 +01:00
Daniel Evans
478cbf6187 Make forward direction part of character state to simplify
This allows activities to make the final call about what direction a
character should be facing based on the direction they want to be
looking.
2016-05-23 21:40:55 +01:00
Daniel Evans
0d2e34ab58 Make characters give up trying to enter vehicles if they're too far away 2016-05-23 21:40:55 +01:00
Daniel Evans
ddcafc17aa Re-enable screen fade 2016-05-23 21:40:55 +01:00
Daniel Evans
c482e60094 Merge pull request #60 from gbudny/patch-1
Readme (MAC)
2016-05-23 20:51:41 +01:00
Timmy Sjöstedt
130fac2c7a Added wiki & IRC info to readme 2016-05-23 19:50:28 +02:00
gbudny
c3a7a8e3bb Readme (MAC) 2016-05-23 18:43:59 +01:00
Timmy Sjöstedt
9e2db1bd11 Enable mouse cursor in menus, fixes #46 2016-05-23 18:44:38 +02:00
Timmy Sjöstedt
c8693135f9 Removed unnecessary boost inclusion 2016-05-23 02:57:01 +02:00
Daniel Evans
ede0cf762f Fix some uninitialized reads 2016-05-22 23:45:19 +01:00
Timmy Sjöstedt
9c9900db55 Initialize BasicState struct in GameState, fixes #26 2016-05-22 23:15:35 +02:00
Daniel Evans
459a853670 Fix and update script functions to handle player objects 2016-05-22 20:05:44 +01:00
Daniel Evans
b58cc9b164 Restore script debugging features to trace script threads 2016-05-22 20:05:04 +01:00
Daniel Evans
6178cd03e3 Remove const from return value 2016-05-22 20:03:14 +01:00
Daniel Evans
46961f8c33 Request a non zero number of stencil bits. 2016-05-22 16:07:33 +01:00
Daniel Evans
45abee6093 Improve ingame camera with invert y option in configuration. 2016-05-22 15:58:36 +01:00
Daniel Evans
4a2141605d Update readme with new minimum glm version 2016-05-22 14:12:30 +01:00
Daniel Evans
680accc638 Merge pull request #43 from LeonardKoenig/prq_cmake_glm_config
[CMake] Use find_package config mode for GLM
2016-05-22 03:42:49 +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
Daniel Evans
39c639fc60 Overhaul ingame camera implementation, much better now. 2016-05-21 19:13:27 +01:00
Daniel Evans
7a987ea1b6 Merge pull request #40 from Hockenberry/feature-compile-under-macos
more changes to compile under macOS
2016-05-21 18:24:50 +01:00
Marco Schmidt
961bc27b6e add .clang-format to disable automagically reformat of source code 2016-05-21 19:16:09 +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
3c4ce72488 Fix GameConfig::getDefaultConfigPath for OS X.
Under OS X, configuration files are usually stored in $HOME/Library/Preferences/<appname>.
2016-05-21 19:04:29 +02:00
Daniel Evans
8e629fd2ab Add null check for the water texture 2016-05-21 15:58:27 +01:00
Daniel Evans
87cd90dbc0 Update readme with current control scheme. 2016-05-21 15:17:57 +01:00
Daniel Evans
d64f9a9ffc Add compile time draw distance multiplier for testing.
In the future this should be a runtime option controlled by the game
configuration.
2016-05-21 14:32:23 +01:00
Daniel Evans
1a2a3811f9 Initialise suspension length to 0 2016-05-21 13:11:05 +01:00
Daniel Evans
ca92e1e0aa Fix crash when script attempts to delete null object. Closes #30 2016-05-21 03:00:41 +01:00
Daniel Evans
3e43eb61be Add spawn offset to script set object position function 2016-05-21 02:34:24 +01:00
Daniel Evans
1b85926f36 Merge pull request #33 from christoph-heiss/osx-port
OS X port of OpenRW
2016-05-21 01:03:01 +01: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
fe61c1a9f4 Move include inside debug section 2016-05-20 02:10:11 +01:00
Timmy Sjöstedt
dff96b7293 Make OpenGLRenderer use correct preprocessor check for profiler 2016-05-20 01:40:11 +02:00
Daniel Evans
9f85f283cb CMake: FindSFML+FindMAD, set library paths as SYSTEM, remove dead stuff. 2016-05-19 22:30:06 +01:00
Timmy Sjöstedt
b8062714a9 Work around Boost having moved stuff around, fixes #20 2016-05-19 22:28:01 +02:00
Daniel Evans
8ede36c59d Implement semi-functional world viewer widget 2016-05-19 19:46:23 +01:00