darkf
0242868caa
Use boost::make_iterator_range, as older boost lacks ranges in filesystem iterators
2016-08-06 08:43:28 -07:00
darkf
62532107ee
Rewrite SaveGame::getAllSaveGameInfo to use boost::filesystem
2016-08-03 18:31:47 -07:00
darkf
40705a6666
Rewrite findPathRealCase to use boost::filesystem, move it to FileIndex
2016-08-03 18:31:47 -07:00
Daniel Evans
c48bc26c1e
Merge pull request #158 from danhedron/feature/physics-overhaul-1
...
MotionStates & physics cleanup
2016-08-01 19:32:30 +01:00
haphzd
114abe2286
Windows/MinGW-W64 compatibility
2016-07-28 14:46:48 +03:00
Daniel Evans
280f83ecc7
Remove defunct grid code
2016-07-02 20:33:25 +01:00
Daniel Evans
600333e20b
Merge pull request #159 from danhedron/feature/traffic-vehicles
...
Parked traffic and out-of-view spawning
2016-06-29 23:04:00 +01:00
Daniel Evans
30e4a7faf1
Merge pull request #137 from haphzd/patch-1
...
File loading improvements
2016-06-29 22:26:58 +01:00
Daniel Evans
d2ec218f89
Restore vehicle generators from save data
2016-06-27 22:55:13 +01:00
Daniel Evans
69e7d32f3a
Use view frustum for traffic spawning and cleanup
2016-06-27 22:33:22 +01:00
Daniel Evans
50eee4e5ff
Implement static VehicleGenerator traffic
2016-06-27 22:33:22 +01:00
haphzd
593aa73bda
Use existing file loading method for SCM
2016-06-26 13:25:26 +03:00
haphzd
e82be612a1
Open binary files in binary mode
2016-06-26 13:24:43 +03:00
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