erorcun
02e84b4b97
Merge pull request #1150 from withmorten/miami-saves
...
miami: finish COMPATIBLE_SAVES and FIX_INCOMPATIBLE_SAVES
2021-07-12 01:07:32 +03:00
erorcun
a8fd3f828a
Merge pull request #1149 from withmorten/saves
...
finish COMPATIBLE_SAVES and FIX_INCOMPATIBLE_SAVES
2021-07-12 01:06:59 +03:00
erorcun
291213ed40
Unite all sliders
2021-07-12 00:51:45 +03:00
erorcun
2a6f9c2757
Add ped and car density slider to menu, remove dumb collision "optimization"
2021-07-12 00:12:25 +03:00
withmorten
f686065769
get rid of // done comments in audiomanager.h
2021-07-11 03:59:37 +02:00
withmorten
3194fdb2c1
fix the fix (and another fix)
2021-07-11 03:34:43 +02:00
withmorten
58de524d70
tiny diff fix
2021-07-11 03:26:59 +02:00
withmorten
d7ceb4870c
tiny diff fixes
2021-07-11 03:26:21 +02:00
withmorten
8a114514d9
fix hotring flap stat line
2021-07-11 00:30:26 +02:00
erorcun
9f0a96ac89
Physical: division by zero fix
2021-07-10 23:27:00 +03:00
erorcun
e9baf31ad8
Physical: division by zero fix
2021-07-10 23:24:27 +03:00
erorcun
d82dbf91ef
Merge/sync fixes after threaded audio
2021-07-10 23:14:13 +03:00
erorcun
db4ae18e5d
Remove waiting for stream closure in multi-thread audio
2021-07-10 23:14:08 +03:00
erorcun
5458632c40
Multi-threaded audio fixes
2021-07-10 23:13:51 +03:00
erorcun
ab73c2f539
Multi-threaded audio streams
...
Under MULTITHREADED_AUDIO define.
2021-07-10 23:13:42 +03:00
Magnus Larsen
12efd1209b
Fix Cheat menu debug script loader
2021-07-10 10:18:32 -07:00
Magnus Larsen
33c45e4ae0
Fix debug script loader crashing missions
...
* open_script is now exposed in Script.h, perhaps it should be namespaced
as a static method on CTheScripts? I'm unsure what is preferred.
* I've moved the joypad code out of open_script to prevent buttons held
down at mission load time from changing the scriptToLoad.
2021-07-10 09:34:17 -07:00
withmorten
011aafa043
finish COMPATIBLE_SAVES and FIX_INCOMPATIBLE_SAVES
2021-07-10 17:30:27 +02:00
withmorten
6f103a3b82
finish COMPATIBLE_SAVES and FIX_INCOMPATIBLE_SAVES
2021-07-10 02:06:43 +02:00
withmorten
ffe199290b
fix jittery cars at 15fps
2021-07-09 18:51:27 +02:00
withmorten
37b6d491e7
fix jittery cars at 15fps
2021-07-09 18:50:33 +02:00
withmorten
0b269571d7
add librw defines to vanilla defines undefs
2021-07-09 18:05:26 +02:00
withmorten
e2ae17d994
add librw defines to vanilla defines undefs
2021-07-09 18:02:36 +02:00
Sergeanur
72f6780905
Use CPad functions to check key states in script loader
2021-07-08 03:37:14 +03:00
Sergeanur
47f153fe76
Use CPad functions to check key states in script loader
2021-07-08 03:24:47 +03:00
withmorten
79c010f082
fix macro redefinition warnings on win-glfw build
2021-07-08 01:44:55 +02:00
withmorten
f9a2f1daf7
fix macro redefinition warnings on win-glfw build
2021-07-08 01:40:58 +02:00
withmorten
e6544a6983
fix sampman_null build
2021-07-07 01:59:16 +02:00
withmorten
dadc56ccf9
fix sampman_null build
2021-07-07 01:54:16 +02:00
mssx86
c5e896c420
fix: add missing limits.h includes to enable bulding on musl.
2021-07-05 22:40:21 +02:00
erorcun
386b113603
Merge pull request #1187 from mssx86/musl_fix
...
fix: add missing limits.h includes to enable bulding on musl.
2021-07-05 20:50:18 +03:00
withmorten
70876d3cde
fix screenshot name
2021-07-03 16:43:35 +02:00
Sergeanur
77f31105de
Fix overflow in audio code
2021-07-03 15:57:48 +03:00
Sergeanur
3ed4cdf109
Fix overflow in audio code
2021-07-03 15:57:08 +03:00
withmorten
060c1181bc
fix previous PED_SKIN commit, add comments
2021-07-03 02:52:54 +02:00
erorcun
1c0878f65b
Sanitizer fixes 2
2021-07-03 02:57:32 +03:00
withmorten
43631ba203
smol fix 2
2021-07-03 01:40:26 +02:00
withmorten
f9f854c4a8
smol fix
2021-07-03 01:36:44 +02:00
withmorten
63d9d9c148
disable PED_SKIN and PEDS_REPORT_CRIMES_ON_PHONE when COMPATIBLE_SAVES is disabled
2021-07-03 01:32:04 +02:00
erorcun
51042e15aa
Remove redundant part of 'Sanitizer fixes 2'
2021-07-03 01:53:43 +03:00
erorcun
a8549e86a7
Sanitizer fixes 2
2021-07-03 01:42:24 +03:00
erorcun
424a6d90bd
Peds: Efforts to find the reason of crashes on GCC 7.5.0
...
* Prevent deleted peds to be in nearPeds list (was always needed, might be unrelated to crashes)
* Add asserts to nearPeds and PedIK ctor (crash reasons)
* Shouldn't fix reported crashes since they were caused by null peds.
2021-07-03 01:30:54 +03:00
erorcun
70fa7fc239
Sanitizer fixes
2021-07-03 01:28:32 +03:00
erorcun
4eea98c66b
Peds: Efforts to find the reason of crashes on GCC 7.5.0
...
* Prevent deleted peds to be in nearPeds list (was always needed, might be unrelated to crashes)
* Add asserts to nearPeds and PedIK ctor (crash reasons)
* Shouldn't fix reported crashes since they were caused by null peds.
2021-07-02 23:56:54 +03:00
Sergeanur
987e09515b
Fix use of integer in RemoveBuildingsNotInArea call
2021-07-02 10:33:45 +03:00
Sergeanur
9ea3549743
GameLogic - type fixes
2021-07-02 10:30:39 +03:00
Sergeanur
ae4bfef590
Refactor OnscreenTimer
2021-07-02 10:22:34 +03:00
Sergeanur
7df71c9673
Refactor OnscreenTimer
2021-07-02 10:18:22 +03:00
Sergeanur
8e6e46a919
Fix collision loading for mission entities
2021-07-02 00:18:38 +03:00
withmorten
65219365db
fix compilation when ctype.h is included
2021-07-01 21:51:52 +02:00
withmorten
f7816c577f
fix compilation when ctype.h is included
2021-07-01 21:49:01 +02:00
Sergeanur
3988fec6e7
Fix sound of water when changing MSAA or windowed/fullscreen mode
2021-07-01 21:39:15 +03:00
mssx86
b8e80a67ea
fix: add missing limits.h includes to enable bulding on musl.
2021-07-01 20:12:28 +03:00
withmorten
2d38eb923d
zero out work_buff before writing padding in save
2021-07-01 18:09:32 +02:00
withmorten
2071abd295
zero out work_buff before writing padding in save
2021-07-01 18:08:48 +02:00
Sergeanur
cb72fee941
fix
2021-06-30 21:45:19 +03:00
Sergeanur
a3964dfd4a
Pause radio when game is paused
2021-06-30 21:36:11 +03:00
Sergeanur
a73a2c9179
Pause radio when game is paused
2021-06-30 21:21:45 +03:00
Sergeanur
b1c9340fd3
Fix unused code
2021-06-30 21:16:48 +03:00
withmorten
abe57fefa0
fix some string sizes to be MAX_PATH
2021-06-30 16:28:07 +02:00
withmorten
3383d8c6e7
fix some string sizes to be MAX_PATH
2021-06-30 16:23:44 +02:00
Sergeanur
d31a7e24a8
Fix text in elevator cam
2021-06-30 13:53:10 +03:00
erorcun
cac1c5bd42
Saner loop
2021-06-30 04:12:59 +03:00
erorcun
9f0daee186
Sanitizer fixes
2021-06-30 03:31:10 +03:00
withmorten
de4699a97e
fix no VALIDATE_SAVE_SIZE build
2021-06-28 18:14:15 +02:00
erorcun
fdbd414299
Fix MP3 finding stack crash
2021-06-28 17:44:48 +03:00
erorcun
22e8e0eff8
Fix MP3 finding stack crash
2021-06-28 17:35:25 +03:00
withmorten
d17d437de3
rename clamp macro to Clamp to fix compilation with g++11 (and clamp2 for consistency sake)
2021-06-28 13:57:05 +02:00
withmorten
cb3b3855b8
rename clamp macro to Clamp to fix compilation with g++11
2021-06-28 13:31:35 +02:00
Sergeanur
f8297df9c5
Redo ReadSaveBuf + common.h cleanup
2021-06-28 05:12:54 +03:00
erorcun
cc235be3aa
Less invasive red tint on Delete Game page
2021-06-27 18:14:34 +03:00
erorcun
53a4b6936b
Revert "Use PS2-y global names on SampMan"
...
We know that they changed all those names on PC.
This reverts commit 091a65996e
.
2021-06-27 17:59:50 +03:00
erorcun
091a65996e
Use PS2-y global names on SampMan
2021-06-27 17:53:14 +03:00
erorcun
3587cb029e
Remove waiting for stream closure in multi-thread audio
2021-06-27 14:42:52 +03:00
erorcun
a923728877
Fix map texture leak
2021-06-27 00:34:46 +03:00
erorcun
05a29c7e6c
Multi-threaded audio fixes
2021-06-27 00:00:07 +03:00
withmorten
4819d195d8
fix WriteSaveHeader
2021-06-26 19:19:45 +02:00
withmorten
f3a931e1c9
Revert "Revert "Redo ReadSaveBuf + common.h cleanup""
...
This reverts commit af7573ddbe
.
2021-06-26 19:14:46 +02:00
erorcun
9c8ef3cca0
Merge pull request #1151 from erorcun/miami
...
Multi-threaded audio streams on OAL
2021-06-26 16:28:43 +03:00
erorcun
107c4df69c
Multi-threaded audio streams
...
Under MULTITHREADED_AUDIO define.
2021-06-26 16:24:23 +03:00
withmorten
9ab4f1a2d9
fix screenshot name space
2021-06-26 13:13:43 +02:00
withmorten
171d9fd036
fix screenshot name space
2021-06-26 13:13:07 +02:00
Sergeanur
225530ef04
Fix premature CTimer calls
2021-06-26 04:12:04 +03:00
Sergeanur
6cb8c11285
Fix premature CTimer calls
2021-06-26 04:09:45 +03:00
Sergeanur
3092b9a46e
Small timer fix
2021-06-26 01:56:29 +03:00
erorcun
9b5caa190e
Pool fixes
...
Mostly for Linux
2021-06-26 00:27:20 +03:00
erorcun
af7573ddbe
Revert "Redo ReadSaveBuf + common.h cleanup"
...
This reverts commit 2b67aba94c
.
2021-06-26 00:25:59 +03:00
withmorten
c869602b6d
Merge pull request #1148 from withmorten/miami-githash
...
miami: add no-git-hash option to premake
2021-06-25 19:51:52 +02:00
withmorten
4bab6d5356
Merge pull request #1147 from withmorten/githash
...
add no-git-hash option to premake
2021-06-25 19:51:45 +02:00
Sergeanur
2b67aba94c
Redo ReadSaveBuf + common.h cleanup
2021-06-25 19:03:51 +03:00
erorcun
9382e86d38
Fix Particle FPE
2021-06-25 18:29:38 +03:00
withmorten
4e3fc35401
add no-git-hash option to premake
2021-06-25 02:41:40 +02:00
withmorten
84fb48825d
add no-git-hash option to premake
2021-06-25 02:40:42 +02:00
Sergeanur
f46461331c
Refactor CTimer::Update
2021-06-25 02:40:56 +03:00
Sergeanur
1f082a85cb
Refactor CTimer::Update
2021-06-25 02:33:40 +03:00
Sergeanur
4660491243
Timer fix
2021-06-25 02:22:07 +03:00
Sergeanur
e5aa150557
Frontend fix
2021-06-25 00:40:00 +03:00
Sergeanur
14c71f39ff
High FPS Fixes
2021-06-25 00:39:47 +03:00
Sergeanur
b8cf8c53e7
Don't restart OAL device when switching EAX
2021-06-24 21:34:33 +03:00
Sergeanur
5156626582
Make sampman stream functions default to stream 0 + type fixes
2021-06-24 21:34:33 +03:00
majestic
fe65f20a30
forgotten field in CBaseModelInfo::Shutdown
2021-06-24 21:34:33 +03:00
Sergeanur
4b8b0a6d74
Small fix
2021-06-24 21:34:33 +03:00
Sergeanur
0f0cb40151
Fix use of enum in ped comment banks switch
2021-06-24 21:34:33 +03:00
Sergeanur
2b8ae07ec6
forgot
2021-06-24 21:34:33 +03:00
Sergeanur
1b5dbc4b41
Add macros to set sample loop offsets
2021-06-24 21:34:33 +03:00
Sergeanur
6426963807
Fix cAudioManager::ProcessCarHeli
2021-06-24 21:34:33 +03:00
Sergeanur
23755fdfb4
Fix bullet trace sound offset
2021-06-24 21:34:33 +03:00
Sergeanur
793e1223de
fix
2021-06-24 21:34:33 +03:00
Sergeanur
fad64667a7
Fix some timer calls
2021-06-24 21:34:33 +03:00
Sergeanur
6e4a2947ea
Fix sin & cos calls
2021-06-24 21:34:33 +03:00
Sergeanur
f2c8522daa
Fix IsSphereVisible calls
2021-06-24 21:34:33 +03:00
aap
93e9929925
CEntity and C(Vu)Vector fixes and cleanup
2021-06-24 21:34:33 +03:00
Sergeanur
be019c6126
Undef PS2_AUDIO_CHANNELS for SQUEEZE_PERFORMANCE and VANILLA_DEFINES
...
# Conflicts:
# src/core/config.h
2021-06-24 21:34:33 +03:00
Sergeanur
02655313e9
Increase the number of audio channels to PS2 count and some small audio fixes
2021-06-24 21:34:33 +03:00
Sergeanur
59ed4d0029
Fix MAX_DIGITAL_MIXER_CHANNELS
2021-06-24 21:34:33 +03:00
majestic
42e655b4cc
some fixes for CPed
2021-06-24 21:34:32 +03:00
Sergeanur
5bcdb933a7
Use bool8 in audio code
2021-06-24 21:34:32 +03:00
Sergeanur
bd94c16e78
Fix C3dMarkers::PlaceMarker calls in Radar
2021-06-24 21:34:32 +03:00
erorcun
618d689dff
Pool fixes + peds not forming circle fix
2021-06-24 21:34:28 +03:00
Sergeanur
5c1af537af
Don't restart OAL device when switching EAX
2021-06-24 21:32:44 +03:00
Sergeanur
a446dbefaa
Fix police scanner on high fps
2021-06-24 21:32:44 +03:00
Sergeanur
2592da2273
Remove frameTime, fix pause mode timer
2021-06-24 21:32:44 +03:00
Sergeanur
b90784da90
Make times more accurate
2021-06-24 21:32:44 +03:00
Sergeanur
f741101e44
Fix redone + add hud fix
2021-06-24 21:32:44 +03:00
Sergeanur
cacec36dd1
Fix cut off sfx on high framerates
2021-06-24 21:32:44 +03:00
Sergeanur
f2390deaa9
Make sampman stream functions default to stream 0
2021-06-24 21:32:44 +03:00
Sergeanur
8fc99387f5
Fix use of enum in ped comment banks switch
2021-06-24 21:32:44 +03:00
Sergeanur
939d0c59a3
Add macros to set sample loop offsets
2021-06-24 21:32:44 +03:00
Sergeanur
edc25a689f
Fix typo
2021-06-24 21:32:44 +03:00
Sergeanur
68b5270fe4
Fix some timer calls
2021-06-24 21:32:43 +03:00
Sergeanur
a11bf19b93
Fix sin & cos calls
2021-06-24 21:32:43 +03:00
Sergeanur
2ad3a75be5
Fix IsSphereVisible calls
2021-06-24 21:32:43 +03:00
aap
50058371ef
CEntity and C(Vu)Vector fixes and cleanup
2021-06-24 21:32:43 +03:00
Sergeanur
ce0a097392
Undef PS2_AUDIO_CHANNELS for SQUEEZE_PERFORMANCE and VANILLA_DEFINES
2021-06-24 21:32:43 +03:00
Sergeanur
1e084dfab7
Set number of stereo sources
2021-06-24 21:32:43 +03:00
Sergeanur
5a55d3a949
Patch PolRadio
2021-06-24 21:32:43 +03:00
Sergeanur
7a2dbd9112
Increase the number of audio channels to PS2 count and some small audio fixes
2021-06-24 21:32:43 +03:00
Sergeanur
c9804510d1
This means sound should be panned right, not volume
2021-06-24 21:32:43 +03:00
Sergeanur
c37f4c3c1a
Fix cAudioManager::SetupJumboFlySound
2021-06-24 21:32:43 +03:00
Sergeanur
319bf9d8d2
Fix return type
2021-06-24 21:32:43 +03:00
Sergeanur
786e101acf
Use bool8 in audio code
2021-06-24 21:32:43 +03:00
Sergeanur
596e12b897
Fix C3dMarkers::PlaceMarker calls in Radar
2021-06-24 21:32:43 +03:00
Sergeanur
4a9d890ae9
Fix quiet police scanner on OpenAL
2021-06-24 21:32:43 +03:00
Sergeanur
873c4fc81e
Make gang members react to sexy females
2021-06-24 21:32:43 +03:00
Sergeanur
f518676b76
fabs -> fabsf
2021-06-24 21:32:43 +03:00
Sergeanur
0f6583560d
small RoadBlock fix
2021-06-24 21:32:43 +03:00
Sergeanur
6537dfe7f1
Use some GetMatrix/SetMatrix logic based on SA + CutsceneHead fix
2021-06-24 21:32:43 +03:00
aap
f2b59f5097
update librw
2021-06-24 21:32:43 +03:00
erorcun
8ae4859398
Fix FPE
2021-06-24 21:32:43 +03:00
aap
c4f231deb4
experiment: sorted building list for new renderer
2021-06-24 21:32:43 +03:00