Anonymous Maarten
4b5107719f
rwgame: split rwgame in librwgame and rwgame
2018-12-28 00:58:10 +01:00
Anonymous Maarten
8b38fda984
rwgame: merge argument + configuration file parsing + add tests
...
- definition of arguments an configuration parameters is centralized
in rwgame/RWConfig.inc
- argument parsing is tested
- the try/catch in main is less weird now (imho)
2018-12-28 00:58:10 +01:00
Anonymous Maarten
d43123ba50
ci: add ability to upload to codecov.io
2018-11-27 13:47:25 +01:00
Petar Kukolj
262523c211
Add HUDDrawer class and add a test
2018-10-30 15:08:25 +01:00
Anonymous Maarten
c73e5d514d
cmake+ci: install pdb's + enable on ci
2018-09-16 00:53:18 +02:00
Anonymous Maarten
2d595bede7
cmake: add all files to cmake
2018-09-16 00:52:41 +02:00
Anonymous Maarten
b545b79a4b
cmake: do not use rwdep::xxx targets
2018-08-15 09:12:01 +02:00
Anonymous Maarten
b6a2b2181d
cmake: do not override find modules but wrap them separately
2018-06-14 02:10:54 +02:00
Anonymous Maarten
8f70b36d6f
cmake: include all dependencies at top of main CMakeLists.txt
2018-06-14 02:10:54 +02:00
Anonymous Maarten
e3c0b00453
cmake: use GNUInstallDirs for install paths + install everything (optionally)
2018-06-08 18:30:25 +02:00
Anonymous Maarten
a40a2706a9
cmake: add support for include-what-you-use to check #include's
...
The output is currently very verbose and includes many false positives.
Adding a mapping file should solve this.
See
https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUMappings.md
2017-10-29 20:40:57 +00:00
Anonymous Maarten
06c4bf09f7
cmake: make OpenGL an imported target
2017-10-29 20:40:57 +00:00
Anonymous Maarten
5dc707aaed
cmake: make OpenAL an imported target
2017-10-29 20:40:57 +00:00
Anonymous Maarten
6ccf85b770
cmake: make bullet an imported target
2017-10-29 20:40:57 +00:00
Anonymous Maarten
e555331748
cmake: be more specific about Boost library to link with
...
CMake 3.2's FindBoost.cmake does not support boost:: namespaces
2017-10-29 20:40:57 +00:00
Anonymous Maarten
66a28acaa4
cmake: make SDL2 an imported target
2017-10-29 20:40:57 +00:00
Anonymous Maarten
282a6e2714
cmake: reformat rwgame/CMakeLists.txt
2017-10-29 20:40:57 +00:00
Anonymous Maarten
1926795d63
cmake: use rwengine::interface + no more add_definitions & include_directories
2017-10-29 20:40:57 +00:00
darkf
1bca493dfa
Remove last mman reference
2017-09-16 19:50:51 +01:00
Anonymous Maarten
65b14fcb9c
config: use boost::property_tree for INI read and default generation
...
* remove inih
* input.invert_y has now behavior as described on wiki
2017-02-20 01:01:30 +00:00
Daniel Evans
f0e0e6e747
Extract game input state handling from IngameState
...
Prevents input getting "stuck" when input is removed in the pause menu
2016-11-19 23:50:34 +00:00
Daniel Evans
613d386488
Improve Menu system implementation
2016-10-24 21:29:41 +01:00
Daniel Evans
6a7802de87
Overhaul State and StateManager to remove pointers
...
Removed raw State pointers in favour of unique_ptrs
Avoid allowing control flow to re-enter States that have exited
Defer releasing states until the end of the frame
2016-10-24 21:29:40 +01:00
Daniel Evans
2f118631dc
Move some non-game code into GameBase class
...
This moves window setup and configuration loading into a base
class so that RWGame can focus on game related matters
2016-10-19 22:34:51 +01: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
Jannik Vogel
bdfa30729f
Replace uses of cmath constants by glm
2016-08-23 23:05:22 +02:00
Daniel Evans
cdebd16532
Remove iconv from CMake configuration
2016-08-23 00:05:25 +01:00
Jannik Vogel
571fd08631
Replace strcasecmp with boost::iequals
2016-08-12 02:14:15 +02:00
Daniel Evans
d8841c7561
Remove include directory from rwengine for consistency
2016-08-07 14:41:45 +01:00
Daniel Evans
a0b995c97e
Move game state classes into states folder
2016-08-07 14:32:22 +01:00
darkf
836e51aff7
Torch the HTTP script debugger
2016-08-03 13:30:40 -07:00
Daniel Evans
ded631dad6
Add Git SHA1 hash to RWGame for versioning
2016-08-01 19:34:53 +01:00
haphzd
114abe2286
Windows/MinGW-W64 compatibility
2016-07-28 14:46:48 +03:00
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
9aaeb2ceda
Remove screenshot functionality, as it's broken.
2016-06-23 22:43:00 +01:00
Jannik Vogel
9bfb9f8002
CMake: Use FindSDL2.cmake
2016-06-22 23:58:27 +02:00
Christoph Heiss
649f7b144d
Replace SFML with SDL2
...
This entirely replaces all remaining SFML pieces with SDL2 and
brings OpenRW up to OpenGL 3.3
2016-06-22 12:29:39 +02:00
Christoph Heiss
9835b0fc61
Replace sf::TcpListener/sf::TcpSocket with a drop-in implementation
2016-06-22 11:13:41 +02:00
Daniel Evans
2ee4a6e533
Add configuration file to replace OPENRW_GAME_PATH env var
...
This will permit the storage of other user settings like language and
video settings.
2016-05-20 02:10:11 +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
185ba23f05
Fix all compiler warnings in rwengine.
2016-04-28 00:54:42 +01:00
Daniel Evans
74f0e7f67c
Added Benchmark mode (--benchmark file)
2016-04-18 02:31:52 +01:00
Daniel Evans
14269d8ae5
Move first of lower level code into rwlib; tear out GLEW.
2016-04-07 01:13:46 +01:00
Timmy Sjöstedt
31b625d391
Started implementing HttpServer
2015-04-19 22:37:13 +02: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
f47fad4bc2
Move game code into RWGame class and refactor
2014-09-16 19:22:43 +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