Daniel Evans
6422c8ae97
Move blip object lookup and make arrows work again.
2016-05-26 21:49:26 +01:00
Jannik Vogel
2e002013bd
Add car spawner to debug menu
2016-05-26 22:17:11 +02:00
Daniel Evans
50cf4293e4
Give blips the correct type.
...
Fixes #94
2016-05-26 20:59:15 +01:00
Daniel Evans
b23a81063d
Implement ammo: ammo tracking and pickups
...
Fixes #47
2016-05-26 00:44:09 +01:00
Daniel Evans
327ac49e64
Only alive characters should perform activities.
...
Fixes #81
2016-05-26 00:40:22 +01:00
Daniel Evans
eef34c972a
Script pickups: implement weapon pickups, improve pickup code
2016-05-25 23:00:52 +01:00
Daniel Evans
230ad972f0
Add world space distance fog
2016-05-25 23:00:52 +01:00
Daniel Evans
f8a90a5eb6
Take far plane distance from the correct camera
2016-05-25 23:00:52 +01:00
Daniel Evans
a3cc04f4eb
Merge pull request #86 from AMDmi3/freebsd
...
Add FreeBSD support
2016-05-25 20:17:12 +01:00
Daniel Evans
c1940ab566
Merge pull request #87 from AMDmi3/inih-as-submodule
...
Use inih as git submodule
2016-05-25 20:15:33 +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
Dmitry Marakasov
6582704b05
Use inih as git submodule
...
ExternalProject use is discouraged.
- Most package build systems do not allow any fetching on
configure/build stage
- It's insecure the way it's used now, as it does not specify commit
hash, so it may fetch whatever malicous code and it'll come
unoticed
2016-05-25 18:28:57 +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