Compare commits

...

2 Commits

Author SHA1 Message Date
Josh Pearson
36796dd7db Reduce rain streaks and drops to minimize PVR fillrate hit
Can improve performance by up to 10 FPS in areas when raining
2024-12-30 15:54:43 -07:00
Stefanos Kornilios Mitsis Poiitidis
72da27ef0b Edit README.md 2024-12-29 22:23:08 +00:00
3 changed files with 7 additions and 3 deletions

View File

@@ -28,12 +28,12 @@ You will also need the following tools installed
### Cloning the dca3-game repo and downloading the prebuilt elf
- Open dreamsdk shell
- type `git clone https://gitlab.com/skmp/dca3-game.git` (and press enter)
- type `git clone --branch alpha https://gitlab.com/skmp/dca3-game.git` (and press enter)
- It should take a moment and successfully clone the repo
- type `cd dca3-game/dreamcast` (and press enter)
- type `explorer .` (and press enter).
- A folder named dreamcast with some files should be open. Keep it on the side.
- Download the artifacts from https://gitlab.com/skmp/dca3-game/-/jobs/8725216645
- Download the Alpha Prebuilt Elf from https://gitlab.com/skmp/dca3-game/-/releases
- Open artifacts.zip and extract dca3.elf to the folder that was kept open before.
- Close the folder and dreamsdk shell

View File

@@ -301,7 +301,11 @@ void CWeather::AddRain()
float screen_width = SCREEN_WIDTH;
float screen_height = SCREEN_HEIGHT;
int cur_frame = (int)(3 * Rain) & 3;
#if defined(DC_SH4)
int num_drops = (int)(1 * Rain) + 2;
#elif
int num_drops = (int)(2 * Rain) + 2;
#endif
static int STATIC_RAIN_ANGLE = -45;
static int count = 1500;
static int add_angle = 1;

View File

@@ -58,7 +58,7 @@ public:
};
enum {
NUM_RAIN_STREAKS = 35
NUM_RAIN_STREAKS = 10
};
struct tRainStreak