Commit Graph

1262 Commits

Author SHA1 Message Date
Ilya Shurumov
ca711efd80 Merge branch 'develop-SoapyMan' of https://github.com/SoapyMan/REDRIVER2 into develop-SoapyMan 2020-10-21 11:43:41 +06:00
Ilya Shurumov
6fc37b1498 - add INI configuration support
- add fullscreen support
2020-10-21 11:43:29 +06:00
Ilya Shurumov
6de9f86938 - remove CMake files 2020-10-21 11:10:47 +06:00
Ilya Shurumov
2bacfdfc23 - appveyor build 'Release Dev' 2020-10-21 01:14:21 +06:00
Ilya Shurumov
1e936f1ad5 - attempt to fix ped head rotation of disappeared interest
- bump game version
2020-10-21 01:11:00 +06:00
Ilya Shurumov
139aa1bc3e - [EMU] analog controller support in LIBPAD 2020-10-21 00:47:52 +06:00
Ilya Shurumov
728bbfc95a - [EMU] move controller reading code to LIBPAD 2020-10-21 00:14:35 +06:00
Ilya Shurumov
f11765185a - almost refactored PAD.C 2020-10-21 00:14:13 +06:00
Ilya Shurumov
bde9216283 - Car/Tanner controls as enums 2020-10-20 23:41:56 +06:00
Ilya Shurumov
8818004ab2 - always store pings in replays use them 2020-10-20 23:35:54 +06:00
Ilya Shurumov
f3789c1620 - fix a WTF formatting 2020-10-20 23:01:26 +06:00
Ilya Shurumov
64b7d53272 - refactor OBJANIM.C 2020-10-20 22:50:47 +06:00
Ilya Shurumov
c33dc9c78b - MAX_CARS everywhere, add CAMERA_COLLIDER_CARID and TANNER_COLLIDER_CARID
- fix mistakes
2020-10-20 16:35:36 +06:00
Ilya Shurumov
3304fc1adb - replace FixFloorSigned macro calls with divisions 2020-10-20 15:52:19 +06:00
Ilya Shurumov
20d32a16ca - refactor TARGETS.C 2020-10-20 00:21:12 +06:00
Ilya Shurumov
402dc22785 - refactor WHEELFORCES.C 2020-10-19 23:17:42 +06:00
Ilya Shurumov
670d1c4c26 - scale sky verts a little bit more 2020-10-19 21:07:01 +06:00
Ilya Shurumov
d4ebcd2cd3 - update CONTRIBUTING.md 2020-10-19 21:06:46 +06:00
Ilya Shurumov
e408ebfcb9 - less pointer dereferencing in cycles 2020-10-19 15:06:22 +06:00
Ilya Shurumov
91c9f40be3 - complete TileNxN, Tile1x1 2020-10-19 13:22:41 +06:00
Ilya Shurumov
65d5972c03 - TILE.C refactoring almost done 2020-10-18 21:35:28 +06:00
Ilya Shurumov
e2f7a3723d - minor cleanups 2020-10-18 21:34:04 +06:00
Ilya Shurumov
3737f4c4e5 - fix sky wobble 2020-10-18 21:33:42 +06:00
Ilya Shurumov
1bbf9512a2 - fix last camera deletion freeze 2020-10-18 20:30:15 +06:00
Ilya Shurumov
1d45c62a0f - refactor SHADOW.C tyre tracks 2020-10-18 19:54:11 +06:00
Ilya Shurumov
26005b2991 - disable Driver 1 sinking code as it is a garbage 2020-10-18 13:03:18 +06:00
Ilya Shurumov
33af974844 - allow zooming for non-tracking camera in director
- use unused value in PLAYBACKCAMERA to store camera zoom
2020-10-18 13:02:57 +06:00
Ilya Shurumov
7391945dff - optimize shadow code
- fix tyre tracks and refactoring progress on SHADOW.C
2020-10-18 13:02:04 +06:00
Ilya Shurumov
db16e48ce8 - fix exhaust smoke 2020-10-18 12:59:54 +06:00
Ilya Shurumov
283b70b6d4 - better car smoke handling, fix fire
- fix shadow not appearing on flipped cars
2020-10-18 02:25:47 +06:00
Ilya Shurumov
b27fe96722 - car shadow code that doesn't suck 2020-10-18 02:07:31 +06:00
Ilya Shurumov
e6deb877e1 - fix tunnel sky fade in rio 2020-10-18 01:00:27 +06:00
Ilya Shurumov
3599bb8480 - EVENT.C refactoring progress
- add rotation argument to RenderModel
2020-10-18 00:48:38 +06:00
Ilya Shurumov
c181c664fa - fix pedestrians unexpectedly crossing roads 2020-10-17 22:12:56 +06:00
Ilya Shurumov
0487c7aad2 - refactor SKY.C 2020-10-17 21:12:10 +06:00
Ilya Shurumov
3863f8efe2 - utilize cbr var in CollisionCopList 2020-10-17 17:01:30 +06:00
Ilya Shurumov
94026b61ae - remove CIV_STATE_SET_CONFUSED macro calls if before InitCar in PingInCivCar 2020-10-17 16:49:04 +06:00
Ilya Shurumov
a0511e6c6e - refactor OBJCOLL.C 2020-10-17 16:48:32 +06:00
Ilya Shurumov
3c09c374eb - use bigger list to ensure memory safety
- remove debug info
2020-10-17 15:52:29 +06:00
Ilya Shurumov
5985ee7f95 - optimize memory usage on cell object pointers 2020-10-17 15:48:21 +06:00
Ilya Shurumov
f5ca7b325a - allow engine to draw 320 tiles by using previously unused memory 2020-10-17 15:27:44 +06:00
Ilya Shurumov
fc0f4791f1 - DEBRIS.C refactoring progress 2020-10-17 13:26:57 +06:00
Ilya Shurumov
4162325ec5 - zero camera offset in cutscenes
- flip some conditions
2020-10-17 13:00:28 +06:00
Ilya Shurumov
0f54517d69 - add replay limits to DR2LIMITS.H
- add StorePingInfo function
- clean some FELONY.C code
2020-10-17 12:45:09 +06:00
Ilya Shurumov
28084e6bc1 - fix felony not increasing/decreasing over time bug
- use felony constants
2020-10-17 12:03:08 +06:00
Ilya Shurumov
a7d231c2a1 - reset gCameraMaxDistance and gCameraOffset after cutscene 2020-10-17 11:44:43 +06:00
Ilya Shurumov
4bbeb2273a - rename CameraPos to gCameraOffset 2020-10-17 11:44:17 +06:00
Ilya Shurumov
486cede1d4 - pretty some mission code 2020-10-17 02:04:06 +06:00
Ilya Shurumov
4e37e32e41 - simplify some camera code 2020-10-17 02:03:46 +06:00
Ilya Shurumov
c5305f5462 - fix director UI, allow saving replay 2020-10-17 02:02:53 +06:00