Anonymous Maarten
76f2665acf
config: log parsing Errors to a ParseResult object (which is queryable)
2017-02-20 01:01:30 +00:00
Anonymous Maarten
e0813e4378
config: fix TempFile.touch() + TempFile test + extra doc of getValidConfig
2017-02-20 01:01:30 +00:00
Anonymous Maarten
90001b11ac
config: fix reading of illegal values
...
The parser would crash when trying to convert e.g. "d" to an integer.
2017-02-20 01:01:30 +00:00
Anonymous Maarten
fe156e2984
config: bail out on invalid values
...
Avoid srcTree being filled with un-initialized values
such as bools, ints, floats...
2017-02-20 01:01:30 +00:00
Anonymous Maarten
66b09a64a5
config: added default INI string test + simplified tests + removed WTF
2017-02-20 01:01:30 +00:00
Anonymous Maarten
8f5664498c
config: saveConfig + tests added
2017-02-20 01:01:30 +00:00
Anonymous Maarten
ed185f2526
config: add tests on reading good and bad configuration files
2017-02-20 01:01:30 +00:00
Anonymous Maarten
1dc06d9a35
config: do not use dynamic memory + bail out early on error
2017-02-20 01:01:30 +00:00
Anonymous Maarten
05db65dbbc
config: allow reading INI from string, file, default and current config
...
This (slightly more complicated implementation) allows us,
once a configuration menu has been implemented,
to store the current/new configuration to a INI file.
The definitions of the parameters in rwgame/GameConfig.cpp
is limited to one location.
2017-02-20 01:01:30 +00:00
Anonymous Maarten
a725a51baa
spelling: recieve -> receive
2017-02-20 01:01:30 +00:00
Anonymous Maarten
65b14fcb9c
config: use boost::property_tree for INI read and default generation
...
* remove inih
* input.invert_y has now behavior as described on wiki
2017-02-20 01:01:30 +00:00
Anonymous Maarten
7bc501106c
cmake: cmake does not fail when libmad-devel is not installed
2017-02-20 01:01:30 +00:00
Anonymous Maarten
d2b706b874
tests: added test for comments in INI files
...
tests: test whitespaces and comments handling in config unit test
2017-02-20 01:01:30 +00:00
Daniel Evans
aec738c396
Remove un-needed assert in WaterRenderer
...
Values above height count are valid and indicate water disabled.
2017-02-19 01:51:01 +00:00
vflyson
aa8ea65f92
properly display the ammo count for weapons which don't have a clip
2017-02-19 00:57:30 +00:00
vflyson
9fc38c5d51
display the proper UI icon texture for detonator
2017-02-19 00:57:30 +00:00
vflyson
4121378729
make it impossible to scroll through weapons while driving
2017-02-19 00:57:30 +00:00
vflyson
01241f33d9
make it possible to scroll down to the fist
2017-02-19 00:57:30 +00:00
Vincent Flyson
edcf62c04a
apply various colors to pickups' coronas, use the correct texture ( #269 )
...
* apply various colors to pickups' coronas, use the correct texture
* give coronas the pulsating effect
2017-02-16 20:12:06 +00:00
Vincent Flyson
481a705c39
make the health indicator blink if low ( #267 )
...
* make the health indicator blink if low
2017-02-15 00:30:28 +00:00
Daniel Evans
1df0ab7c17
Merge pull request #262 from danhedron/dff-improvement
...
Overhaul Clump, object and rendering Implementation
2017-02-09 00:07:38 +00:00
Daniel Evans
d6e2057f8f
Apply LOD multiplier correctly when rendering
2017-02-08 21:45:01 +00:00
Daniel Evans
e1f7d11c82
Fix off-by-one error in Simple Model atomic lookup
2017-02-08 21:45:01 +00:00
Daniel Evans
308d1d6deb
Implement Building LOD transitions
2017-02-08 21:45:01 +00:00
Daniel Evans
5f6f3fe66f
Implement vehicle LOD rendering
2017-02-08 21:45:01 +00:00
Daniel Evans
d84b492412
Remove all traces of Skeleton
2017-02-08 21:45:01 +00:00
Daniel Evans
94456aa732
Convert CutsceneObject to use Frame animation
2017-02-08 21:44:25 +00:00
Daniel Evans
a6396ec6e8
Remove forward movement from Character Animation
2017-02-08 21:44:25 +00:00
Daniel Evans
ec5f1d7b55
Change Animator to animate Frames directly instead of Skeleton
2017-02-08 21:44:25 +00:00
Daniel Evans
3163a5dd57
Initial CharacterObject Clump implementation
2017-02-08 21:44:25 +00:00
Daniel Evans
1514bd2cc5
Implement Vehicle dynamics with Frames instead of Skeleton
2017-02-08 21:44:25 +00:00
Daniel Evans
f64104600e
Add a clump instance for each VehicleObject
2017-02-08 21:44:25 +00:00
Daniel Evans
80c9b73ac5
Initial Instance Object Rendering via atomics
2017-02-08 21:44:25 +00:00
Daniel Evans
729085d08c
Re-implement vehicle parts for changed frame interfaces
2017-02-08 21:44:25 +00:00
Daniel Evans
ac8d6733cb
Add clone methods to Clump, Atomic and ModelFrame to permit copying
2017-02-08 21:44:25 +00:00
Daniel Evans
0a0be3c52a
Use new Clump structures in rwviewer + remove old renderer
2017-02-08 21:44:25 +00:00
Daniel Evans
d798509f93
Use Atomic instead of ModelFrame in ObjectRenderer
2017-02-08 21:44:25 +00:00
Daniel Evans
34c70b0be2
Allow ModelFrame, Atomic, Geometry to exist outside of a Clump
...
This changes the Clump data structure to simplify it and move some
of the concerns into the Atomic and Frame types.
2017-02-08 21:44:25 +00:00
Daniel Evans
a0eaf5b8b0
Move Atomic and Geometry out of Clump class
2017-02-08 21:44:25 +00:00
Daniel Evans
8e4d73fca9
Rename Model -> Clump
2017-02-08 21:44:25 +00:00
Daniel Evans
66dd55620d
Merge pull request #265 from danhedron/ped-improvements
...
Ped improvements
2017-02-08 20:44:28 +00:00
Daniel Evans
3b3f1c8631
Spawn locale appropriate pedestrians near the camera
2017-02-08 20:30:30 +00:00
Daniel Evans
b1582bae4a
Name save file variables
2017-02-08 20:30:30 +00:00
Daniel Evans
162ff258c8
Load ped group data
2017-02-08 20:30:30 +00:00
Daniel Evans
79533fac8a
Load ped type relationship data
2017-02-08 20:30:30 +00:00
Daniel Evans
b0e7cbdadd
Add PedType save game block details
2017-02-08 20:30:30 +00:00
Daniel Evans
4f5987c7b0
Load and associated pedstats with ped models
2017-02-08 20:30:29 +00:00
Daniel Evans
bb9e368dca
Prevent traffic from spawning in cutscenes
2017-01-30 21:40:17 +00:00
Daniel Evans
1308342f8f
Merge pull request #266 from danhedron/map-zones-1
...
Add zone queries and load save zones
2017-01-30 21:08:48 +00:00
Daniel Evans
3247fafa90
Load game zones from save file block
2017-01-30 00:24:44 +00:00