Commit Graph

2477 Commits

Author SHA1 Message Date
erorcun
ee05c7fe42 Frontend: disable windowed mode selector in game 2021-01-03 18:30:50 +03:00
erorcun
28ec412369 Ped: PlayerPed: sync with master 2021-01-03 18:29:09 +03:00
Sergeanur
941e70a701 Sync miami things 2021-01-03 16:44:21 +02:00
aap
0d05be4e31 slightly better variable name 2021-01-02 20:30:12 +01:00
aap
78fed0dfe7 "clarification" of handling code 2021-01-02 20:15:01 +01:00
erorcun
cdb65e9ced fix fix 2021-01-02 18:30:00 +03:00
erorcun
482ff4562f Vehicle: Automobile: fixes and style things 2021-01-02 18:27:11 +03:00
Sergeanur
38bca2332d Fix arg 2021-01-02 13:42:27 +02:00
Sergeanur
c587203ebe Pad2 fix 2021-01-02 13:28:10 +02:00
aap
716e322246 increase screen droplet splash dist 2021-01-01 23:33:25 +01:00
Filip Gawin
d3b11c2b8c Encode files to UTF-8 2021-01-01 20:55:35 +01:00
Filip Gawin
b3581bc0b4 Overhaul and enable cache for openal build 2021-01-01 16:43:26 +01:00
Sergeanur
c9a7fd9435 small CWorld fixes 2021-01-01 12:47:11 +02:00
Nikolay Korolev
2f05c64470 actual struct name 2021-01-01 13:35:23 +03:00
Filip Gawin
e9288dd005 CMoneyMessages::RegisterOne v2 2020-12-31 22:09:25 +01:00
aap
31000fb4f0 remove superfluous CWorld:: 2020-12-31 22:03:37 +01:00
aap
4e7c2b90f7 mult -> div 2020-12-31 21:58:03 +01:00
Filip Gawin
ff665fe27f Fix CMoneyMessages::RegisterOne 2020-12-31 21:43:53 +01:00
shfil
9938d04ca7
Fix UB in ProjectileInfo.cpp 2020-12-31 16:33:34 +01:00
aap
1a8a1c91cb fix UB 2020-12-31 16:14:46 +01:00
Fire-Head
bc7161754f fix compiling 2020-12-31 18:10:08 +03:00
Fire-Head
7a360b1181 hud cleanup 2020-12-31 07:56:50 +03:00
aap
77884e0a57 fix use of LoadFile 2020-12-30 15:08:10 +01:00
aap
14f7dbade8 fix custom pipes mem leak 2020-12-29 20:30:57 +01:00
Fire-Head
8fadca196b gxt key, default value 2020-12-29 22:16:52 +03:00
Fire-Head
30236a804d fix ini key 2020-12-29 21:01:36 +03:00
Fire_Head
89e2709304
Merge pull request #1 from GTAmodding/master
update
2020-12-29 20:51:37 +03:00
Fire-Head
224e805fe4 Sprite Scaling option 2020-12-29 20:24:16 +03:00
Sergeanur
f75460fc1d Reorder CEntity functions into their original order 2020-12-29 13:55:15 +02:00
Sergeanur
c1caf380de
Merge pull request #904 from Sergeanur/bvf
Enable BIND_VEHICLE_FIREWEAPON with gta3.set size check
2020-12-29 08:49:39 +02:00
aap
f7e52d7a21 fix neo screendroplet moving 2020-12-28 21:58:16 +01:00
Fire-Head
8af298c668 multiple instances sema fix 2020-12-28 23:08:47 +03:00
Sergeanur
9c2f1b0833 More bike leftovers 2020-12-28 14:00:44 +02:00
Sergeanur
7eb96d5373 Add bike leftovers 2020-12-28 13:44:20 +02:00
Sergeanur
b9747de5d6 Enable BIND_VEHICLE_FIREWEAPON with gta3.set size check 2020-12-28 08:36:21 +02:00
erorcun
dc96a49dfd Ped: WeaponInfo: little fixes and renamings 2020-12-28 04:02:24 +03:00
erorcun
498d3a49ac just toggle waypoint 2020-12-28 00:15:05 +03:00
erorcun
38a1fef5c1 move cfo populate func. 2020-12-27 23:56:36 +03:00
erorcun
cd24936ca9 Dynamically add pipelines options, only if neo.txd exists 2020-12-27 23:55:13 +03:00
aap
beb0ec673c rename unused field 2020-12-27 20:38:05 +01:00
aap
ab80ff7132 handling unit conversion 2020-12-27 20:34:12 +01:00
aap
4d2105bf55 tiny rendering fix 2020-12-27 18:22:04 +01:00
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
aap
b6da31cfaa two unused functions 2020-11-23 09:38:51 +01:00
aap
9b4cfa618d
Merge pull request #827 from aap/master
finished cullzones
2020-11-22 22:49:22 +01:00
Sergeanur
103b8fb426 More audio fix 2020-11-22 23:24:38 +02:00
Sergeanur
c814a0a1a6 Renderer fix 2020-11-22 23:11:55 +02:00
Sergeanur
f010777e58 Audio fixes 2020-11-22 23:10:41 +02:00
Nikolay
222e7f56ff
one more fix 2020-11-22 02:31:52 +03:00
Nikolay
d24e1ee592
small improvement 2020-11-22 02:29:17 +03:00
aap
07303c62d1 finished cullzones 2020-11-22 00:13:07 +01:00
aap
15ae9e2a3e
Merge pull request #823 from aap/master
Neo screen droplets
2020-11-22 00:12:34 +01:00
Nikolay
6b6b600cee
no script logging 2020-11-21 21:12:47 +03:00
Sergeanur
9e45feb4fa Reorganize CPed functions into their original cpp files 2020-11-19 21:12:20 +02:00
aap
02c7f8381b neo screen droplets 2020-11-19 16:23:52 +01:00
aap
a0a8bb8d92
Merge pull request #822 from aap/master
CPed review part1,2 re3
2020-11-19 15:20:53 +01:00
erorcun
808f7c46f1 Infamous XBOX subtitle outline 2020-11-19 02:09:04 +03:00
aap
91f9c7938e CPed review part1,2 re3 2020-11-18 12:38:47 +01:00
aap
9826fdf6d5 more fixes to librw stuff 2020-11-18 11:16:02 +01:00
aap
82b0103c67 changes to librw layer, GLES now runtime choice 2020-11-18 10:27:55 +01:00
erorcun
b58a54527e
Merge pull request #820 from withmorten/mission-switcher
add mission switcher from miami
2020-11-18 01:45:12 +03:00
aap
19d9430314 fix flag 2020-11-16 22:57:37 +01:00
aap
46253fbf7d Merge branch 'master' of github.com:GTAmodding/re3 2020-11-16 22:43:35 +01:00
aap
3564b85b4e animation compression from PS2 2020-11-16 22:43:15 +01:00
Sergeanur
a802ad5c27 pragma twice 2020-11-16 15:05:02 +02:00
Sergeanur
6bc2ed74fe Add debug code to CPathFind::PreparePathDataForType 2020-11-16 14:56:07 +02:00
erorcun
f33ed2892a Fix mouse lock/high-dpi 2 2020-11-16 15:49:00 +03:00
erorcun
3b1debaa0d Fix mouse lock/high-dpi 2020-11-16 15:28:10 +03:00
erorcun
72c0a6a680
Merge pull request #723 from myfreeweb/master
Fixes for Wayland (HiDPI and mouse lock) support, FreeBSD
2020-11-16 15:20:20 +03:00
Nikolay
b508458f37
small fix 2020-11-16 15:13:30 +03:00
aap
5335b46cbb little fix to ps2 CPad 2020-11-16 09:48:02 +01:00
aap
2f9a905c61 change gl caps.dat constants 2020-11-16 09:41:39 +01:00
withmorten
abcda2ce29 add mission switcher from miami 2020-11-16 00:41:03 +01:00
withmorten
207f8576d8 move config.h define to CUSTOM_FRONTEND_OPTIONS 2020-11-16 00:21:04 +01:00
withmorten
f0071c094a remove unneeded ifdef 2020-11-16 00:07:27 +01:00
withmorten
ac29ae6e23 add CFO for invertlook4pad; update american.gxt 2020-11-15 23:06:29 +01:00
withmorten
0669df763c Merge branch 'upstream/master' 2020-11-15 22:08:40 +01:00
withmorten
ad10d3e64e revert frontend changes for invertlook4pad 2020-11-15 22:07:44 +01:00
Sergeanur
a6f5f4634c Make collision code placement more like original (+ small fixes) 2020-11-15 19:51:35 +02:00
Sergeanur
be205d9602
Merge pull request #797 from theR4K/master
Make code in master same like in audio PR for miami
2020-11-15 14:55:40 +02:00
Sergeanur
8374a346e5 Fix loading island LODs with big buildings 2020-11-13 18:28:15 +02:00
Sergeanur
feeab0b74a Fix ini reader 2020-11-11 20:57:44 +02:00
erorcun
67e57d1368 Fix RestoreDef crash 2020-11-11 13:08:22 +03:00
aap
546ed0ff07 changes to RW layer so loading foreign files works 2020-11-11 09:42:30 +01:00
erorcun
460f3cea44 Frontend: Scroll for All, some care for PS2-like menu
Don't show Back button on PS2-like menu
Removed PS2-style reversed fade-in, because it was a hack and taking too much space
2020-11-10 02:07:02 +03:00
erorcun
59f9c009ef Font: Hud: Use orig. text dimensions, fix right-align calculations 2020-11-10 01:50:34 +03:00
Roman Masanin
c91d5a90a1 easy way to safe few petaseconds 2020-11-08 23:29:57 +03:00
Roman Masanin
612bd98039 return bad code, becouse no one knows what to do with it 2020-11-08 21:30:03 +03:00
erorcun
f8367ebdef Revert "Font: Fix text dimensions"
This reverts commit 6729de49b1.
2020-11-08 21:11:55 +03:00
Roman Masanin
279acfae59 pointers to referencies too 2020-11-08 20:50:46 +03:00
Roman Masanin
e269809bfd Merge branch 'master' of https://github.com/GTAmodding/re3 2020-11-08 20:32:31 +03:00
erorcun
c96ffb05b1
Merge pull request #809 from erorcun/master
Fix build without CFO, NO_ISLAND_LOADING, save postfx/pipeline mults
2020-11-07 23:51:07 +03:00
erorcun
163c12608f Fix build without CFO, NO_ISLAND_LOADING, save postfx/pipeline mults 2020-11-07 21:58:23 +03:00
Sergeanur
7f4498e0f0 Check if buttons txd exsist 2020-11-07 20:54:38 +02:00
Sergeanur
3b81eaa2d7 Fix cAudioManager::GetPhrase 2020-11-07 13:55:55 +02:00
Filip Gawin
f442793d20 Allow to handle larger files via 64bit variables 2020-11-06 18:42:28 +01:00
withmorten
bd78b5ff4e add bInvertLook4Pad from VC (doesn't get saved yet) 2020-11-05 19:57:13 +01:00
aap
8614f68620 RwRenderStateGet 2020-11-05 16:42:57 +01:00
Sergeanur
8224a6a381 Button icons 2020-11-05 17:05:16 +02:00
aap
881a3e1091
Merge pull request #795 from withmorten/master
enable static runtime for all windows builds; fast floating point for x86/x64 builds; no sized dealloc for windows builds
2020-11-05 10:59:02 +01:00
aap
b3da518ae0 only do backface culling on buildings 2020-11-03 16:59:37 +01:00
aap
ebddb7956c fix mistake in custom menu; update librw 2020-11-03 14:37:00 +01:00
Sergeanur
f08b9cf033 fix build 2020-11-03 15:00:48 +02:00
erorcun
770a1f8012
Merge pull request #789 from erorcun/master
rewrite CFO + postfx/pipeline options
2020-11-03 01:43:53 +03:00
Sergeanur
d4c26396c7 Fix MemoryCard.cpp 2020-11-02 18:17:37 +02:00
Filip Gawin
1df6dda546 Add basic support for cmake on linux 2020-11-02 17:07:04 +01:00
shfil
e587974759
Fix include in Frontend_PS2.cpp 2020-11-02 13:31:25 +01:00
Roman Masanin
fad0a9507d some "optimizations". same like I did in VC 2020-11-01 23:48:03 +03:00
Sergeanur
30d1cbfecd Fix the goddamn spaces for tabs master race 2020-11-01 13:46:12 +02:00
Sergeanur
37943a87cb Show Xbox buttons when playing with a controller 2020-11-01 13:42:02 +02:00
Sergeanur
1f5a6dab67 Revert 2020-11-01 12:30:23 +02:00
Nikolay Korolev
f21cfef8fb remove autosave at end of mission under MISSION_REPLAY 2020-11-01 12:33:16 +03:00
Sergeanur
5711251b0f Also fix SetModelIndex in CAutomobile and CTrain ctors 2020-11-01 09:46:02 +02:00
Sergeanur
3c4f166a82 Fix virtual SetModelIndex call in CBoat ctor 2020-11-01 09:34:10 +02:00
withmorten
e9735f928f add ifdef LIBRW guard for pipelines and colourfilter 2020-11-01 01:09:46 +01:00
aap
30c0f26f17 fix sniper crosshair 2020-10-31 22:09:43 +01:00
aap
6eef54e3fc
Merge pull request #792 from withmorten/master
fix FINAL build, add DEBUGMENU and other simple qol defines to FINAL ...
2020-10-31 17:06:25 +01:00
erorcun
ded7c89602
Update MenuScreensCustom.cpp 2020-10-30 17:36:13 +03:00
erorcun
7784ba052e
Update config.h 2020-10-30 17:24:20 +03:00
withmorten
d34d591ed3 fix draw menu version text ifdef location 2020-10-29 19:53:23 +01:00
withmorten
57b01ac476 NO_MOVIES and DEBUGMENU not for MASTER 2020-10-29 19:23:59 +01:00
aap
317393d763 few more fixes to last commit 2020-10-29 19:21:16 +01:00
withmorten
e95516032f fix FINAL build, add DEBUGMENU and other simple qol defines to FINAL, add extra defines for menu and game version text 2020-10-29 19:18:46 +01:00
aap
e97366c023 implemented extra model flags for backface culling and alpha test from mobile 2020-10-29 19:11:47 +01:00
erorcun
922d06ab1f rewrite CFO + postfx/pipeline options 2020-10-28 15:05:04 +03:00
aap
81e462b677 Merge branch 'master' of github.com:GTAmodding/re3 2020-10-28 10:33:46 +01:00
aap
a5447306c4 fixed skin on player head 2020-10-28 10:33:27 +01:00
Fire-Head
f7b1ba4049 fix FireShotgun missing normalise 2020-10-28 03:10:53 +03:00
Fire-Head
e2dc1ba102 fix rainraindrop 2020-10-27 18:55:28 +03:00
aap
ee222d0384 stupid bug; update librw 2020-10-27 16:15:30 +01:00
aap
78ac22ee2c boolean for extended pipelines 2020-10-27 15:55:07 +01:00
Sergeanur
4cfb3b0984 OpenAL channels now use their own sound buffers 2020-10-27 09:35:09 +02:00
erorcun
ba0c96c39c Revert "(TEST) Try to fix OAL audio problems"
This reverts commit 19cc6fafe0.
2020-10-27 00:40:12 +03:00
Sergeanur
d94b36c202 Fixes to OpenAL 2020-10-26 20:13:50 +02:00
erorcun
19cc6fafe0 (TEST) Try to fix OAL audio problems 2020-10-26 12:35:24 +03:00
erorcun
6729de49b1 Font: Fix text dimensions 2020-10-25 20:57:24 +03:00
aap
e3a1041a47 clean up timebar ifdefs 2020-10-25 16:17:30 +01:00
Sergeanur
83947e6958 Remove redundant includes 2020-10-25 13:07:44 +02:00
Sergeanur
e0394e6e69 Possible fix of linux build 2020-10-25 12:38:08 +02:00
Sergeanur
6634410aee Fix build 2020-10-25 09:50:17 +02:00
Sergeanur
aac0c3fb67 DMAudio fixes 2020-10-25 09:40:11 +02:00
erorcun
5e5854b914 Fix bindings not loaded on Linux 2020-10-25 01:10:03 +03:00
erorcun
d0e80e8c97 librw update 2020-10-24 23:56:21 +03:00
erorcun
92ae468e00 Messages and CameraSize fix 2020-10-24 21:56:04 +03:00
Adrian Graber
a32c390a95 Join CdStream threads to wait for them to exit 2020-10-24 16:12:10 +02:00
Sergeanur
a492f8ba0d Fix playback of vanilla opus 2020-10-24 16:37:14 +03:00
Sergeanur
d7b9884f9d Use audio enum 2020-10-23 16:18:46 +03:00
Sergeanur
9f692ea3ab Missed nil 2020-10-23 13:23:05 +03:00
Sergeanur
f8a7f47fde Small CPedModelInfo fixes 2020-10-23 13:06:40 +03:00
erorcun
067200dd7e mr.casepath 2 2020-10-23 04:37:01 +03:00
erorcun
bedc066cfd mr.casepath 2020-10-23 01:56:32 +03:00
Sergeanur
86a7d4415b Fix argument type 2020-10-22 22:04:12 +03:00
Sergeanur
94f0ecfa21 Police Radio fixes 2020-10-22 12:36:47 +03:00
erorcun
70f625d211 Message fix 2020-10-21 21:39:57 +03:00
Sergeanur
bd8d8b53a3 CTempColModels small fix 2020-10-21 21:26:10 +03:00
Sergeanur
632569cff3 Pickup fixes 2020-10-21 19:48:13 +03:00
erorcun
af53267b74 Text and cross-platform fix 2020-10-21 03:11:10 +03:00
Filip Gawin
7ae25761d5 Tweak comparison in CFallingGlassPane::Render 2020-10-18 19:57:39 +02:00
erorcun
0eb4aca1d6 Fix build 2020-10-18 20:09:55 +03:00
erorcun
a6aa782d6d Fixes and style changes from miami 2020-10-18 19:16:37 +03:00
Sergeanur
cc0ae51631 lil fix 2020-10-18 16:55:11 +03:00
Sergeanur
b91f6a4550 Setter for bIsStatic (became virtual in SA) 2020-10-18 16:40:06 +03:00
Filip Gawin
23220d799c Cleanup breaks CAutomobile::ProcessOpenDoor 2020-10-18 15:26:20 +02:00
Filip Gawin
747fe7ab67 Merge branch 'master' of github.com:GTAmodding/re3 into master 2020-10-18 15:14:03 +02:00
Filip Gawin
3594b35fbb Add missing breaks in AudioLogic.cpp 2020-10-18 15:13:43 +02:00
shfil
82f54b946f Script.cpp missing breaks 2020-10-18 00:56:07 +02:00
Roman Masanin
9cf38634b9
ProcessWaterCannon bug and refractoring (#773)
* fix audio bug and some refractoring

* mark original bugs
2020-10-17 20:56:42 +02:00
eray orçunus
b84dc2bc9b Fix management issue 2020-10-17 18:10:37 +03:00
Sergeanur
516a02d2da Fix pickup fix :P 2020-10-17 15:33:22 +03:00
Sergeanur
ca64a49af1 fix build 2020-10-17 14:23:31 +03:00
Sergeanur
1f36b78c20 Pickup fixes 2020-10-17 13:48:08 +03:00
Roman Masanin
07143ee73b SpecialFX fixes 2020-10-15 15:52:37 +03:00
Sergeanur
a96146c87b Pickup fix 2020-10-14 03:29:25 +03:00
Fire-Head
1e068aea73 fix AskForObjectToBeRenderedInGlass 2020-10-12 23:10:08 +03:00
eray orçunus
3772be32bf Streaming and cross-platform fixes 2020-10-12 20:41:13 +03:00
Sergeanur
e26e85deb8 Some unicode funcs belong to Font.cpp + small fix 2020-10-11 10:33:02 +03:00
eray orçunus
22c9e8b581 Fix POSIX streaming 2020-10-09 02:22:02 +03:00
eray orçunus
0409907438 Merge branch 'master' of https://github.com/GTAmodding/re3 2020-10-08 01:26:34 +03:00
eray orçunus
07cdd06373 little renamings & librw update 2020-10-08 01:17:19 +03:00
eray orçunus
556dbdcdd6 Merge branch 'master' of https://github.com/GTAmodding/re3 2020-10-05 22:18:51 +03:00
Nikolay Korolev
6853be36c8 Merge remote-tracking branch 'upstream/master' 2020-10-05 16:10:26 +03:00
Nikolay Korolev
2bfb54b192 fixed darkel/replay 2020-10-05 16:09:44 +03:00
eray orçunus
c5a61b3d3b Merge branch 'master' of https://github.com/GTAmodding/re3 2020-10-05 14:26:42 +03:00
eray orçunus
9db0d7bba1 Merge branch 'master' of https://github.com/GTAmodding/re3 into audioFix 2020-10-05 14:24:45 +03:00
eray orçunus
ee27cae732 Fix Linux audio path 2020-10-05 14:23:37 +03:00
eray orçunus
1a0b71bd47 Fix Audio 2020-10-05 14:23:12 +03:00
shfil
c31e3e6823
Merge pull request #741 from ShFil119/fix/make_space
Fix unsigned comparison in CStreaming::MakeSpaceFor(int32 size)
2020-10-04 22:02:28 +02:00
eray orçunus
8c170a62ee Fix some sanitizer errors, improve POSIX streamer 2020-10-04 22:39:54 +03:00
erorcun
fae97f29c4
Merge branch 'master' into master 2020-10-04 22:12:57 +03:00
Filip Gawin
0ac2be0093 Fix unsigned comparison in CStreaming::MakeSpaceFor(int32 size) 2020-10-04 13:18:24 +02:00
Nikolay Korolev
39678ba5ca small fix 2020-10-03 16:16:46 +03:00
erorcun
a8c19dfed8
Merge pull request #734 from Tatsh/macos
macOS support
2020-10-03 13:22:08 +03:00
eray orçunus
3bd3330227 Load and write our settings in re3.ini & fixes 2020-10-02 21:18:34 +03:00
Andrew Udvare
f6bc2b654c
CdStreamPosix: fix type issues 2020-10-01 20:45:38 -04:00
Andrew Udvare
bbb578c5b1
core/CdStreamPosix: switch to named semaphores to support macOS
macOS does not support unnamed semaphores. The functions return ENOSYS.
2020-10-01 03:21:06 -04:00
Andrew Udvare
01ea7801fd
macOS support; thanks to @MrYadro
This should support ARM64 and x86-64.
-target flag based on information from
https://developer.apple.com/documentation/xcode/building_a_universal_macos_binary#3618377.
2020-09-30 15:40:28 -04:00
eray orçunus
ee3f5744f5 Merge branch 'master' of github.com:erorcun/re3 2020-09-30 20:54:42 +03:00
eray orçunus
595421da39 Fixes, mouse AUX buttons, joystick detect menu 2020-09-30 20:03:01 +03:00
Nikolay Korolev
1666995cd9 fixed bad bug 2020-09-30 16:29:39 +03:00
Filip Gawin
8235fe08d1 Fix more 2020-09-29 17:47:48 +02:00
Filip Gawin
e324f3dac0 Some more const 2020-09-29 17:43:34 +02:00
Filip Gawin
874b31d82b Use Const instead of const (last commit) 2020-09-29 17:27:36 +02:00
Filip Gawin
eeb26cfc7d Fix warning ISO C++11 does not allow conversion from string literal to
'char *
2020-09-29 17:16:02 +02:00
Filip Gawin
8424eabf22 Fix build (if -> ifdef) 2020-09-29 17:02:47 +02:00
Filip Gawin
a0b6410801 Make frequency more consistent with vanilla 2020-09-29 16:56:40 +02:00
Sergeanur
5144b5051c Fix arg types 2020-09-28 21:37:59 +03:00
Nikolay Korolev
742ca47a43 fixed cargen 2020-09-28 21:25:14 +03:00
Roman Masanin
7576b003c6 change for better understanding 2020-09-28 20:48:28 +03:00
Greg V
7d03a6fe29 Use CLOCK_MONOTONIC_FAST when available (FreeBSD)
CLOCK_MONOTONIC_FAST is the equivalent of Linux's CLOCK_MONOTONIC_RAW.
2020-09-28 04:59:14 +03:00
Greg V
0205960a2f Use GLFW_CURSOR_DISABLED (glfw's native mouse restriction)
On Wayland, clients cannot move the mouse pointer.
Mouse constraints, as required for 3D camera movement, are an explicit specific thing,
and glfw supports it with GLFW_CURSOR_DISABLED.
Use DISABLED, unless we're in a menu in windowed mode, where HIDDEN is still appropriate.
2020-09-28 04:53:15 +03:00
Greg V
b95accb8ff glfw: scale cursor position by the ratio of framebuffer to screen size
This fixes the mouse being constrained to the top left quarter of the window on Wayland HiDPI setups.
2020-09-28 04:52:13 +03:00
Greg V
5654347c5d Use glfwSetFramebufferSizeCallback instead of glfwSetWindowSizeCallback
Framebuffer size is scaled by the display scale.
This fixes the game being shrunk to the bottom left quarter of the window on Wayland HiDPI setups.

Corresponding change in librw: glfwGetWindowSize -> glfwGetFramebufferSize.
2020-09-28 04:50:57 +03:00
Roman Masanin
1ea89f5aed Merge remote-tracking branch 'upstream/master' 2020-09-28 03:40:58 +03:00
Roman Masanin
37e382c758 fix for frequency misscalculation 2020-09-28 03:29:45 +03:00
eray orçunus
70aac0f460 Fixes: PS2/PS2-like menu, Hud, new sliding text found 2020-09-27 19:22:21 +03:00
eray orçunus
9b76424540 Fixes 2020-09-27 04:39:25 +03:00
Nikolay Korolev
48a10de41f bug fixed 2020-09-26 21:25:40 +03:00
Nikolay Korolev
796ad66d72 fixed replay bug 2020-09-26 21:12:47 +03:00
shfil
db1137b5a1
Merge pull request #715 from Nick007J/master
some SilentPatch fixes
2020-09-26 20:11:25 +02:00
Sergeanur
05e65baabe Fix coronas reflections 2020-09-26 14:23:34 +03:00
Nikolay Korolev
2eb2e9ac12 fixed tab 2020-09-26 14:12:42 +03:00
Nikolay Korolev
b42d9e3e7c silentpatch fixes 2020-09-26 13:30:22 +03:00
Sergeanur
3f0a80f7c7 Fix MASTER build with glfw 2020-09-26 05:10:22 +03:00
Sergeanur
0ce8082bda Fix OpenGL Z-write 2020-09-26 00:25:39 +03:00
Sergeanur
db2c34923d Fixes to MusicManager 2020-09-19 16:39:31 +03:00
Sergeanur
7efc153dc9 Renaming audio enum entries to something more like original 2020-09-19 15:55:27 +03:00
Sergeanur
9c2e9fcf88 Fix RotateY 2020-09-15 00:31:57 +03:00
Sergeanur
38ec1bd50d Move a bunch of math to cpp files + small fixes 2020-09-14 21:07:31 +03:00
eray orçunus
93d77f340d Fixes from miami 2020-09-10 03:14:50 +03:00
eray orçunus
7658577260 CFO fixes 2020-08-25 03:27:38 +03:00
eray orçunus
082c4caecf new frontend customization 2020-08-25 00:55:57 +03:00
eray orçunus
cb813bd1ab Merge branch 'master' of https://github.com/GTAmodding/re3 into erorcun 2020-08-24 22:36:03 +03:00
Sergeanur
1d907ac91f small fix 2020-08-24 21:56:34 +03:00
aap
6c63dfd86d accidentally enabled extended stuff.... 2020-08-23 13:30:54 +02:00
aap
771235d213 weather fixes 2020-08-23 13:30:21 +02:00
aap
ac5af18891 fixed CRenderer::ScanSectorPoly again 2020-08-21 09:40:10 +02:00
aap
dace79c7c3 small streaming fixes 2020-08-20 23:45:45 +02:00
Sergeanur
73dd29ea3a Cleanup CControllerConfigManager deletion a bit 2020-08-20 19:56:02 +03:00
Sergeanur
b5ccc721ae Add VEHICLE_FIREWEAPON (disabled by default) 2020-08-20 19:40:35 +03:00
Sergeanur
0f5a771292 Fix cAudioScriptObject 2020-08-20 14:47:53 +03:00
aap
a9a1bf5056 changed a sound enum 2020-08-20 13:21:08 +02:00
aap
517e2ee9a5 small fixes 2020-08-20 12:55:41 +02:00
eray orçunus
be638a4973 Revert "remove CFO"
This reverts commit 0418ba597b.
2020-08-19 20:30:57 +03:00
aap
c2e20070ab txd.img bug 2020-08-19 16:54:09 +02:00
aap
76fe1247c8
Merge pull request #688 from aap/master
Neo pipelines
2020-08-19 14:36:38 +02:00
Sergeanur
4d1cfb7214 Island loading cleanup and fix 2020-08-19 03:31:42 +03:00
Nikolay Korolev
c559b71bc9 little fix 2020-08-18 20:08:27 +03:00
Jack Powell
f09abe9ec1
Added bug fix to fix mission related crashes 2020-08-18 17:14:27 +01:00
Jack Powell
809c09938a
CREATE_RANDOM_CAR_FOR_CAR_PARK is supposed to be RANDOM_VEHICLE 2020-08-18 16:59:19 +01:00
Jack Powell
db1e5a6ec4
Fix small logic mistake in CGarage::RemoveCarsBlockingDoorNotInside 2020-08-18 16:47:15 +01:00
Jack Powell
2dcf31b6c7
Call CWorld::Remove before the delete, the original game does this and its safer. 2020-08-18 15:57:40 +01:00