Daniel Evans
75fd42e29b
Add GameWorld::createPickup() and improve opcode 0x213 implementation
2016-06-25 21:33:37 +01:00
Daniel Evans
1f5fcb16ca
Merge pull request #121 from JayFoxRox/improve-text
...
Improve text styles
2016-06-04 17:41:32 +01:00
Jannik Vogel
fbb02e14fb
Load import / export garage lists from savegame
2016-06-04 17:23:52 +02:00
Jannik Vogel
823891a84e
Fix shadow position for HighPriority-text
2016-06-02 18:58:09 +02:00
Jannik Vogel
5780aaa4f7
Document, improve and add all styles for Big-text
2016-06-02 18:58:09 +02:00
Daniel Evans
ddb2457674
Merge pull request #98 from JayFoxRox/load-objects
...
Create object instances from savegame
2016-05-30 23:53:07 +01:00
Timmy Sjöstedt
d715cfe24a
Make the right part of the code store the name of loaded audio
...
Otherwise game_play_music_id thinks that the audio hasn't loaded
2016-05-30 20:06:34 +02:00
Timmy Sjöstedt
963f4c62ea
Make cutscene audio use SoundManager
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
6afc4e7147
Make mission sounds use new audio system
2016-05-30 20:06:33 +02:00
Jannik Vogel
3271579621
Create object instances from savegame
2016-05-27 13:02:20 +02:00
Daniel Evans
6422c8ae97
Move blip object lookup and make arrows work again.
2016-05-26 21:49:26 +01:00
Daniel Evans
ede0cf762f
Fix some uninitialized reads
2016-05-22 23:45:19 +01:00
Timmy Sjöstedt
9c9900db55
Initialize BasicState struct in GameState, fixes #26
2016-05-22 23:15:35 +02:00
Daniel Evans
ca92e1e0aa
Fix crash when script attempts to delete null object. Closes #30
2016-05-21 03:00:41 +01:00
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
5721333fb0
Overhaul script text display with new text logic system.
...
Logic for displaying text now belongs in ScreenText, which will
handle type specific text display.
2016-05-07 18:29:08 +01:00
Daniel Evans
e7faa60926
Make unit tests work again, fixing tests & code
2016-05-02 17:38:04 +01:00
Daniel Evans
d2f254731a
Increase warnings to pedantic and fix rwlib/rwengine warnings
2016-05-01 22:30:15 +01:00
Daniel Evans
185ba23f05
Fix all compiler warnings in rwengine.
2016-04-28 00:54: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
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
f3b81c5690
Bring tests back up to compiling and running. Only a few are failing
2016-04-15 01:06:10 +01:00
Daniel Evans
3af1c37f5e
Garage vehicle rotations are just directions.
2016-04-14 23:30:05 +01:00
Daniel Evans
2d510613fc
Load player inventory information
2016-04-10 22:25:50 +01:00
Daniel Evans
3663536714
Copy health and armour from loaded save games
2016-04-10 19:21:23 +01:00
Daniel Evans
691bba5dca
New inventory implementation and split char state
2016-04-10 18:57:40 +01:00
Daniel Evans
19d98bec70
Load all data containing sections of save files
2016-04-10 04:38:31 +01:00
Daniel Evans
909f00b079
Clean up game state structure to better match save format
2016-04-09 22:29:32 +01:00
Daniel Evans
d7604531eb
Migrate first save state struct and update loading
2016-04-09 02:21:22 +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
4ce275c381
Improve debug server functionality and appearence
2015-07-06 00:54:13 +01:00
Daniel Evans
868883fd36
Add Debugger functionality
...
* Include Angluar JS for UI
* Improve styling slightly
* Add Interrupt/Continue buttons and api URLs
* List of threads when game is paused
2015-07-03 02:52:43 +01:00
Daniel Evans
bf1c8bb0ca
Fix crashes from mixing player / character references
2015-07-01 23:16:06 +01:00
Daniel Evans
49695a2dc6
Further game save loading
...
* Give object types individual id namespaces.
2015-06-24 01:48:26 +01:00
Daniel Evans
7ceaac370c
Load Weapon inventory data from save files
2015-06-14 21:52:47 +01:00
Daniel Evans
031844c56f
Fix save loading path
2015-06-14 18:18:07 +01:00
Daniel Evans
77ca5d96ea
Expand Save Game loading to garage data
2015-06-14 18:08:55 +01:00
Daniel Evans
cd7bb3af15
Proof of concept loading save data from save files
2015-06-14 02:44:51 +01:00
Daniel Evans
53d2e318a3
Ensure icons.txd is loaded for blip arrow
2015-05-03 05:32:08 +01:00
Daniel Evans
91065b6af4
Initial Save + Load implementation
...
* Fix VM Global Addressing
* Modify VM structures to simplify storage
* Add explicit GameWorld::createPlayer() method
* Move gameTime to GameState for storage
* Add SaveGame class for reading + writing
* New Dependancy: cereal
2015-05-03 05:23:44 +01:00
Daniel Evans
d6eaf6e1f9
Fix double free crash in delayed object deletion
2015-05-02 20:37:20 +01:00
Daniel Evans
a7da8ea424
Remove raw GameObject pointer usage in GameState
2015-05-01 03:53:42 +01:00
Daniel Evans
60cf899c1e
Add GameWorld::findObject(GameObjectID)
2015-05-01 03:52:57 +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
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
d7e122306a
Refactor Instance path data into ObjectData
2015-04-24 20:22:39 +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