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
Daniel Evans
9bc535d243
Fix uninitalized read in cutscene loading
2016-05-02 17:20:42 +01:00
Daniel Evans
3e9b0c64e4
Re-implement object rendering using a depth-sorted approach.
...
This moves the object rendering logic into ObjectRenderer. This makes
GameRenderer a bit smaller.
There are some rendering logic decisions that haven't been brought
back yet since they may be better placed elsewhere.
2016-04-19 01:20:54 +01:00
Daniel Evans
66aed023b2
Remove Loader.hpp since it wasn't used for anything
2016-04-14 23:33:49 +01:00
Daniel Evans
46621093f9
Initial chase scene implementation, opening cutscene chase works
2016-04-13 01:47:19 +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
b6bd774a06
Fix ScriptMachine behaviour and global addressing
2015-05-01 06:28:39 +01:00
Daniel Evans
d7e122306a
Refactor Instance path data into ObjectData
2015-04-24 20:22:39 +01:00
Daniel Evans
6b38a3e267
Move CollisionInstance into dynamics
2015-04-04 20:11:48 +01:00
Daniel Evans
d1e7dcdcd1
Overhaul Loader framework for Models
...
- Replace background model loader with generic background loader
- Replace ModelHandle object with generic resource handle
2015-04-03 03:04:50 +01:00
Daniel Evans
2ccc1fc33c
Add initial TrafficDirector open spawn point methods
2015-02-17 01:31:20 +00:00
Daniel Evans
7963becbd1
Add more opcodes and vehicle handling
2014-12-16 19:17:22 +00: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
1fb8162a7c
Fix broken object data test cases
2014-12-11 18:34:39 +00:00
Daniel Evans
584618e991
Overhaul animation support with Skeleton class.
...
Move frame transform data into Skeleton instead of Animator.
Animator now responsible for mutating Skeleton state.
Skeleton is more flexible for things like vehicle skeletons.
2014-12-11 17:48:47 +00:00
Daniel Evans
7d92fbb9f2
Huge rwviewer changes for new objects.
...
+ Change to Object Viewer to list all object types
2014-09-19 00:10:05 +01:00
Daniel Evans
cfca1cbdc8
Refactor Object data into heirarchy
...
+ All Object Data classes inheirt from ObjectInformation which stores
the ID and class_type, which maps to the IDE name.
- Remove all object mappings except for objectTypes, which now stores
all of them.
2014-09-17 03:13:02 +01:00
Daniel Evans
b1c82e3582
Fix compilation under clang, fix majority of warnings
2014-08-11 17:58:43 +01:00
Daniel Evans
97fee9b4a8
Fix many memory leaks code duplication
...
+ Move collision data construction into CollisionInstance
+ CollisionInstance also handles related cleanup
+ Fix leaks from AINodes
2014-08-10 23:31:59 +01:00
Daniel Evans
97ad0414f7
Add Cutscene Audio, via libmad
...
+ MADStream probably needs a good look over, for saftey's sake
2014-08-01 21:04:58 +01:00
Daniel Evans
02838ce3b4
Implement cutscene objects and animations (sans skinning)
...
+ Add CutsceneObject for non-interactive animating objects
+ Implement HIER section to load cutscene object data
2014-07-30 13:46:14 +01:00
Daniel Evans
688ee493b4
Add GXT loading support and i18n of prints.
2014-07-28 06:20:39 +01:00
Daniel Evans
5b9c95d346
Add Initial Cutscene playback implementation
...
+ Add CutsceneData structures to store the data required.
+ Implement screen fading in and out (todo: splash screen fading)
+ Add GameData::openFile2() returns a handle to open file memory + size
+ Fix fog implementation
+ Add screenspace rect to GameRenderer for fades and cinematics
2014-07-28 02:27:55 +01:00
Daniel Evans
e5cc47132f
Initial documentation pass
...
Add a nice doxygen file.
2014-07-09 05:04:48 +01:00
Daniel Evans
67fbc5afa3
Improve weapon and animation dynamics
...
Fix issue with 0-rotation animation frames
Improve weapon shot origin alignment (still bad)
2014-07-09 02:06:59 +01:00
Daniel Evans
0214a29ca3
Implement character inventory items, with weapon
2014-06-29 22:14:46 +01:00
Daniel Evans
87a04d9119
Added weapon scan for HITSCAN
...
WeaponScans contain data required to affect objects in the world with
weapon damage
2014-06-28 03:22:53 +01:00
Daniel Evans
1244a87665
Add weapon data loading
2014-06-26 17:55:17 +01:00
Daniel Evans
e1a37e44c4
Cleaned up some object data
...
Renamed some vehicle related data objects
Changed types on some vehicle data containers
Renamed GTAObject to GameObject
2014-02-28 11:23:51 +00:00
Daniel Evans
c5171eb673
Added documentation
2014-02-13 10:57:25 +00:00
Daniel Evans
326fe4eeb3
Merge branch 'objects'
2014-01-29 08:47:01 +00:00
Daniel Evans
16b59f3943
Renamed Components
2014-01-26 03:45:55 +00:00