1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-01-16 20:38:55 +01:00

1426 Commits

Author SHA1 Message Date
notaz
28ee7ac923
32x fixes (#488)
* 32x: fix reset by adjusting slave irq mask to not block VRES

Otherwise the reset sequence can't complete because always has all irqs
masked.

* 32x: fix a deadlock on some versions of gcc

gcc doesn't know that gFrameIndex can change from irq and some gcc
versions overoptimize to not re-read gFrameIndex.

Alternative is to mark gFrameIndex volatile but that produces
redundant read instructions.
2024-05-14 00:18:35 +03:00
twojstaryzdomu
05361d3d37
analogue stick fix for raspberry pi (#463)
* Calibrate analogue gamepad sticks on rpi

* Allow overriding analogue stick centre on rpi

---------

Co-authored-by: twojstaryzdomu <twojstaryzdomu@github.com>
2024-03-02 05:16:31 +03:00
Rafael Guimarães
888e26f82a
Fixed Linux error where files could not be loaded (#484) 2024-03-02 05:15:26 +03:00
David Borel
5fb1adb90a
- Added haptics on SDL. (#486)
* - Added haptics on SDL.
- Using GL 3.1 context instead of 2.0.

* Undo experimental context version bump.
2024-03-02 05:14:10 +03:00
XProger
653da997a5 32x data 2024-01-03 20:03:54 +03:00
Ruben
931079c49b
GBA: Fix ADPCM encoding issues (#474)
* ADPCM: Add 8bit debugging, fix limit cycles

* ADPCM: Increase output gain
2023-09-10 21:01:08 +03:00
cookie99999
d2e363db88
Fix null dereference caused by osFixFileName, remove stray semicolon (#467) 2023-06-29 01:54:59 +03:00
XProger
7a021b6ede #452 fix atof call in AD4 encoder 2023-03-02 15:53:56 +03:00
XProger
87e3e79473 update stb_vorbis for better compatibility with the latest Xcode 2023-03-02 12:28:12 +03:00
XProger
e476d544ec #452 repack tracks with the latest AD4 2023-03-01 12:23:39 +03:00
XProger
50e051b7d7 #452 add AD4 converters 2023-03-01 11:26:41 +03:00
XProger
329b459137 Linux case-insensitive for file names 2023-03-01 06:18:26 +03:00
XProger
6033a1ffe1 macOS add popular gamepads support, fix game exit 2023-03-01 05:34:39 +03:00
XProger
50066382df #452 cleanup of the previous fix 2023-03-01 04:11:06 +03:00
XProger
76b0348108 #452 fix r7 corruption 2023-03-01 04:01:37 +03:00
XProger
960c685f58 #452 fix proper write 2023-03-01 03:41:34 +03:00
XProger
5e6dc2d77b #452 fix 4-byte writes 2023-03-01 03:34:35 +03:00
Ruben
4876cc8f0e
GBA: Micro-optimization, and new ADPCM format for tracks (#452)
* GBA: Slightly faster clamping in sndPCM_mix

* GBA: Change IMA-ADPCM to new format...

... and fix a race condition when writing to music.data.

* GBA: Properly clear buffer on end-of-track

* GBA: Update packer for new ADPCM format

* GBA: Make music output clamp optional...

... and disable it by default, as the music has been built to avoid overflows.

* GBA: Add reference ADPCM encoder

* GBA: Re-encode music

* GBA: Improve ADPCM encoder

Minimize RMSE of post-filtered output rather than pre-filtered

* GBA: Fix ADPCM issues with silence
2023-03-01 03:04:52 +03:00
XProger
2763743038 GBA packer for delta indices, TNS fix, MinGW compilation fix 2023-03-01 02:58:53 +03:00
Vicente Carrasco
c7fe8ec3b4
Restored PSP build, added fog to it (#451)
Co-authored-by: Vicente Carrasco Álvarez <vicente.carrasco@usach.cl>
2023-01-08 21:17:48 +03:00
XProger
bcd5de23ed fix d3d11 build, fix Intel HD 4000 timing bug 2023-01-01 21:57:14 +03:00
XProger
4e9b92e5a4 #407 32X optimizations, increase fog distance (2 blocks) 2022-12-24 11:23:42 +03:00
XProger
d268754786 fix for Android 13 support 2022-12-24 11:15:33 +03:00
XProger
f4d36d8b55 #368 GBA delta encoding for room quads and mesh indices, OT depth calc optimization, merge near/far clipping flags (CLIP_PLANE) to clear one of high-bits, revert smull optimization for scaleUV due overflow issues (low half word affects high) 2022-12-11 07:21:40 +03:00
XProger
40eb268b3a #368 GBA clearFB_asm + sndClear_asm instead of DMA fill, increase fog distance (2 blocks) 2022-12-05 04:18:15 +03:00
XProger
f1c1d835fc #368 GBA apply changes to transformRoomUW 2022-12-05 00:57:05 +03:00
XProger
dd05e19d9f #368 GBA move rooms data to VRAM (experimental), simplify room transform code 2022-12-05 00:25:21 +03:00
XProger
17d13c4ae0 #368 GBA more conditional muls, matrixSetIdentity_asm optimization 2022-12-04 05:33:50 +03:00
XProger
5c135242f5 #368 GBA conditional mul in rasterizer 2022-12-04 04:58:45 +03:00
XProger
3ba5ec3818 #368 GBA matrixRotateYXZ fetch sincos address lut once 2022-12-04 03:15:53 +03:00
XProger
4bb76c204f #368 GBA matrixRotateYXZ_fast_asm (pre-shifted angles) 2022-12-04 02:16:38 +03:00
XProger
f7d6d4de9e #368 GBA matrixFrame_asm 2022-12-04 01:23:05 +03:00
XProger
90e03fa38b #368 GBA pre-shift z by OT_SHIFT, pre-shift mesh vertex coords, fog math optims 2022-12-03 18:23:19 +03:00
XProger
b1a559002c #368 GBA audio processing optimizations, enable VRAM meshes, cleanup rendering constants 2022-12-01 17:50:11 +03:00
XProger
b70eadecef #368 GBA matrix rotation optimization 2022-12-01 16:07:39 +03:00
XProger
329e69fcfb #368 GBA put some meshes to available VRAM 2022-12-01 16:05:20 +03:00
XProger
0d8cae5a53 #368 GBA sound buffer switch optimization (one MUL, minor) 2022-11-28 03:36:37 +03:00
XProger
590c7cf1e3 #368 GBA sound mixing optimization 2022-11-28 02:49:59 +03:00
XProger
b60788ef4e #368 fix stack overflow, fix transformRoom_c 2022-11-26 23:24:46 +03:00
XProger
3ab926d272 fix DOS version build 2022-11-26 01:30:21 +03:00
XProger
1de9bbdbdb minor fixes 2022-11-26 01:28:52 +03:00
XProger
119f47aa0a #407 32X data packer (WIP) 2022-11-26 01:24:59 +03:00
XProger
9418492ad7 #368 GBA data packer (PKD & WAD) 2022-11-26 01:24:19 +03:00
XProger
a311245b81 #368 GBA mul (8-bit for rooms), div, branch & loads optims 2022-11-26 01:22:44 +03:00
Ricardo Mendes
39c9be9c2d
Avoids creating the player if inventory open. (#442)
Otherwise if cStart was binded to an item selection key in inventory it would reset the player.
2022-08-27 04:34:02 +03:00
Ricardo Mendes
7d94f1223a
Fix crash when loading with picked up items. (#441)
If picked up items were still being displayed in the corner of the screen when loading a save or a new level it would crash by trying to animate an item no longer available.
2022-08-23 22:27:18 +03:00
elektronicznypank
51bf7cdaef
Update pl.h (#436)
One " too much, deleting makes build.sh script works again.
2022-08-09 13:08:52 +03:00
Jolek
0bcb4d652f
Update "pl.h". (#435)
* Update "pl.h".

Added missing strings and updated Polish translation.

* Update "pl.h".

Added missing strings and updated Polish translation.
2022-08-06 20:41:12 +03:00
XProger
c7e6e5f763 #370 3DO fix build 2022-07-03 03:00:09 +03:00
XProger
32a5459110 #407 OT processing optimizations (next/prev vertex index pre-fill) 2022-07-02 05:19:52 +03:00