Daniel Evans
a7da8ea424
Remove raw GameObject pointer usage in GameState
2015-05-01 03:53:42 +01:00
Daniel Evans
8d1c7e802d
Add RWGame::hasFocus(), fix mouse warping
2015-05-01 00:46:20 +01:00
Daniel Evans
5d3ac6218e
Implement Game Object ID allocation
2015-04-29 21:03:53 +01:00
Daniel Evans
25f62a0a47
Refactor GameWorld into GameState
...
+ GameState now contains a GameWorld point to store the runtime world
data
2015-04-27 15:31:39 +01:00
Daniel Evans
0507bfdae6
Fix Dynamic objects not visually moving
2015-04-27 04:12:58 +01:00
Daniel Evans
85b1ab120f
Move GameState out of GameWorld ownership
2015-04-27 03:55:18 +01:00
Daniel Evans
1daa5a6fb2
Move GameObject to objects directory
2015-04-27 02:09:56 +01:00
Timmy Sjöstedt
db8e4ea1aa
Pass HTTP method & path to dispatch()
2015-04-25 01:10:01 +02:00
Timmy Sjöstedt
a697ec382e
Parse the first line in the HTTP request
2015-04-25 01:09:40 +02:00
Timmy Sjöstedt
dc9c4c3b72
Accept incoming connections in a loop
2015-04-25 01:08:19 +02:00
Timmy Sjöstedt
fc0777717e
Refactored handling request to separate method
2015-04-24 22:59:10 +02:00
Daniel Evans
5db4c28f04
Refactor Object Definition information to GameData
2015-04-24 18:10:42 +01:00
Daniel Evans
4b2fbbd3d8
Fix AI Graph discombobulation and debug rendering
2015-04-20 02:19:30 +01:00
Timmy Sjöstedt
efadffb03b
Spool up a HttpServer thread on script start
2015-04-19 22:38:01 +02:00
Timmy Sjöstedt
31b625d391
Started implementing HttpServer
2015-04-19 22:37:13 +02:00
Daniel Evans
e04f9a8d40
Move GameData from GameWorld
2015-04-18 01:11:17 +01:00
Daniel Evans
367b40d868
Merge branch 'rwng' of bitbucket.org:danharibo/openrw into rwng
2015-04-14 10:33:16 +01:00
Daniel Evans
97afc19cfb
Add Improved Profiling statistics
2015-04-12 19:47:47 +01:00
Daniel Evans
9eb1a415c5
Convert debug times to milliseconds
2015-04-11 02:21:15 +01:00
Daniel Evans
4cf36b8fd6
Add more rendering metrics for GL performance
2015-04-09 23:54:56 +01:00
Timmy Sjöstedt
2db7c7e01f
Fixed Average FPS counter not resetting variable.
2015-04-06 21:02:12 +02:00
Timmy Sjöstedt
230b6d9a85
Added jumps to Garage & Airport
2015-04-05 20:07:17 +02:00
Timmy Sjöstedt
7838f75947
Display average frametime & FPS over n frames
2015-04-05 20:06:15 +02:00
Daniel Evans
5b065615f3
Improve Loading screen
2015-04-05 02:12:54 +01:00
Daniel Evans
66b7c878c1
Improve game text behaviour
...
* Fix messages not being cleared
* Implemented clearing help messages
2015-04-05 02:08:51 +01:00
Daniel Evans
2e9962ef26
Re-implement functional character jumping
2015-04-04 21:50:08 +01:00
Daniel Evans
27c6afba31
Improve character dynamics, step behaviour
2015-04-04 21:23:53 +01:00
Daniel Evans
2f2e099ca6
Merge ClosestNotMeRaycastCallback into header
2015-04-04 20:00:59 +01:00
Daniel Evans
12f717c67e
Implement raycast camera - world collisions
2015-04-04 18:34:35 +01:00
Daniel Evans
a54e4a384e
Improve test state
...
* Move test spawn to the parking garage
* Add --test option to start a new testing session
* Add information about camera position to DebugState
2015-04-04 17:48:36 +01:00
Daniel Evans
159510cace
Add breakpoints to ScriptMachine, remove from GameWorld.
...
+ Adds breakpoints on program counter values to the ScriptMachine.
+ Adds breakpoint handler for acting on breakpoints
+ Remove GameWorld::script and make RWGame responsible for script
2015-04-04 03:12:28 +01:00
Daniel Evans
95b6e6a676
Improve pausing behaviour with State::shouldWorldUpdate()
2015-04-03 15:38:24 +01:00
Daniel Evans
bc54fac53a
Merge branch 'rwng' of bitbucket.org:danharibo/openrw into rwng
...
Conflicts:
rwgame/RWGame.cpp
2015-04-03 03:17:14 +01:00
Timmy Sjöstedt
1010861d0d
Removed weird angle calculation that broke the camera in vehicles.
2015-04-03 03:07:08 +01:00
Daniel Evans
b672e41acf
Remove Logger ownership from GameWorld
2015-04-03 03:07:08 +01:00
Timmy Sjöstedt
3b73621aab
Fixed passing int instead of float to glm::radians
2015-04-03 03:07:08 +01:00
Timmy Sjöstedt
59f7ca8b35
Fixed camera to take Y mouse movement into account.
...
TODO: Make camera not intersect world geometry and other objects.
2015-04-03 03:07:08 +01:00
Timmy Sjöstedt
4af866c92e
Added default 90° FOV.
2015-04-03 03:07:08 +01:00
Daniel Evans
49a8b9b2f4
Change how draw calls are counted
2015-04-03 03:07:08 +01:00
Daniel Evans
6851c5e011
Improve graphics performance
...
+ Add Framebuffer rendering to store data
+ Re-implement water using projected grid aproach
2015-04-03 03:07:07 +01:00
Daniel Evans
f655e454d6
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-04-03 03:04:50 +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
ce4b8fc83a
Remove old file indexing system and IO handling
...
- Use FileIndex inside GameData to handle normalisation
- Remove old raw pointer API for loading data
2015-04-03 03:04:50 +01:00
Daniel Evans
a967e190de
Remove GameRenderer from GameWorld
...
- Particle rendering is broken, since objects can't access renderer
2015-04-03 03:04:50 +01:00
Daniel Evans
dfd68abd8e
Add new Logger system.
...
- Supports multiple log recievers.
- Onscreen log needs to be re-written.
- Replaces GameWorld::logX().
2015-04-03 03:04:50 +01:00
Daniel Evans
3801e69e81
Improve TextRenderer kerning and performance
2015-04-03 02:56:37 +01:00
Daniel Evans
c3debe530f
Add --newgame switch to RWGame
...
+ Starts the game script execution without showing the menu
2015-04-03 01:26:20 +01:00
Daniel Evans
90eb909273
Minor vehicle camera improvements
2015-04-01 05:05:21 +01:00
Timmy Sjöstedt
290933d197
Removed weird angle calculation that broke the camera in vehicles.
2015-03-30 14:31:00 +02:00
Daniel Evans
3975816164
Remove Logger ownership from GameWorld
2015-03-30 02:45:58 +01:00
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