Daniel Evans
87435a2576
Add map renderer and ingame radar display
2015-01-25 18:25:55 +00:00
Daniel Evans
1961661d14
Implement visible goals for locating characters
2015-01-23 17:18:16 +00:00
Daniel Evans
4ea6e14299
Improve vehicle door dynamics
...
+ Vehicle doors should move in the right direction now
+ Fix debugging draw class for bullet
2015-01-22 20:16:28 +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
668848952b
Initial rendering refactor
2014-08-22 14:29:46 +01:00
Daniel Evans
ba7eb63941
Refactor and cleanup camera control.
...
rwengine
+ Make renderWorld() take a ViewCamera parameter.
+ add rotation and getView to ViewCamera
+ correct directions for vehicle and character movement.
rwgame
+ Remove GenericState
+ Add State::getCamera() to control the ViewCamera used for rendering
+ Clean up state camera control
+ Remove now unused view parameters from main
2014-08-12 21:15:26 +01:00
Daniel Evans
d2e19fbdb3
Refactor SubGeometry to use a vector for storage
...
+ Use memcpy to populate subgeometry data
2014-08-10 20:09:54 +01:00
Daniel Evans
6c78b0c3c5
Refactor DFF Loader, underlying stream handling
...
+ Fix some model related memory leaks
2014-08-04 22:24:37 +01:00
Daniel Evans
be347e88dc
Remove accidentally commited files
2014-08-03 17:51:43 +01:00
Daniel Evans
d270b75141
Improve rendering performance
...
+ Fix some bad values for glActiveTexture()
+ Move work processing queue into update() to avoid clogging the render
thread
+ Add some extra values for frames and geometry drawn
2014-08-03 13:37:11 +01:00
Daniel Evans
6a1dacaa54
Implement object opacity and instance fade-out
2014-08-02 21:35:58 +01:00
Daniel Evans
c7256e60fb
Implement fade to splash screen
2014-08-01 22:03:00 +01:00
Daniel Evans
a3764efdfd
Normalize FOV with aspect ratio
2014-08-01 15:48:05 +01:00
Daniel Evans
aa841c0ed3
Merge branch 'script-tool'
...
Conflicts:
rwengine/include/engine/GameObject.hpp
rwengine/include/engine/GameWorld.hpp
rwengine/include/render/GameRenderer.hpp
rwengine/src/render/GameRenderer.cpp
2014-07-30 13:55:39 +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
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
3c665e7d2b
Add many opcodes, implement some of them.
...
+ Fix thread-relative jumps
+ GameObject::setHeading(degrees) sets object rotation from a heading.
+ Add More GameState from opcodes.
+ Decouple game hours from the engine clock
+ Add VehicleObject::setRotation()
+ Add GameWorld::getGroundAtPosition(pos) for OpCodes
+ Fix Handling of fixed-point SCM parameters
+ Update IngameState to use GameState::player if it exists
+ Add skip-time button to skip opening cutscene (F12)
2014-07-27 00:44:21 +01:00
Daniel Evans
c35c2c636a
Add thrown projectiles, support for queued deletion
2014-07-20 21:21:51 +01:00
Daniel Evans
a8c2312b87
Add corona to pickups
2014-07-09 22:28:25 +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
b8860722fd
Further implement weapons and pickups
...
Inventory can now by cycled
Weapon Pickups are created infront of the spawn
2014-07-04 21:06:56 +01:00
Daniel Evans
3c57d9278c
Refactor object rendering into seperate functions
2014-07-01 22:00:45 +01:00
Daniel Evans
799127f8f8
Implement weapon firing, debug tracers
2014-06-30 01:56:45 +01:00
Daniel Evans
0214a29ca3
Implement character inventory items, with weapon
2014-06-29 22:14:46 +01:00
Daniel Evans
a4591695e9
Flatten low quality water
2014-06-25 01:12:32 +01:00
Daniel Evans
3a156063d8
Improve renderer and LOD handling
2014-06-17 21:46:54 +01:00
Daniel Evans
0a3167d1e9
Refactor shader init and source
2014-06-15 02:12:45 +01:00
Daniel Evans
d437e9697e
Improve water dynamics and rendering
2014-06-14 18:48:14 +01:00
Daniel Evans
208a2a9897
Primitive water rendering
2014-06-08 19:04:47 +01:00
Daniel Evans
891b12272c
Rename more classes to better names
2014-06-06 17:17:39 +01:00
Daniel Evans
d56a3badc0
Overhaul animation system; tick alpha
...
Animators now store Frame keyframes more sensibly
Animators can interpolate between two keyframes on an alpha
Add tick alpha value to the rendering pipeline
2014-06-02 04:58:41 +01:00
Daniel Evans
6d604ffec0
Fixed TEXDICTION and wheel rendering
2014-06-01 17:41:09 +01:00
Daniel Evans
c5451f5fd4
Fix compiler errors and test problems
2014-05-25 22:30:50 +01:00
Daniel Evans
52d90a9b26
Animations working again
2014-03-01 11:19:33 +00:00
Daniel Evans
bd96b0b190
Added vehicle damage flags
2014-03-01 04:12:35 +00: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
1b9687dedd
Frame information
2014-02-12 06:42:07 +00:00
Daniel Evans
be39a691cf
Improved colour representation
2014-02-10 09:22:12 +00:00
Daniel Evans
d9bb0be308
Use new drawing structures
2014-02-10 08:55:01 +00:00
Daniel Evans
975c7a5c32
Add new structures for renderer data
2014-02-10 05:43:20 +00:00
Daniel Evans
0773829dfc
Refactored rendering and frames
2014-02-09 03:14:43 +00:00
Daniel Evans
16b59f3943
Renamed Components
2014-01-26 03:45:55 +00:00