Daniel Evans
fe77995e1f
Fix uninitialised moneyTimer variable
2016-09-12 00:35:09 +01:00
Daniel Evans
3015b7f3e0
clang-format files in tests
2016-09-09 21:13:22 +01:00
Daniel Evans
11a9907f07
clang-format files in rwviewer/views
2016-09-09 21:13:21 +01:00
Daniel Evans
46628d98d9
clang-format files in rwviewer/widgets
2016-09-09 21:13:21 +01:00
Daniel Evans
4ca99c380a
clang-format files in rwviewer/models
2016-09-09 21:13:21 +01:00
Daniel Evans
d1c33af268
clang-format files in rwviewer
2016-09-09 21:13:21 +01:00
Daniel Evans
8a19f9b5d0
clang-format files in rwlib/source/platform
2016-09-09 21:13:21 +01:00
Daniel Evans
c4bb714e54
clang-format files in rwlib/source/gl
2016-09-09 21:13:21 +01:00
Daniel Evans
4308a55ee8
clang-format files in rwlib/source/data
2016-09-09 21:13:21 +01:00
Daniel Evans
1219075e1a
clang-format files in rwlib/source/job
2016-09-09 21:13:21 +01:00
Daniel Evans
981d68713b
clang-format files in rwlib/source/loaders
2016-09-09 21:13:21 +01:00
Daniel Evans
94cc76d36a
clang-format files in rwlib/source/rw
2016-09-09 21:13:21 +01:00
Daniel Evans
a403cc87b7
clang-format files in rwgame/states
2016-09-09 21:13:20 +01:00
Daniel Evans
e39ee21ca8
clang-format files in rwgame
2016-09-09 21:13:20 +01:00
Daniel Evans
e888d04303
clang-format files in rwengine/src/render
2016-09-09 21:13:20 +01:00
Daniel Evans
1e4d7ea133
clang-format files in rwengine/src/data
2016-09-09 21:13:20 +01:00
Daniel Evans
6444bca8db
clang-format files in rwengine/src/loaders
2016-09-09 21:13:19 +01:00
Daniel Evans
83cfb4d1e3
clang-format files in rwengine/src/audio
2016-09-09 21:13:19 +01:00
Daniel Evans
869c15a4ea
clang-format files in rwengine/src/script/modules
2016-09-09 21:13:19 +01:00
Daniel Evans
b064ad2aeb
clang-format files in rwengine/src/script
2016-09-09 21:13:19 +01:00
Daniel Evans
f2eede5301
clang-format files in rwengine/src/objects
2016-09-09 21:13:19 +01:00
Daniel Evans
305737cc3d
clang-format files in rwengine/src/items
2016-09-09 21:13:19 +01:00
Daniel Evans
80e6317c24
clang-format files in rwengine/src/engine
2016-09-09 21:13:19 +01:00
Daniel Evans
8534d7ff5d
clang-format files in rwengine/src/dynamics
2016-09-09 21:13:18 +01:00
Daniel Evans
d5e853d23f
clang-format files in rwengine/src/ai
2016-09-09 21:13:18 +01:00
Daniel Evans
9aa3af6703
clang-format files in rwengine/src/core
2016-09-09 21:13:18 +01:00
Daniel Evans
36a2c57d91
clang-format files in rwengine/src
2016-09-09 21:13:18 +01:00
Daniel Evans
7b7e65e002
Fix file include path in test_FileIndex.cpp
2016-09-09 21:13:15 +01:00
Daniel Evans
43c2f00f47
Correct header guard and missing include in CollisionModel
2016-09-09 20:16:51 +01:00
Daniel Evans
b4f5a1d2cc
Add verify-commit script for pre-commit style check
2016-09-09 20:16:51 +01:00
Daniel Evans
9338c34096
update clang-format
2016-09-09 20:16:51 +01:00
Daniel Evans
239d19a310
Don't cast from wide chars to chars on windows
2016-09-09 00:07:17 +01:00
PerikiyoXD
62d0bf796a
Fixed .native() and some cast errors
...
Signed-off-by: PerikiyoXD <perikiyoxd@gmail.com>
2016-09-08 21:17:30 +02:00
Daniel Evans
53e996aac7
Merge pull request #234 from danhedron/improved-file-handling
...
Improved file handling for un-archived files
2016-09-07 22:39:35 +01:00
Daniel Evans
0abfc695fb
Remove GameData::openFile
...
The openFile API is not useful for implementing the correct
behaviour, so the underlying FileIndex method will be removed
soon.
2016-09-07 22:06:38 +01:00
Daniel Evans
0be8586135
Improve indentation of loadLevelFile
2016-09-07 22:06:38 +01:00
Daniel Evans
930e10ce16
Rename parseDAT to loadLevelFile
...
There are many dat files in the game, but this function
only deals with the the level files
2016-09-07 22:06:38 +01:00
Daniel Evans
d7dea62f04
remove unused method FileIndex::findFile
2016-09-07 22:06:38 +01:00
dan
5e0659fccf
Remove now unused fixPath function
2016-09-07 22:06:38 +01:00
dan
810c6658d0
use openFilePath to open data files
2016-09-07 22:06:38 +01:00
dan
23e25ed751
Add new openFilePath method to FileIndex
2016-09-07 01:34:42 +01:00
Daniel Evans
03309d76d9
Don't defer loading IDE files
2016-09-07 01:34:42 +01:00
dan
306f6fa9d7
Use findFilePath when loading data files
...
This should make file loading more reliable for case sensitive
operating systems.
2016-09-07 00:42:27 +01:00
Daniel Evans
16cb035121
Merge pull request #229 from svenstucki/master
...
Parse command line arguments with Boost
2016-09-06 20:42:53 +01:00
Sven Stucki
f5d76fbbcd
Catch all command line parsing errors, properly exit on --help
2016-09-06 20:11:54 +02:00
Sven Stucki
0847c85abd
Make --test work without --newgame, update help text
2016-09-06 20:11:53 +02:00
Sven Stucki
431e218a64
Use Boost to parse command line arguments ( #177 )
...
There are still some rough edges, first version to send in for
discussion.
2016-09-06 20:11:41 +02:00
Daniel Evans
674ce55af3
Replace findPathRealCase with FileIndex methods
...
This introduces indexGameDirectory and findFilePath.
indexGameDirectory indexes the files in the game directory.
findFilePath returns the on-disk location of a case-insensitive
game data path.
2016-09-06 00:23:25 +01:00
dan
772c93d463
Use correct header guards in FileHandle.hpp
2016-09-06 00:23:25 +01:00
Daniel Evans
ad7f3ba071
Use correct header guard in FileIndex.hpp
2016-09-06 00:23:25 +01:00