Commit Graph

58 Commits

Author SHA1 Message Date
blondie7575
92a3a9040e Better clamping for terrain chunk compiling 2023-08-04 19:37:09 -07:00
blondie7575
49c1b08cb0 Bug fix for terrain chunk recompiling 2023-08-04 19:23:08 -07:00
blondie7575
fad2daa4d7 Terrain chunk compiler now rectangular!
This greatly speeds it up and allows vertical slice compiling to eliminate most false terrain overhangs
2023-07-30 11:09:45 -07:00
blondie7575
2c1100f0b8 Fixed nasty memory overwrite
If terrain crater was on a mountain top, the crate math tried to compile above max terrain height
2023-07-22 18:01:10 -07:00
blondie7575
f613e7460c Fixed a nasty memory overwrite in terrain compiler
If a bomb landed just right near screen bottom, terrain chunk compiler would spray RAM with terrain data
2023-07-17 16:53:19 -07:00
blondie7575
4a9958e5ac Added power indicator to crosshair
Fixed years-old bug in terrain unclipper which caused it to spray garbage in bank 3. My god, what a bug.
2023-06-25 18:43:07 -07:00
blondie7575
ee42046090 Added mining and currency spend for weapons 2021-09-23 12:36:48 -06:00
blondie7575
5490294c5f Dirt explosions now happen at point of projectile hit 2020-01-05 15:48:59 -08:00
blondie7575
9baa167896 Only recompile affected terrain rows for cratering 2019-12-29 10:26:38 -07:00
blondie7575
d0c67b907d Fixed stepping on a bunch of GS jump tables
Disabled fill-mode code in bank E1, because it wasn’t useful enough, and was stepping all over important GS things.
2018-07-28 15:46:54 -07:00
blondie7575
f599267718 Fixed compiled terrain rendering
I thought it was working after the merging with fill mode, but it actually wasn’t. Should be now. Using only compiled rendering as of this commit.
2018-07-24 18:43:41 -07:00
blondie7575
62fc459fba Fixed a nasty bug in cratering 2018-06-11 18:01:19 -06:00
blondie7575
24269638fb Fixed stack-based clip/unclip 2018-03-05 12:32:05 -08:00
blondie7575
3292511ba8 Partial clipping working in merged renderer 2018-01-21 15:41:29 -08:00
blondie7575
f0631386b1 Merged compile/span rendering working 2018-01-18 18:15:42 -08:00
blondie7575
4a8abaa1b4 Compiled terrain renderer re-integrated 2018-01-18 09:00:00 -08:00
blondie7575
f90edac57d Optimized span rendering moved to $E1 2018-01-16 12:56:53 -08:00
blondie7575
c82e9d8a30 First working version of virtual stack unrender
So fast!!
2018-01-06 15:30:06 -08:00
blondie7575
e0a48fc5ac Cleanup 2018-01-04 12:58:13 -08:00
blondie7575
bbbea9b2be Lookup for render span VRAM rows 2017-12-27 10:06:42 -07:00
blondie7575
3e5a8ab86f Cleanup 2017-12-27 09:57:52 -07:00
blondie7575
d2c5ef675f Much faster span cache management 2017-12-25 22:41:09 -07:00
blondie7575
ee9645c47d Basic unrendering of spans working 2017-12-25 22:23:22 -07:00
blondie7575
157ec99cc7 Partial fill mode now working 2017-12-24 12:36:31 -07:00
blondie7575
c55d07c16d Groundwork for span-based fill mode rendering 2017-12-23 19:01:16 -07:00
blondie7575
2319adb9f5 Top to bottom terrain rendering 2017-11-01 12:43:18 -07:00
blondie7575
8afd161eb7 Visual improvements
- Blue sky
- More legible text
- Removed debug terrain
- Nicer player positions
2017-10-23 12:40:44 -07:00
blondie7575
5d04f335e0 Added crater clipping to terrain edges 2017-09-18 12:51:01 -07:00
blondie7575
21a6d85fc0 Fixed craters on hi-res terrain 2017-09-17 16:17:27 -07:00
blondie7575
3db012d2c0 Smooth terrain working!! 2017-09-17 13:39:10 -07:00
blondie7575
32f7d99c33 Seemingly working rendering with PHY added 2017-09-15 18:10:59 -07:00
blondie7575
b0588cd14f Terrain data resolution doubled 2017-09-13 10:56:34 -06:00
blondie7575
9a4d9e7fb7 First pass on terrain craters
Also refactored collision/physics functions for improved appearance
2017-09-13 07:53:40 -06:00
blondie7575
72f724ff29 Added player collision checks 2017-09-02 20:52:19 -07:00
blondie7575
22ebc76c61 Added player constructor
- Fixed horizontal object clipping
2017-09-02 12:32:40 -07:00
blondie7575
1f4051b9db Basic collision detection on terrain working 2017-08-31 12:55:02 -07:00
blondie7575
bfc3144c89 More work on firing
- Space key hooked up
- Trig tables for angle/vector conversion
2017-08-20 17:51:12 -07:00
blondie7575
f7b34308ea Moved to 16 bit sine table
- Also groundwork for projectiles
2017-08-20 15:15:46 -07:00
blondie7575
597c6b750e Cleanup 2017-08-13 14:56:23 -07:00
blondie7575
c412d4a021 Basic sine-wave terrain generation 2017-08-12 21:25:36 -07:00
blondie7575
4b4f322182 Full range scrolling working with clipped compiled terrain 2017-08-12 18:17:14 -07:00
blondie7575
ce3c428c31 Compiled terrain basically working, with clip/unclip 2017-08-12 15:41:25 -07:00
blondie7575
3c43a0bc78 VBL experiments 2017-08-09 19:33:52 -07:00
blondie7575
0a6c36c9b4 Optimization 2017-08-07 22:10:16 -07:00
blondie7575
0b5ba93a22 Optimization 2017-08-07 21:41:52 -07:00
blondie7575
e7ada08d40 Optimization 2017-08-07 20:50:08 -07:00
blondie7575
79cbbc1868 Revert "Negative XLEFT, almost saves a couple cycles"
This reverts commit ade60127d1.
2017-08-07 20:48:06 -07:00
blondie7575
ade60127d1 Negative XLEFT, almost saves a couple cycles 2017-08-07 20:47:17 -07:00
blondie7575
2ce5b45a91 Revert "Optimization"
This reverts commit af525a26fe.
2017-08-07 07:45:05 -07:00
blondie7575
af525a26fe Optimization 2017-08-06 16:33:56 -07:00