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

806 Commits

Author SHA1 Message Date
Timmy Sjöstedt
59a7189ab3 Implemented playSound method 2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
91c1374b89 Implemented isLoaded method 2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
830922c9ca Removed old PlayingSound struct 2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
667031c51f Implemented loadSound method 2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
f43e13359a Added Sound struct 2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
cd0109af82 Added simple method to initialize OpenAL 2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
6f8b006787 Implement SoundBuffer class to handle OpenAL uploads 2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
0d01be5b27 Implemented SoundSource class to handle libsndfile loading 2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
9fcd3433b3 Add OpenAL error checking macro + function 2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
f5390ad4a6 Include libsndfile & OpenAL 2016-05-30 20:06:13 +02:00
Jannik Vogel
9e8d279181 Respect z-write disable from instance objects 2016-05-30 17:14:41 +02:00
Jannik Vogel
fbbb1cfbbf Add @todo that the Blend state setter is broken 2016-05-30 17:14:41 +02:00
Jannik Vogel
9ccbafb03a Add depth-write permission to Renderer 2016-05-30 17:14:41 +02:00
Jannik Vogel
51a013cf34 Replace GTA SA flags with GTA3 flags 2016-05-30 17:14:41 +02:00
Daniel Evans
d490f8c7c6 Merge pull request #106 from JayFoxRox/debug-jump-and-flip
Debug features: "Jump to Debug Camera" and "Flip Vehicle"
2016-05-30 10:22:38 +01:00
Jannik Vogel
846771aa82 Add option to flip vehicle in debug menu 2016-05-29 14:59:47 +02:00
Jannik Vogel
79b7ec2b17 Add option to jump to camera position in debug menu 2016-05-29 14:59:47 +02:00
Daniel Evans
46a7254a41 Use FindGLM 2016-05-29 00:44:31 +01:00
Daniel Evans
afc0374dab Merge pull request #103 from kragniz/glm-cmake
Copy FindGLM.cmake from glm
2016-05-29 00:38:13 +01:00
Louis Taylor
811ec2c4fa Copy FindGLM.cmake from glm
This was removed in upstream in the following commit:

    62a7daddcf
2016-05-29 00:35:55 +01:00
Daniel Evans
5f4400f362 Fix character test to actually be correct 2016-05-28 01:32:48 +01:00
Jannik Vogel
67fe32b3a1 Script: 0122 (Is Player Pressing Horn) and 0126 (Character Objective Passed) 2016-05-27 13:28:35 +02:00
Jannik Vogel
574891e57e Script: 00E6, 00E8 and 00EF (Locate .. stopped .. 2D) 2016-05-27 13:28:35 +02:00
Jannik Vogel
ce50e47ab6 Script: 0042 (Global Float Equal to Foat) 2016-05-27 13:28:35 +02:00
Jannik Vogel
adeb39c59b Script: 0443 (Is Player In Any Vehicle) 2016-05-27 13:28:35 +02:00
Jannik Vogel
68f7291c3c Script: 034F (Destroy Character with Fade) 2016-05-27 13:28:35 +02:00
Jannik Vogel
0d089c9f5d Script: 0176 (Get Object Heading) 2016-05-27 13:28:29 +02:00
Jannik Vogel
3271579621 Create object instances from savegame 2016-05-27 13:02:20 +02:00
Jannik Vogel
7e3eb744f8 Fix wrong name in RW_UNIMPLEMENTED for game_has_death_or_arrest_finished 2016-05-27 00:50:35 +02:00
Daniel Evans
5628f6ceb9 Merge pull request #95 from JayFoxRox/debug-car-spawn
Add car spawner to debug menu
2016-05-26 22:39:25 +01:00
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