Timmy Sjöstedt
bc325b8857
Fixed passing int instead of float to glm::radians
2015-03-30 02:03:44 +02:00
Timmy Sjöstedt
7729ae171d
Fixed camera to take Y mouse movement into account.
...
TODO: Make camera not intersect world geometry and other objects.
2015-03-30 01:47:10 +02:00
Timmy Sjöstedt
4b915d5271
Added default 90° FOV.
2015-03-30 01:46:41 +02:00
Daniel Evans
980ef71e96
Change how draw calls are counted
2015-03-28 13:54:28 +00:00
Daniel Evans
30e059a0b6
Improve graphics performance
...
+ Add Framebuffer rendering to store data
+ Re-implement water using projected grid aproach
2015-03-28 13:42:29 +00:00
Daniel Evans
2985a70354
Implement new VisualFX system for particles etc.
...
- VisualFX stores data about effects like particles and lighting
- Only particles initial implementation
- World stores active VisualFX
2015-03-06 16:55:46 +00:00
Daniel Evans
46cd7b8f51
Overhaul Loader framework for Models
...
- Replace background model loader with generic background loader
- Replace ModelHandle object with generic resource handle
2015-03-06 04:38:22 +00:00
Daniel Evans
dfe6ec3eaa
Remove old file indexing system and IO handling
...
- Use FileIndex inside GameData to handle normalisation
- Remove old raw pointer API for loading data
2015-03-06 01:40:29 +00:00
Daniel Evans
cf0c37dcc2
Remove GameRenderer from GameWorld
...
- Particle rendering is broken, since objects can't access renderer
2015-03-05 16:36:14 +00:00
Daniel Evans
536b3f9f0c
Add new Logger system.
...
- Supports multiple log recievers.
- Onscreen log needs to be re-written.
- Replaces GameWorld::logX().
2015-03-05 03:37:13 +00:00
Daniel Evans
cdff0aa275
Handle window close event
2015-02-26 02:06:43 +00:00
Daniel Evans
fe4926e5d6
Add object lifetime values, clean up spawned traffic
2015-02-18 16:00:55 +00:00
Daniel Evans
9407ee3135
Add test implementation of pedestrian spawning
2015-02-18 15:29:39 +00:00
Daniel Evans
f9382af485
Add frametime and FPS to debug stats
2015-02-16 00:44:30 +00:00
Daniel Evans
b59c689a5e
Improve timestep and clock handling
2015-02-16 00:39:19 +00:00
Daniel Evans
be023b5093
Overhaul texture handling, add TextureData handles.
...
+ Use shared ptrs to track loaded texture handles
+ Cache textures on models to avoid lookups
2015-02-16 00:36:11 +00:00
Daniel Evans
9eb4c62a04
Improve HUD and UI rendering
...
+ Add names for some styles to reduce confusion
+ Move some HUD drawing into a seperate file
2015-02-15 12:41:51 +00:00
Daniel Evans
9855bf2967
Improve map rendering, UI viewport
...
+ UI Viewport is now window sized
+ Map renderer now supports rotating
2015-02-15 01:41:24 +00:00
Daniel Evans
2344024f08
Text rendering
2015-02-07 22:55:06 +00:00
Daniel Evans
538d0c02f9
Add city.wav
2015-02-04 17:16:46 +00:00
Daniel Evans
441109bc99
Add fullscreen option
2015-01-30 10:07:53 +00:00
Daniel Evans
854228e91b
Re-implement -w and -h window size arguments
2015-01-30 10:04:25 +00:00
Daniel Evans
dda2d5a245
Make disable input opcode take effect
2015-01-27 15:25:45 +00:00
Daniel Evans
d5a906eb3f
Increase FOV while cinematic mode is set
2015-01-27 13:59:09 +00:00
Daniel Evans
0d730547fa
Fix issues with HUD and widescreen mode
2015-01-26 01:32:21 +00:00
Daniel Evans
87ca358717
Adjust game map a little more
2015-01-25 18:42:29 +00:00
Daniel Evans
cbebbbed87
Minor adjustments to the map
2015-01-25 18:31:22 +00:00
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
6890572542
Disable debug rendering of doors
2015-01-23 12:25:40 +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
3f40ba0e18
Add AI Goal system, FollowLeader goal.
...
+ Add support for setting leader, e.g. Misty follows you during "Luigi's Girls".
2015-01-22 15:00:30 +00:00
Daniel Evans
0c84873be2
Add more opcodes, can now finish mission 1
2015-01-22 11:11:16 +00:00
Daniel Evans
185687b1b5
Add and improve functionality for first mission.
...
+ Improve GoTo activity behaviour, jumping to target.
+ Fixed crash on non-existing audio file
+ Added correct conditional flag to conditional opcodes
+ Fixed seat state on exit from non 0th seat
+ Implement many opcodes
2015-01-21 20:40:31 +00:00
Daniel Evans
ed62b758d2
Implement more opcodes
...
* Is Vehicle Flipped, Create character in vehicle, get time of day and many more
2014-12-17 22:53:25 +00:00
Daniel Evans
f3adc5ea5a
Improve Help Box display
2014-12-17 14:38:27 +00:00
Daniel Evans
e3c78fd09c
Add more opcodes
2014-12-17 00:39:52 +00:00
Daniel Evans
7963becbd1
Add more opcodes and vehicle handling
2014-12-16 19:17:22 +00:00
Daniel Evans
2709e7d252
Implement and declare more opcodes
2014-12-16 03:30:51 +00:00
Daniel Evans
7e4dea5139
More Script Engine improvements and fixes
...
* Implement and declare many more opcodes
* Fix incorrect behaviour of If / else jump constructs.
2014-12-16 03:03:15 +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
d3a3436a09
Improve vehicle camera
2014-12-14 23:21:30 +00:00
Daniel Evans
27104f7b79
Add Jump activity to improve jump dynamics
2014-12-13 01:24:06 +00:00
Daniel Evans
b444e0da04
Add time control debug keys
2014-12-13 00:59:09 +00:00
Daniel Evans
17a649f045
Fix crash at exit due caused by rendering to closed window
2014-12-11 18:11:36 +00: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
f47fad4bc2
Move game code into RWGame class and refactor
2014-09-16 19:22:43 +01:00
Daniel Evans
668848952b
Initial rendering refactor
2014-08-22 14:29:46 +01:00
Daniel Evans
4d78cacd84
Improve CMake detection of platform libraries
2014-08-16 23:02:34 +01:00
Timmy Sjöstedt
460473f461
Link OpenGL with CMake find package.
2014-08-16 00:20:13 +02:00