Commit Graph

2185 Commits

Author SHA1 Message Date
erorcun
8b9e9a07a0 Fix peds running to see dead peds in water 2020-12-27 17:05:37 +03:00
erorcun
0b59eeb2bf Fix default mouse invert setting, vert. mouse sensitivity, set aspect ratio auto as default 2020-12-27 05:59:51 +03:00
erorcun
36e64dbd22 signed/unsigned fixes, and some other fixes 2020-12-27 05:23:37 +03:00
aap
c5010d443c fix a struct init 2020-12-26 15:41:57 +01:00
aap
075650b9f3 ffs 2020-12-26 15:22:23 +01:00
aap
7cdec23ef2 include case 2020-12-26 15:19:27 +01:00
aap
b21ca72c8b make screendrops independent of neo.txd; enable new rendering by default 2020-12-26 14:48:47 +01:00
Sergeanur
d459ef8820 Weapon flags changed from bit fields to bit mask (R* vision) 2020-12-26 14:21:45 +02:00
aap
612470cb3f unfix particle bug 2020-12-26 11:43:43 +01:00
Sergeanur
2b96be0418 cVehicleParams ctor 2020-12-25 20:22:43 +02:00
Sergeanur
7a7061ea92 Use intensity in ProcessBoatEngine 2020-12-25 20:00:12 +02:00
Sergeanur
03c3eeb937 cAudioManager::ProcessBoatEngine fixes 2020-12-25 19:57:09 +02:00
Sergeanur
b8bf3cb790 cPedParams fixes 2020-12-25 17:39:49 +02:00
Sergeanur
b12eef1d56 Fix use of strncmp 2020-12-25 15:18:13 +02:00
Sergeanur
687ff4bdbb Fix debug menu memory leak 2020-12-25 10:57:19 +02:00
Sergeanur
6d75374c41 Fix cAudioManager::ProcessSpecial 2020-12-25 09:06:49 +02:00
Sergeanur
de31bdc89f Small type use fixes 2020-12-25 08:59:32 +02:00
erorcun
f9cbe29c50
Merge pull request #886 from erorcun/master
Radio scroll to prev. station & radio off text
2020-12-24 20:47:26 +03:00
Nikolay Korolev
8cc3f867a6 fixed double explosion 2020-12-24 17:44:59 +03:00
Nikolay
c995bdcdaf
Merge pull request #893 from Nick007J/master
Collective implementation in script
2020-12-24 17:22:28 +03:00
aap
70a279febc make screen droplets not crash without neo.txd 2020-12-24 09:41:35 +01:00
aap
40b90618ef Merge branch 'master' of github.com:GTAmodding/re3 2020-12-21 20:48:48 +01:00
aap
309a4613a4 option for PC controls 2020-12-21 20:48:40 +01:00
shfil
752fc0381a
Fix character encoding 2020-12-21 14:51:47 +01:00
aap
1d7bdce0ef fix sizeof 2020-12-21 13:33:54 +01:00
aap
e696d770be botched last commit 2020-12-21 12:38:02 +01:00
aap
934c967825 core/FileLoader.cpp 2020-12-21 12:35:06 +01:00
erorcun
6b33765891 Car entering cancel test 2020-12-21 02:44:12 +03:00
aap
43b4c8dd33 some more little ps2 fixes 2020-12-20 19:13:58 +01:00
aap
84a9ca0524 Merge branch 'master' of github.com:GTAmodding/re3 2020-12-20 17:35:59 +01:00
aap
bfb749d842 ps2 fixes 2020-12-20 17:35:37 +01:00
erorcun
9e1e5d200a disabled PS2_HUD by default 2020-12-20 18:16:56 +03:00
Nikolay Korolev
dcb28bfd53 fix 2020-12-20 17:12:34 +03:00
Nikolay Korolev
db012aa9e0 Merge remote-tracking branch 'upstream/master' 2020-12-20 17:08:21 +03:00
Nikolay Korolev
fc72ff24d0 implemented collectives in script 2020-12-20 17:07:58 +03:00
aap
30c8f870eb little ps2 fixes 2020-12-20 14:28:09 +01:00
Sergeanur
affd3c6baa buildings directory 2020-12-20 12:39:44 +02:00
erorcun
ae7cb92437 fixes to last HUD commits 2020-12-20 05:49:55 +03:00
Fire-Head
0bea6d039b Merge branch 'master' of https://github.com/GTAmodding/re3 2020-12-19 22:33:17 +03:00
Fire-Head
4d4758bc1e scaling 2020-12-19 22:31:54 +03:00
Fire-Head
140fa2a21c restore original code, fixes, ps2 font 2020-12-19 21:25:45 +03:00
erorcun
4c46d24983
style change 2020-12-19 20:39:42 +03:00
aap
df5bafc80c anim fixes 2020-12-18 23:47:38 +01:00
aap
a080fbfbd4 little cleanup of templates 2020-12-18 13:58:59 +01:00
Sergeanur
e9a5670348 PlayerInfo functions reordered into original order, FindPlayer... functions moved to PlayerInfo, improved CVector <-> RwV3d conversion, small fixes 2020-12-18 02:57:54 +02:00
aap
cc5af26417 PreAllocateRwObjects 2020-12-17 12:47:00 +01:00
erorcun
dd579c4080 Fix 2020-12-17 02:47:48 +03:00
Sergeanur
9a9b1e7574 Fix placement of some script functions 2020-12-16 23:28:06 +02:00
erorcun
8e45439205 Use scrolling if GRAPHICS_MENU_OPTIONS not defined, like miami 2020-12-16 23:45:18 +03:00
aap
7d89e955fe ;end of fucking waterlevel 2020-12-16 13:38:09 +01:00
aap
c42463bf4e more tidy water sync 2020-12-16 13:32:13 +01:00
aap
c4c92c357f tidy water sync 2020-12-16 13:25:23 +01:00
erorcun
23b5e664dc Sync Frontend with miami 3/3 2020-12-16 00:38:26 +03:00
Walied K. Yassen
55414f7ef2
Few bug fixes in CAutomobile 2020-12-15 18:05:37 +02:00
erorcun
b834d92585 radio scroll fix 2020-12-15 18:37:21 +03:00
erorcun
cac7516d39 Merge branch 'master' of https://github.com/GTAmodding/re3 2020-12-15 17:55:33 +03:00
erorcun
64b509af52 Make free cam collision code readable by aap, fixes 2020-12-15 17:49:43 +03:00
erorcun
970f84514a Merge branch 'master' of https://github.com/GTAmodding/re3 2020-12-15 17:45:06 +03:00
aap
6d3adf57e8 fixed water.dat code 2020-12-15 14:36:30 +01:00
aap
e594f1d81d
Merge pull request #883 from withmorten/waterlevel
add dev build code for generating waterpro.dat
2020-12-15 11:43:29 +01:00
Sergeanur
f76dfaee82 Use SetPedState 2020-12-15 05:11:02 +02:00
erorcun
984b8efccc Radio scroll to prev. station & radio off text 2020-12-15 05:51:53 +03:00
withmorten
7be7845db0 add dev build code for generating waterpro.dat 2020-12-15 00:05:02 +01:00
shfil
3b8ac474a2
Implement COMMAND_IS_CAR_PASSENGER_SEAT_FREE
Fixes 881
2020-12-14 15:33:16 +01:00
Seemann
0563478de0 Fix some formatting issues 2020-12-14 11:18:46 +02:00
Sergeanur
f42a01f653 CPed::SetWeaponLockOnTarget 2020-12-14 09:47:07 +02:00
erorcun
c0652b8203 Merge branch 'master' of https://github.com/GTAmodding/re3 2020-12-14 02:52:14 +03:00
erorcun
0448ae662f Fix language initialization call order 2020-12-14 02:50:34 +03:00
aap
9be5bfe75b sync vis-plugins with miami 2020-12-13 12:58:15 +01:00
Nikolay Korolev
8fb461b873 removed obsolete ifdef (since we have GTA_REPLAY) 2020-12-13 00:20:44 +03:00
Nikolay Korolev
f5330990b1 Merge remote-tracking branch 'upstream/master' 2020-12-12 23:05:47 +03:00
Nikolay Korolev
01c95378e1 fixed some replay bugs 2020-12-12 23:05:12 +03:00
erorcun
347e1da364 Merge branch 'master' of https://github.com/GTAmodding/re3 2020-12-12 20:37:12 +03:00
erorcun
c74f03b180 Kill obj. fix & style change 2020-12-12 20:36:58 +03:00
Nikolay Korolev
82c40b73ca fixed a bug 2020-12-12 20:35:17 +03:00
erorcun
3038fba9ca Sync Frontend, Peds with miami 2 2020-12-12 18:20:21 +03:00
erorcun
fc3cdf3b3b Sync Frontend with miami 1 2020-12-09 21:43:58 +03:00
erorcun
1caf5d087a Sync Stats page style with miami - and a little veh. cam. fix 2020-12-09 15:39:14 +03:00
erorcun
33e1f28239 Vehicle cam fixes
- @ZLau92 's idea to remove 3rd person check on num 2/8.
  It was meaningless on III, probably not on VC tho.
- @Nick007J pointed out that camera wasn't checking objects,
  which was something done by someone to prevent camera to
  collide with traffic lights. Instead I enabled object check again,
  and comparing the result if it's a traffic light after the test.
2020-12-09 06:09:48 +03:00
erorcun
e1044a7947 AnimViewer fixes, commentary from miami 2020-12-09 05:10:57 +03:00
erorcun
0dfa833610 Fix 2020-12-09 03:55:30 +03:00
erorcun
122c7aa40d Use SDL gamepad mapping in environment by @ZLau92, implement @Sergeanur 's idea to use PPSSPP's DB if available, disable DEV() messages by default 2020-12-09 03:41:45 +03:00
erorcun
6b654094a5
Merge pull request #871 from withmorten/sized-enums
Get rid of sized enums
2020-12-09 03:15:20 +03:00
aap
f6cc178a50 fix CObject::DeleteAllTempObjectsInArea 2020-12-08 23:15:59 +01:00
erorcun
eaf32190ca Merge branch 'master' of https://github.com/GTAmodding/re3 2020-12-08 23:35:27 +03:00
erorcun
fc6f07345e Red delete menu background 2020-12-08 23:33:51 +03:00
Walied K. Yassen
a35c96c5ec
Fix DeleteAllTempObjectsInArea and bunch of random gen ranges 2020-12-08 21:22:05 +02:00
shfil
95094e45af
Merge pull request #873 from madebr/openal_static
audio: define openal extensions in re3 owned namespace
2020-12-08 16:40:57 +01:00
Sergeanur
778d1381bb Add NUM_LEVELS 2020-12-08 07:50:29 +02:00
Sergeanur
b13b26b5fb GenerateOneRandomCar cleanup 2020-12-08 03:33:56 +02:00
Sergeanur
8d3864a4e5 Fix CRecordDataForChase::ShouldThisPadBeLeftAlone 2020-12-08 02:56:20 +02:00
Sergeanur
84cc31fea3 Fix wrong define 2020-12-08 02:27:35 +02:00
Fire-Head
87bca997a4 Merge branch 'master' of https://github.com/GTAmodding/re3 2020-12-07 21:50:18 +03:00
Fire-Head
c5fbb594a5 ps2 hud, restore original code 2020-12-07 21:12:13 +03:00
Anonymous Maarten
5a1ea7bcf5 audio: define openal extensions in re3 owned namespace 2020-12-07 19:05:58 +01:00
withmorten
7e11f639aa don't cast script param to uint8 2020-12-07 02:02:59 +01:00
withmorten
5e9a433b79 int32 enum fixed 2020-12-07 01:05:45 +01:00
withmorten
9e2ac26a1d uint32 enums fixed 2020-12-07 01:04:23 +01:00
withmorten
b5ffea5c6e uint16 enums fixed 2020-12-07 00:57:34 +01:00
withmorten
afdf8c25a0 int8 enums fixed 2020-12-07 00:56:12 +01:00
withmorten
4696e3f9c8 uint8 enums fixed 2020-12-07 00:36:40 +01:00
Anonymous Maarten
12d3893fe9 crossplatform is needed for casepath on non-Windows systems 2020-12-06 20:46:11 +01:00
Anonymous Maarten
3a66b17887 inttypes.h is part of the C++ standard, so prefix it 2020-12-06 20:46:11 +01:00
Nikolay
14eb0cd286
fixed parenthesis 2020-12-06 15:27:42 +03:00
Nikolay
efb28b888d
fixed ANCHOR_BOAT 2020-12-05 22:26:45 +03:00
aap
28a942735c fix pMemoryTop 2020-12-05 14:50:54 +01:00
aap
466eee84e7 typo 2020-12-04 10:23:04 +01:00
aap
9714a37769 bit more GTA_VERSION and GTA_PS2 2020-12-04 01:12:58 +01:00
aap
5bed7afd79 forgot some junk 2020-12-03 16:56:32 +01:00
aap
a6c4d9b77c forgot to wrap in FIX_BUGS 2020-12-03 16:07:16 +01:00
aap
955698d2d3 kludge to prevent dodo unique jumps 2020-12-03 16:05:28 +01:00
aap
13cefd3293 more PS2 stuff; memory movement done 2020-12-03 16:04:59 +01:00
aap
3c24505990 little fixes for animviewer 2020-12-03 09:34:09 +01:00
aap
448ba9b7e8 bla 2020-12-02 13:08:30 +01:00
aap
50bf0f27a0 rpDefaultGeometryInstance 2020-12-02 12:58:29 +01:00
aap
f576311814 Merge branch 'master' of github.com:GTAmodding/re3 2020-12-02 10:38:39 +01:00
aap
fba657ff0c better cam lod dist fix 2020-12-02 10:38:27 +01:00
Nikolay Korolev
4b9f1680a3 fast fix 2020-12-02 02:41:05 +03:00
Nikolay Korolev
fda58fb1df added GTA_SCENE_EDIT 2020-12-02 02:34:51 +03:00
Sergeanur
0b20fd7e77 Remove ifndef GTA_PS2 around replays 2020-12-01 22:35:53 +02:00
Sergeanur
9461998304 TexturePools 2020-12-01 22:12:46 +02:00
Sergeanur
e33ab44b7d Add GTA_REPLAY 2020-12-01 22:08:05 +02:00
aap
83bbb631d1 some more GTA_VERSIONs and CGame tidy-up (not much actual memory moving yet) 2020-12-01 17:42:18 +01:00
aap
b8bc54640d fix cam-fix 2020-12-01 17:24:56 +01:00
aap
56c471d02e
Merge pull request #854 from Nick007J/master
small garages + templates revision
2020-12-01 11:25:02 +01:00
aap
d6fab1bc53 cam stuff 2020-12-01 10:12:42 +01:00
aap
6dcbc8f062
Merge pull request #856 from ZLau92/patch-2
Update Camera.cpp - Vehicle spawning on ultrawide aspect ratios
2020-12-01 10:00:58 +01:00
erorcun
4ec60676e7
Merge pull request #846 from withmorten/ini
add -console cmdline arg instead of #if 0/1
2020-12-01 04:21:00 +03:00
Zach Charo
6eb0fd52d7
Update Camera.cpp
camdist multiplier is consitently between 1 and 1.4 on 16:9 aspect ratio
On ultrawide, the cam dist multiplier jumps to anywhere between 2 and 3
The preferred distance generator for car objects is the cam dist multiplier * 120. Which puts cars that it's trying to generate outside of the allowed gen/draw distance for new car objects when on ultrawide. This means no new cars can spawn.
This change caps the scaling for the generation distance a bit above what it would be for 16:9 and does not affect the LOD multiplier.
2020-11-30 19:08:15 -06:00
aap
2c59e1c894 some more GTA_VERSION 2020-12-01 00:22:57 +01:00
aap
4b9fb631fc added a few registered pointers and memory debug 2020-11-30 23:44:58 +01:00
Nikolay Korolev
a3b83a5d2f Merge remote-tracking branch 'upstream/master' 2020-11-30 02:15:35 +03:00
Nikolay Korolev
8f05ccd6c4 small garages revision + small template stuff 2020-11-30 02:15:03 +03:00
aap
d5bc382cb5 GTA_VERSION define and some config.h cleanup 2020-11-29 21:29:48 +01:00
aap
566282057a add debug script hotkey 2020-11-29 11:37:06 +01:00
aap
5282696699 fix backface culling on vehicles 2020-11-29 11:36:26 +01:00
aap
c57fee38ca
Merge pull request #841 from aap/master
start using CMemoryHeap; also some PS2 define cleanup
2020-11-28 18:52:44 +01:00
withmorten
b1a431a740 add -console cmdline arg instead of #if 0/1 2020-11-28 17:57:10 +01:00
aap
a8035b6466 moved some stuff to MemoryMgr 2020-11-28 17:05:57 +01:00
aap
b23bda6e45 Merge branch 'master' of github.com:GTAmodding/re3 2020-11-28 16:02:21 +01:00
Sergeanur
ad48b9cde0 Make texture conversion work a bit faster 2020-11-28 16:29:45 +02:00
Sergeanur
18d0fd2e48 Add multisampling to librw 2020-11-28 15:13:06 +02:00
Nikolay Korolev
f50a53e290 fix garages 2020-11-27 19:18:51 +03:00
aap
d857758c16 start using CMemoryHeap 2020-11-26 17:39:59 +01:00
Sergeanur
491274f188 CStreaming::PrintStreamingBufferState 2020-11-26 18:11:55 +02:00
aap
4ddc356341 memory heap starting to work 2020-11-25 22:49:50 +01:00
aap
88baa9ce5f implemented CMemoryHeap, not used or tested yet 2020-11-25 21:34:06 +01:00
aap
70d8bdc087 rename badly named camera variable 2020-11-24 15:20:41 +01:00
Sergeanur
bd3d09fef5 Script commands split to original files 2020-11-24 12:58:11 +02:00
Sergeanur
833bf4a619 Add some TODO stubs for unused code to be reversed 2020-11-23 18:59:50 +02:00