1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-10 04:42:38 +01:00
Commit Graph

62 Commits

Author SHA1 Message Date
orbea
27c6334cb1 CMake: Add BIN_DIR and DOC_DIR (#165)
* CMake: Add BIN_DIR and DOC_DIR

* CMake: Fix typo
2016-06-29 22:19:03 +01:00
Daniel Evans
9f85f283cb CMake: FindSFML+FindMAD, set library paths as SYSTEM, remove dead stuff. 2016-05-19 22:30:06 +01:00
Daniel Evans
8ede36c59d Implement semi-functional world viewer widget 2016-05-19 19:46:23 +01:00
Daniel Evans
5b76eb72f3 Clean up viewer widgets to make additional viewers easier to add. 2016-05-19 19:46:23 +01:00
Daniel Evans
8a5be54b91 Overhaul animation system and character activities
Replaces animator with a simpler system that can overlay multiple
animations

Character animation split into two layers, motion and action.
Walking, running and jumping animations are played on the first
layer, actions such as firing can be overlayed on the second.
More work is needed to limit overlap to only the weapons that make
sense.
2016-04-17 04:54:19 +01:00
Daniel Evans
ceb711b25e Fix animations not playing in rwviewer 2016-04-16 15:05:36 +01:00
Daniel Evans
76eb43c023 Fix compilation and runtime issues with reviewer from recent changes 2016-04-16 14:06:02 +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
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
Daniel Evans
5db4c28f04 Refactor Object Definition information to GameData 2015-04-24 18:10:42 +01:00
Daniel Evans
e04f9a8d40 Move GameData from GameWorld 2015-04-18 01:11:17 +01:00
Daniel Evans
efc79e8ec6 Overhaul Model Viewer behaviour with visibility toggle 2015-04-14 01:06:50 +01:00
Daniel Evans
0f4152d099 Improve rwviewer frame selection + view
* ViewerWidget now highlights selected non-model frames
2015-04-13 02:09:14 +01:00
Daniel Evans
1827b9cca3 Restore rwviewer to functional state 2015-04-13 01:48:29 +01:00
Daniel Evans
29570e794f Remove unused animation from rwviewer 2014-12-11 18:09:41 +00:00
Daniel Evans
9057d995c6 Fix overbright and stretched viewer viewport rendering 2014-09-21 16:20:30 +01:00
Daniel Evans
33afc649c5 Implement "model" view in rwviewer 2014-09-21 16:13:01 +01:00
Daniel Evans
78334aa51b Add QStackedWidget to MainWindow for model viewer mode 2014-09-20 14:20:12 +01:00
Daniel Evans
bf462702a3 Fix 3D viewer widget rendering 2014-09-19 16:06:09 +01: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
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
Timmy Sjöstedt
a854a11dc3 Added linking to iconv
TODO make it cmake-y
2014-08-16 00:19:04 +02:00
Timmy Sjöstedt
dfafa9e218 Fixed Bullet include paths. 2014-08-15 23:49:58 +02: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
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
15c41d137d Improve material rendering, fix texture loading 2014-06-19 16:31:01 +01:00
Daniel Evans
4d228e40c7 Improve CMake scripts
Look for bullet using the FindBullet package
2014-06-18 17:07:51 +01:00
Daniel Evans
3a156063d8 Improve renderer and LOD handling 2014-06-17 21:46:54 +01:00
Daniel Evans
77aa71df7e Improve water rendering 2014-06-12 00:15:05 +01:00
Daniel Evans
54d63b8145 Add frame info text in viewer 2014-06-10 20:26:04 +01:00
Daniel Evans
144cd98ca4 Merge branch 'master' of bitbucket.org:danharibo/openrw 2014-06-10 17:51:59 +01:00
Daniel Evans
04de3c1a8f Fix compiler warnings 2014-06-10 17:51:55 +01:00
Daniel Evans
871804fcb3 Fix Model frame widget display 2014-06-10 16:47:44 +01:00
Daniel Evans
1e9e8c4d9c Fix crash on loading viewer objects 2014-06-10 01:32:29 +01:00
Daniel Evans
229e8627d2 Add model export to rwviewer 2014-06-10 00:46:48 +01:00
Daniel Evans
ad6eda9024 Refactor Viewer to open game data 2014-06-08 01:58:49 +01:00
Daniel Evans
891b12272c Rename more classes to better names 2014-06-06 17:17:39 +01:00
Daniel Evans
61931145fe Threaded model and texture loading 2014-06-06 13:12:20 +01:00
Daniel Evans
34400e19ab Fix viewer widget 2014-05-27 00:08:14 +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
687917c2fd Added filename filter to archive window 2014-03-01 02:19:46 +00:00
Daniel Evans
a6537784b6 Fixed Viewer frame window state 2014-03-01 01:13:52 +00:00
Daniel Evans
caa1fd301e fix cmake source dir paths 2014-02-28 07:24:20 +00:00
Daniel Evans
42c9480271 Add Readme and Copying files 2014-02-13 09:51:42 +00:00
Daniel Evans
25ecdf0533 Fix window status restoration 2014-02-12 07:12:40 +00:00