Commit Graph

1407 Commits

Author SHA1 Message Date
Ilya Shurumov
498107312d - refactor WunCell, InvalidateMap, BloodyHell and fix pathfinding map generation bugs 2020-10-23 02:24:10 +06:00
Ilya Shurumov
b8419e6f9d - CellEmpty hack for super-thin walls 2020-10-23 02:22:38 +06:00
Ilya Shurumov
80ae15bc13 - attempt to use CellAtPositionEmpty instead of lineClear in PATHFIND.C 2020-10-22 02:53:13 +06:00
Ilya Shurumov
cbd77a3cf1 - fix cops getting stuck along the wall 2020-10-22 02:52:41 +06:00
Ilya Shurumov
05b6548a58 - fix compile error
- fix crash related to config
2020-10-22 02:51:19 +06:00
Ilya Shurumov
25c74feac7 - car lod switch distance now dynamic with zoom 2020-10-21 14:41:04 +06:00
Ilya Shurumov
c3e06f7f82 - do not reset ping buffer when going to quick replay/director 2020-10-21 13:30:50 +06:00
Ilya Shurumov
daea299659 - remove pointless operation xD 2020-10-21 12:10:39 +06:00
Ilya Shurumov
d5963e26d5 - fix free camera for Release build 2020-10-21 12:08:13 +06:00
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
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
e64b297ba1 - proper depth enable/disable
- fog test in shader
2020-10-19 20:23:47 +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
149f26dfe9 - correct perspective
- disable depth write when transparency enabled
2020-10-18 22:19:32 +06:00
Ilya Shurumov
305f9d23c8 Merge branch 'develop-SoapyMan' into pgxpz 2020-10-18 22:19:02 +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
Ilya Shurumov
6181b8c1de - fix -playercar and -players command line
- fix camera distance not being reset
2020-10-17 01:25:38 +06:00
Ilya Shurumov
22e09c80f7 - refactor DIRECTOR.C 2020-10-17 00:51:37 +06:00
Ilya Shurumov
0faea02c75 - allow camera distance and offset 2020-10-17 00:47:03 +06:00
Ilya Shurumov
46810ca811 - fix replay saving and loading bugs 2020-10-17 00:30:22 +06:00
Ilya
53dd370fc9
Merge pull request #39 from SoapyMan/develop-SoapyMan
Develop soapy man
2020-10-15 00:22:54 +06:00
Ilya Shurumov
f16bd6b1bc - fix pinging in Civ Cars on curves bug 2020-10-14 22:30:32 +06:00
Ilya Shurumov
2ca37034d7 - break up _TARGET fields with unions 2020-10-14 21:53:17 +06:00
Ilya Shurumov
88be7441f5 - print addresses in mission script dump 2020-10-14 18:15:58 +06:00
Ilya Shurumov
36ccbdbe33 - mission script dumper prototype 2020-10-14 17:01:43 +06:00
Ilya Shurumov
788f686080 Merge branch 'linux' of https://github.com/andre-vm/REDRIVER2 into andre-vm-linux 2020-10-14 11:13:49 +06:00
Ilya Shurumov
f7e6b703b1 - bump version to 2.5 2020-10-14 01:00:52 +06:00
Ilya Shurumov
22f5bb3fc6 - check SCORES.C 2020-10-14 00:53:26 +06:00
Ilya Shurumov
da44ee75c7 - refactor REPLAYS.C 2020-10-14 00:43:20 +06:00
Ilya Shurumov
b357ad4b95 - refactor PRES.C 2020-10-14 00:24:56 +06:00
Ilya Shurumov
93678a9a5e - fix road block car touching 2020-10-13 22:49:49 +06:00
Ilya Shurumov
5ee58b06a2 - fix Tanner turn animation 2020-10-13 22:49:21 +06:00
Ilya Shurumov
25d8b897a8 - refactor COP_AI.C 2020-10-13 22:48:51 +06:00
Ilya Shurumov
348ece8294 - [EMU] PSX-correct ApplyRotMatrixLV 2020-10-12 22:53:58 +06:00
Ilya Shurumov
ff8ab8575f - refactor DRAW.C 2020-10-12 22:53:30 +06:00
Ilya Shurumov
95c99842a7 - DRAW.C refactoring progress 2020-10-12 01:58:53 +06:00
Ilya Shurumov
ee8c87c10c - [EMU] add real GTE operations to ApplyMatrix* 2020-10-12 01:58:33 +06:00
Ilya Shurumov
f5b7960582 - update AI.C 2020-10-11 22:14:45 +06:00
Ilya Shurumov
c01bfb24cb - refactor MAIN.C 2020-10-11 22:14:26 +06:00
Ilya Shurumov
8a311ac9e0 - refactor PLAYERS.C 2020-10-11 20:02:13 +06:00
Ilya Shurumov
f16edd31c9 - complete refactoring PEDEST.C 2020-10-11 19:38:07 +06:00
Ilya Shurumov
554decc991 - PEDEST.C refactoring progress 2020-10-11 16:19:12 +06:00
Ilya Shurumov
db15e79765 - fix incomplete road blocks 2020-10-11 14:54:13 +06:00
Ilya Shurumov
8a7b5bb274 - fix main() - Release build 2020-10-11 02:10:50 +06:00
Ilya Shurumov
ad1de1c108 - car lod distance improve 2020-10-11 02:09:34 +06:00
André Vicente Milack
05781c88b1 Fix savefile path for Linux 2020-10-10 15:03:53 -03:00
Ilya Shurumov
d1266bdfbc - chase selection from debug menu 2020-10-10 02:13:49 +06:00
Ilya Shurumov
3e14d7ab35 - civ AI don't honk to tailed cars 2020-10-10 02:13:31 +06:00
Ilya Shurumov
95b0583d2c - fix XA subtitles pause handling 2020-10-09 23:00:39 +06:00
Ilya Shurumov
a3f81aed0e - implement XA subtitles inside WAV files 2020-10-09 22:12:14 +06:00
Ilya Shurumov
aa00e8e050 - hardcoded fix for vegas limo cosmetics
- remove dummyCosmetics
2020-10-09 18:13:44 +06:00
Ilya Shurumov
f7d791aefb - fix midget and overly fat pedestrians 2020-10-09 15:45:24 +06:00
Ilya Shurumov
c1189801cf - fix crash in initOBox due to pinged out car
- confused debug message only in debug build
2020-10-09 15:25:28 +06:00
Ilya Shurumov
abfe25c9d9 - fix & improve CellEmpty bugs (cops in tunnels) 2020-10-09 14:43:22 +06:00
Ilya Shurumov
f03ac0459f - fix CIV AI node debug drawing 2020-10-09 11:09:28 +06:00
Ilya Shurumov
ce7139b94c - fix cutscene pedestrians getting stuck 2020-10-09 00:18:59 +06:00
Ilya Shurumov
3ca59a4489 - LoadCurrentProfile to clear screen 2020-10-09 00:18:33 +06:00
Ilya Shurumov
ca181c1661 - fix CIV AI bug
- fix collision code mistake
2020-10-09 00:18:14 +06:00
Ilya Shurumov
41704621a8 - load custom cutscenes/chases to separate buffer 2020-10-08 21:25:40 +06:00
Ilya Shurumov
a1b33f2f28 - fix civ AI bugs seen in Havana docks 2020-10-08 19:00:41 +06:00
Ilya Shurumov
d9ea1e1054 - fix follow camera jerking 2020-10-08 17:19:05 +06:00
Ilya Shurumov
e5e7953276 - fixed most of GetNextRoadInfo bugs 2020-10-08 17:09:38 +06:00
André Vicente Milack
ae85ecad2f Merge commit '1fc045ca0bc7154da905042f5acef0b7121d0507' into linux 2020-10-07 23:42:55 -03:00
Ilya Shurumov
b6820f7b08 - add -startpos command line parameter 2020-10-07 21:17:03 +06:00
Ilya Shurumov
b7f7363f79 - bomberman refactoring update 2020-10-07 20:54:48 +06:00
Ilya Shurumov
7d3a4083e6 - fix PlaceCameraFollowCar losing angular pricision on very close distances 2020-10-07 20:46:08 +06:00
Ilya Shurumov
689bd5f156 - fix up pause strings 2020-10-07 15:11:58 +06:00
Ilya Shurumov
7dd07e2b8c - fix up mission names 2020-10-07 15:11:47 +06:00
Ilya Shurumov
34b1d981cb - bump version
- little fixes to DoMissionSound
2020-10-06 23:21:38 +06:00
Ilya Shurumov
ca63407d31 - complete MISSION.C refactoring 2020-10-06 22:53:38 +06:00
Ilya Shurumov
745bee96fe - fix SetMissionFailed bug
- refactor most of MRProcessTarget
2020-10-06 21:46:28 +06:00
Ilya Shurumov
e56f9c2e13 Merge branch 'develop-SoapyMan' of https://github.com/SoapyMan/REDRIVER2 into develop-SoapyMan 2020-10-06 20:30:39 +06:00
Ilya Shurumov
07962f6ed4 - MRProcessTarget refactoring progress 2020-10-06 15:52:17 +06:00
Ilya Shurumov
434be784dc - change from aspect to identity matrix due to no widescreen fix is needed 2020-10-06 02:02:41 +06:00
Ilya Shurumov
89bb6dd3ec - MISSION.C almost refactored 2020-10-06 01:54:50 +06:00
Ilya Shurumov
3c3edb4917 - fix mistake in CreateStationaryCivCar 2020-10-06 00:42:49 +06:00
Ilya Shurumov
515821f023 - mini cars cheat is back 2020-10-06 00:42:38 +06:00
Ilya Shurumov
745495afe1 - adding cutscene/chase recorder to developer version 2020-10-06 00:42:09 +06:00
Ilya Shurumov
55a2a6064f - little refactorings 2020-10-05 23:03:39 +06:00
Ilya Shurumov
ca4f93b58c - proper save of replays for cutscenes
- added padCount to REPLAY_STREAM
2020-10-05 21:26:22 +06:00
Ilya Shurumov
aac0fa49b6 - attempts to fix civ AI one more time 2020-10-05 00:20:09 +06:00
Ilya Shurumov
476459f2e5 - cutscene recorder improvements 2020-10-05 00:19:53 +06:00
Ilya Shurumov
e1f87cca96 - cutscene names in english
- refactor CheatScreen
- bonus gallery support
2020-10-04 21:18:08 +06:00
Ilya Shurumov
a9f17ce443 - fix MRProcessTarget not allowing to complete mission 2020-10-04 21:17:21 +06:00
Ilya Shurumov
cfbbb9efb7 - auto-save only if story mission complete 2020-10-04 17:56:24 +06:00
Ilya Shurumov
a64afdb5ec - GetNextRoadInfo better lane fitting 2020-10-04 17:55:53 +06:00
Ilya Shurumov
0cf4fcbf62 - refactor GetNextRoadInfo (final) 2020-10-04 16:03:14 +06:00
André Vicente Milack
8d07f2af22 Fix file loading for unix based systems 2020-10-03 18:28:04 -03:00
Ilya Shurumov
6762d5f66c - refactoring GetNextRoadInfo (round two) 2020-10-04 02:51:55 +06:00
André Vicente Milack
eeefdfb146 Fix formatting bug on MALLOC_END 2020-10-03 17:14:46 -03:00
André Vicente Milack
94c066e445 Add 32-bit options to linux makefile 2020-10-03 17:12:31 -03:00
Ilya Shurumov
93576d21ab - fix ControlCopDetection messing up civ state 2020-10-04 01:47:19 +06:00
Ilya Shurumov
75942cd37e - refactor GetNextRoadInfo (first round) 2020-10-03 22:42:11 +06:00
Ilya Shurumov
ce63a76190 - compilation fix 2020-10-03 22:21:35 +06:00
Ilya Shurumov
a2cb57bee6 - reduce bounce force if one of cars has infinite mass 2020-10-02 16:19:51 +06:00
Ilya Shurumov
f5d3654ef3 - revert change in DoScenaryCollisions 2020-10-02 15:51:54 +06:00
Ilya Shurumov
df9526e2e1 - fix LoadInAreaTSets 2020-10-02 15:36:03 +06:00
Ilya Shurumov
36fe41e443 Merge branch 'develop-SoapyMan' of https://github.com/SoapyMan/REDRIVER2 into develop-SoapyMan 2020-10-02 14:46:21 +06:00
Ilya Shurumov
9a5a7bdce9 - attempt to remove goto in LoadInAreaTSets 2020-10-02 14:44:51 +06:00
Ilya Shurumov
225249ca00 - prototype PSX project generation option for premake 2020-10-01 23:15:33 +06:00
Ilya Shurumov
aacedad847 - more collision fixes 2020-10-01 22:30:44 +06:00
Ilya Shurumov
0330948979 - little collision fixes 2020-10-01 19:28:19 +06:00
Ilya Shurumov
12689754e3 - adding -chase command line parameter 2020-10-01 19:01:59 +06:00
Ilya Shurumov
0f30aa3c64 - more code reduction 2020-10-01 00:34:59 +06:00
Ilya Shurumov
ebce60cba6 - significantly reduce code with use of GetSurfaceRoadInfo
- refactoring progress on GetNextRoadInfo
2020-10-01 00:20:03 +06:00
Ilya Shurumov
b24df3aae9 - made GetSurfaceRoadInfo for sharing road properties 2020-10-01 00:03:26 +06:00
Ilya Shurumov
50b5652529 - fix nasty crash 2020-09-30 21:42:04 +06:00
Ilya Shurumov
4488e0e6df Merge branch 'develop-SoapyMan' of https://github.com/SoapyMan/REDRIVER2 into develop-SoapyMan 2020-09-30 21:30:57 +06:00
Ilya Shurumov
c25c1cee93 - bit of refactoring AddTunnels 2020-09-30 21:12:08 +06:00
Ilya Shurumov
37b88bea38 - GetNextRoadInfo refactoring progress 2020-09-30 21:11:51 +06:00
Ilya Shurumov
0ab6c43413 - adjusting premake5.lua for future build for PSX 2020-09-30 11:09:06 +06:00
Ilya Shurumov
8936f22569 - [EMU] added RAND.H which includes stdlib for rand
- removed all non-PSX header includes
2020-09-30 11:05:35 +06:00
Ilya Shurumov
1e9655c662 Merge branch 'andre-vm-linux' into develop-SoapyMan 2020-09-30 10:56:31 +06:00
André Vicente Milack
05d47d6388 Make changes suggested in PR review
- Fix suggested settings on premake5.lua
- Fix SDL2 includes
- Fix typo on STRINGS.H include from PSY-Q
- Remove inserted _WINDOWS
- Move platform-related macro declarations to GAME/PLATFORM.H
2020-09-30 01:22:08 -03:00
Ilya Shurumov
41598b1957 - GetNextRoadInfo untangling progress 2020-09-30 01:36:23 +06:00
Ilya Shurumov
626637a9bc Merge branch 'develop-SoapyMan' of https://github.com/SoapyMan/REDRIVER2 into develop-SoapyMan 2020-09-30 00:53:16 +06:00
Ilya Shurumov
014903b543 - fix change lanes bug
- GetNextRoadInfo untangling progress
2020-09-30 00:52:05 +06:00
Ilya Shurumov
5931b63cf0 - fix CIV AI lane change indicators 2020-09-29 22:50:23 +06:00
André Vicente Milack
b24dd1bde4 Merge https://github.com/SoapyMan/REDRIVER2 into linux 2020-09-29 12:51:45 -03:00
Ilya Shurumov
f36e1a4dd8 - fix Tanner vs Car collisions
- remove some warnings
2020-09-29 20:00:01 +06:00
Ilya Shurumov
67c654cb90 - check TEXTURE.C, made C-style 2020-09-29 13:51:50 +06:00
Ilya Shurumov
6560911152 - fix SquareRoot0 table error 2020-09-28 21:18:21 +06:00
Ilya Shurumov
c797398305 - show message on screen when game is being saved
- simplify FindPrevMissionFromLadderPos
2020-09-28 17:58:19 +06:00
Ilya Shurumov
fea509cb56 - fix PingOutAllCivCarsAndCopCars refactoring-caused bug 2020-09-28 17:57:39 +06:00
Ilya Shurumov
e8056ba84f - apply cone rotation for trailblazer & gates 2020-09-28 14:58:59 +06:00
Ilya Shurumov
1943b49d29 - fix saved game loading 2020-09-28 14:58:40 +06:00
Ilya Shurumov
c5b4d87e17 - [EMU] add gte_SetGeomOffset
- completely remove ghidra macros
2020-09-27 19:51:35 +06:00
Ilya Shurumov
a63d9b27e7 - complete CreateRoadblock refactoring 2020-09-27 16:09:11 +06:00
Ilya Shurumov
8e2af39cd0 - fix roadblocks appearing under bridges 2020-09-27 15:28:21 +06:00
Ilya Shurumov
0aea3ef7e4 - more changes of controlType operations to use new car enums 2020-09-27 15:28:07 +06:00
Ilya Shurumov
8dec1bdf39 - change all controlType operations to use new car enums 2020-09-27 15:03:11 +06:00
Ilya Shurumov
26aea36f56 - added car control type and flag enums 2020-09-27 14:53:03 +06:00
André Vicente Milack
946607413f Allow the project to be compiled on Linux 2020-09-26 20:31:08 -03:00
Ilya Shurumov
7f84e34c66 - CreateRoadBlock refactoring progress 2020-09-27 02:55:16 +06:00
Ilya Shurumov
f54fc550d9 - make roadblocks by button press 2020-09-27 02:03:04 +06:00
Ilya Shurumov
4a1e1bec0f - improve cutscene skipping 2020-09-27 00:29:09 +06:00
Ilya Shurumov
df42d352f2 - allow skipping cutscenes (debug for now) 2020-09-27 00:20:22 +06:00
Ilya Shurumov
8293e74b94 - command line option to disable FMVs 2020-09-27 00:19:41 +06:00
Ilya Shurumov
d5f93d0f0f - refactor CheckChangeLanes 2020-09-26 23:01:00 +06:00
Ilya Shurumov
6ebbd1e126 - pause menu items improved 2020-09-26 22:37:50 +06:00
Ilya Shurumov
205f7966dc - remove duplicate gMissionCompletionState var
- faster version of CalcObjectRotationMatrices
2020-09-26 21:02:41 +06:00
Ilya Shurumov
423b27eff2 - fix ancient error in CivAccel (and occasonally add new one but it's now not seen lmao) 2020-09-26 20:15:33 +06:00
Ilya Shurumov
cd7d681f17 - refactor CivFindStation 2020-09-26 19:42:03 +06:00
Ilya Shurumov
a2ffce47f5 - refactor CivSteerAngle 2020-09-26 18:15:23 +06:00
Ilya Shurumov
2aa2837deb - lazy collision checks for dead cop cars instead of full 2020-09-26 18:02:14 +06:00
Ilya Shurumov
834c717070 - fix SetUpCivCollFlags refactoring error 2020-09-26 17:43:36 +06:00
Ilya Shurumov
496bf6683b - refactor SetUpCivCollFlags 2020-09-26 13:46:25 +06:00
Ilya Shurumov
1bd2a83a21 - refactor CivAccelTrafficRules & CivAccel 2020-09-26 12:02:40 +06:00
Ilya Shurumov
db907ec6cb - fix InitOverheadMap loading wrong tiles 2020-09-26 01:56:59 +06:00
Ilya Shurumov
19d3d161b3 - refactor PingInCivCar, cleanup of duplicate, reduce cycles, resolve some inlines
- civs react to chased cars
2020-09-26 01:25:07 +06:00
Ilya Shurumov
3dbf31ea31 - fix error in ROAD_IS_PARKING_ALLOWED_AT macro 2020-09-26 01:23:58 +06:00
Ilya Shurumov
e6f8ed8292 - [EMU] add branchless abs, min, max (further to be used on PSX) 2020-09-25 22:03:12 +06:00
Ilya Shurumov
e4414766de - fix refactoring bug in bFindCollisionTime 2020-09-25 22:02:32 +06:00
Ilya Shurumov
5e484ac414 - [EMU] tune reverb settings 2020-09-25 19:50:15 +06:00
Ilya Shurumov
63618c6715 - fix flag bug in SetReverbInGameState 2020-09-25 19:44:02 +06:00
Ilya Shurumov
b059c97d44 - [EMU] [SPU-AL] reverberation support (very basic, one effect)
- fix debug view crash in CivControl
2020-09-25 12:21:00 +06:00
Ilya Shurumov
13fb2fe940 - fix bug in CarBuildingCollision 2020-09-25 02:00:15 +06:00
Ilya Shurumov
e2a10e6680 - refactor CreateNewNode
- add macro ROAD_IS_PARKING_ALLOWED_AT and rename some other macros
2020-09-25 01:51:00 +06:00
Ilya Shurumov
3ef123a9b5 - refactor InitNodeList, CivFindPointOnPath 2020-09-24 00:58:41 +06:00
Ilya Shurumov
849812a2a7 Merge branch 'develop-SoapyMan' of https://github.com/SoapyMan/REDRIVER2 into develop-SoapyMan 2020-09-23 23:42:12 +06:00
Ilya Shurumov
a74b2ba68e - refactoring progress on CIV_AI.C 2020-09-23 23:39:04 +06:00
Ilya Shurumov
8b445492df - [EMU] fix gouraud-shaded line drawing colors 2020-09-23 15:28:31 +06:00
Ilya Shurumov
3b2621adff - CIV_AI.C refactoring progress 2020-09-23 01:23:57 +06:00
Ilya Shurumov
90b3df1c40 - little optimization for GlobalTimeStep 2020-09-23 01:05:37 +06:00
Ilya Shurumov
df3dd3cb32 - fix bug in bFindCollisionTime 2020-09-23 01:05:26 +06:00
Ilya Shurumov
d5b1681587 - FMV height and subtitle tuning 2020-09-22 23:30:56 +06:00
Ilya Shurumov
896a6d45e5 - more proper macros for dealing with roads
- fix error in CheckPlayerMiscFelonies
2020-09-22 23:30:31 +06:00
Ilya Shurumov
87b02f8cac - touch up on refactored stuff 2020-09-22 23:07:09 +06:00
Ilya Shurumov
481856c02a - fix DealWithHorn
- disable ReadAVI verbosity
2020-09-22 02:31:50 +06:00
Ilya Shurumov
7aa67b0073 - refactor FELONY.C 2020-09-22 02:31:12 +06:00
Ilya Shurumov
051e820f18 - roads helper macros 2020-09-22 02:31:02 +06:00
Ilya Shurumov
6a9eae544d - fix NotTravellingAlongCurve 2020-09-22 02:30:14 +06:00
Ilya Shurumov
0f1594b023 - fix PleaseWait message not drawing 2020-09-21 15:53:40 +06:00
Ilya Shurumov
b74a79ec37 - FMV texture clamp
- fix aspect and centering issue
2020-09-21 14:47:07 +06:00
Ilya Shurumov
3f8f119108 - fix FMV frame skipping if window being dragged 2020-09-21 14:29:04 +06:00
Ilya Shurumov
fd0de7f0a3 - FMV subtitles and recap 2020-09-21 12:46:42 +06:00
Ilya Shurumov
9f4352a3fa - fix crash if XA WAV file not found 2020-09-21 12:46:25 +06:00
Ilya Shurumov
0200289641 - disable ReadAVI exceptions 2020-09-21 02:31:06 +06:00
Ilya Shurumov
c64f283d1b - FMV sound fadeout when button pressed 2020-09-21 02:07:03 +06:00
Ilya Shurumov
c785dc7f33 - better FMV frame syncing 2020-09-21 02:01:00 +06:00
Ilya Shurumov
a6deaff1c0 - FMV player with bits of hardware acceleration 2020-09-21 01:51:46 +06:00
Ilya Shurumov
20d1a3738f - AVI (MJPEG) video player prototype for FMV 2020-09-21 00:21:36 +06:00
Ilya Shurumov
4e1af5f216 - remove unneeded files 2020-09-20 20:36:11 +06:00
Ilya Shurumov
758bb77dce - update premake5.lua 2020-09-20 19:55:46 +06:00
Ilya Shurumov
ddab3074c5 - zero flags in DrawTILES 2020-09-20 17:25:43 +06:00
Ilya Shurumov
1510d8a358 - fix XA timeout 2020-09-20 17:25:20 +06:00
Ilya Shurumov
a0aaee48b4 - PC XA unpause bug fix (rewinding after cutscene) 2020-09-20 17:02:43 +06:00
Ilya Shurumov
d445f4d4ea - disable XA looping 2020-09-20 16:28:17 +06:00
Ilya Shurumov
253111fc51 - XA playback support for PC 2020-09-20 16:26:27 +06:00
Ilya Shurumov
53296464d3 - try messing with CheckPlayerMiscFelonies
- try fix CreateCivCarWotDrivesABitThenStops
2020-09-20 15:04:52 +06:00
Ilya Shurumov
960500c345 - fix some triangles not rendered with PlotBuildingModelSubdivNxN and eliminate garbage on screen (Caine's Compound barrel caps) 2020-09-20 12:21:26 +06:00
Ilya Shurumov
e4de1f5d8e - FELONY.C refactoring progress 2020-09-20 02:10:41 +06:00
Ilya Shurumov
e1659159bd - proper drawing of ferris wheel by fixing PlotBuildingModelSubdivNxN and drawMesh 2020-09-20 01:39:32 +06:00
Ilya Shurumov
6ece6d9cbd - refactor remains of E3STUFF.C 2020-09-20 00:42:09 +06:00
Ilya Shurumov
a3174e4e41 - apply some constants for DENTING.C and COSMETIC.C 2020-09-20 00:41:47 +06:00
Ilya Shurumov
0bb91214d0 - fixed silent Jericho 2020-09-20 00:21:15 +06:00
Ilya Shurumov
fdaf56425a - bump version to 1.0
- note for ProcessSubDivisionLump
2020-09-19 16:53:32 +06:00
Ilya Shurumov
3f76c9a559 - implement RequestXA, HandleRequestedXA 2020-09-19 16:53:07 +06:00
Ilya Shurumov
aeef28f8d9 - fix PlotBuildingModelSubdivNxN sometimes not subdividing 2020-09-19 16:41:20 +06:00
Ilya Shurumov
9946c7a2de - refactored StepOneCar and fixed frictionLimit declaration 2020-09-19 13:55:36 +06:00
Ilya Shurumov
d2b01837dd - hubcaps falling off from chased cars
- implement HandlePlayerHubcaps
2020-09-19 12:26:50 +06:00
Ilya Shurumov
80d9660bb7 - change FindPointOfCollision declaration and fix crash 2020-09-19 03:06:17 +06:00
Ilya Shurumov
c6944adb3f - fix AddWheelForcesDriver1 reversing mistake 2020-09-19 02:53:53 +06:00
Ilya Shurumov
f85b1f80bd - [EMU] correct ratan2 and matrix operations 2020-09-19 02:15:08 +06:00
Ilya Shurumov
3814bf422a - refactored HANDLING.C 2020-09-19 02:14:38 +06:00
Ilya Shurumov
dc98908c83 - more refactoring progress of HANDLING.C
- add ABS.H to DR2MATH.H
2020-09-19 00:27:05 +06:00