toaster
b745b4fe1b
With permission from Kart Krew (Sal and Sryder specifically - they don't know WHY vanilla's using it):
...
* Port across the additional colour translation maps, including mobj-level support for "colorized" objects.
* Make Fangboss and both Metal Sonic objects greyscale if, on spawn, there is a player in the game who is not a spectator whose skin is that character.
* Allow bosses with MF_GRENADEBOUNCE to opt out of the MF2_FRET colour-flashing tomfoolery, and give this flag to Fang.
2019-06-18 17:55:57 +01:00
Jaime Passos
d0c295f44f
Hardware renderer: Disable Glide-specific texture handling
2019-05-26 17:41:10 -03:00
Steel Titanium
98c5a2c0f5
Generic model terminology
2019-05-02 22:55:45 -04:00
Digiku
5a48a22bb1
Update hw_md2.c -- add comment about anglef player->frameangle from Kart
2019-01-08 11:26:39 -05:00
Arthur
c0fbd2f841
Removed gr_voodoocompatibility as even low-power mobile devices do not have this limitation
...
No longer using byte2float in DrawPolygon -- use the surface color data directly
Vertex Buffer Objects for non-interpolated model frames
Removed some old unused paletted texture stuff
2018-12-27 00:35:29 -05:00
mazmazz
27eb51ae93
Ifdef nextFrame handling under USE_MODEL_NEXTFRAME
2018-12-19 10:33:13 -05:00
mazmazz
b8587c7bc1
Adapt re-enabled DrawMD2 code block for meshes
2018-12-19 00:38:00 -05:00
mazmazz
c39e8bfa0f
Hide/add Kart FTransform mirror and anglez behind ifdef
2018-12-19 00:17:51 -05:00
mazmazz
3af4faf19d
More hw_md2 merge errors; re-enable interpolation code block
2018-12-18 23:44:38 -05:00
mazmazz
0a8e633e43
hw_md2 merge errors
2018-12-18 22:50:00 -05:00
mazmazz
0fdf9dd11c
GCC compile fixes
2018-12-18 19:17:33 -05:00
Arthur
3c66ba8ea1
push test
2018-12-18 17:52:50 -05:00
Arthur
9f71cbecda
Support for 'tinyframes', and lots more optimization
2018-12-18 17:52:47 -05:00
Arthur
b762dc7bca
Common model format, with MD2/MD3 loading
2018-12-18 17:52:45 -05:00
Monster Iestyn
ef230df2c6
Ensure file is closed whenever MD2 reading errors happen
2018-10-27 18:53:38 +01:00
Monster Iestyn
2eb531cf20
Add MD2_INDENT and MD2_VERSION so we can cleanly check that it's a valid MD2 from magic number/version
2018-10-27 18:53:18 +01:00
mazmazz
d53201d45d
Use lightlist.extra_colormap double pointers in OpenGL
2018-09-12 16:28:55 -04:00
Monster Iestyn
71a40a8125
Merge branch 'md2-fopen-error' into 'master'
...
More helpful error messages
See merge request STJr/SRB2!243
2018-07-06 14:38:59 -04:00
Monster Iestyn
5758beb6b2
Merge branch 'md2-smoother-interpolation' into 'master'
...
Smoother MD2 interpolation
See merge request STJr/SRB2!224
2018-07-06 14:38:37 -04:00
Steel Titanium
af4d412d36
Include errno if not already included.
2018-05-13 16:04:34 -04:00
Steel Titanium
020853f7aa
More helpful error message
2018-05-13 15:35:38 -04:00
GoldenTails
332ac72de4
Update hw_md2.c
2018-05-13 14:34:08 -05:00
GoldenTails
b0a21732f6
Update hw_md2.c
2018-05-13 14:32:33 -05:00
GoldenTails
468c56ee2d
Fixed MD2 models not loading correctly on Linux
2018-05-13 14:19:36 -05:00
Steel Titanium
361bd92b4a
Smoother MD2 interpolation
2018-02-06 14:50:08 -05:00
toasterbabe
b2d43cc56b
(re-)fix MD2 interpoleration.
2017-11-02 14:33:56 +00:00
Monster Iestyn
b52c843139
Merge branch 'public_next'
2017-11-01 18:39:25 +00:00
Monster Iestyn
2b1fb67a5f
DrawMD2i: change duration and tics to INT32, fix up any related code
2017-10-30 19:12:51 +00:00
Alam Ed Arias
5986720789
Build: fixups
2017-09-28 11:01:52 -04:00
toaster
3cc14e3985
Merge branch 'directionchar' into 'master'
...
Autobrake & decoupling player sprite angle from camera angle
See merge request !69
2017-09-19 07:56:22 -04:00
toasterbabe
3c785cbe94
* Add Skid SPR2/state in preperation for directionchar.
...
* Clean up spr2 md2 code.
* Experimented but then commented out some stuff for homing attack.
2017-09-09 22:12:23 +01:00
toasterbabe
79dab78fd3
* Support FF_SPR2ENDSTATE in interpoleration.
...
* Fix skidding interpoleration bug.
2017-08-27 16:35:19 +01:00
toasterbabe
973f700dcf
* Make the model->spr2frames dynamically allocated. (There's only two settings - on and off - but that's better than it perpetually being on...)
...
* Fix up defaulting for DEAD to go to PAIN.
2017-08-27 14:56:07 +01:00
toasterbabe
76300026f8
* Added support for sprite2s to MD2s!
...
- Name each frame either SPR2_**** or SUPER**** (where **** is the 4-character name)
- If the name is 3 characters, '.' is accepted as a substitute for the '_', but a space/absent isn't (for tool-related reasons).
- Adds a big sprite2 index array to all models, even non-player ones. Sorry!
* Made MD2 frame interpoleration only work across the same spriteset (and sprite2set).
* Made MD2 frame interpoleration happen when there's less than a quarter of a second between frames, as opposed to the hardcoded specific animation disabling.
* Fixed sprite2-related typo in dehacked.c.
2017-08-26 18:56:23 +01:00
toasterbabe
2e6c09a636
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal.git into directionchar
...
# Conflicts:
# src/hardware/hw_main.c
2017-08-16 21:40:32 +01:00
toasterbabe
780f9b1645
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal.git into new_coop
...
# Conflicts:
# src/hardware/hw_md2.c
2017-08-07 20:36:14 +01:00
toasterbabe
8941379c64
Implementation of all the new skincolours. No new exe yet, though, since I'm still doin' stuff.
2017-07-22 23:24:12 +01:00
toasterbabe
2636375f94
GL supporting.
2017-04-07 16:51:43 +01:00
Monster Iestyn
817f0908e4
made HWR_CreateBlendedTexture's color switch case take up not so many lines, and only one V_GetColor call is used now
2016-11-07 18:34:51 +00:00
Monster Iestyn
bbd67a6960
Merge branch 'master' into opengl-improvements
2016-11-06 18:02:34 +00:00
Monster Iestyn
cb1fbbf345
Merge branch 'public_next'
2016-11-06 18:02:12 +00:00
Monster Iestyn
2dfb841c38
Correcting slight mistake I made
2016-11-06 17:50:04 +00:00
Monster Iestyn
05860b2fa1
Ensure file is closed whenever MD2 reading errors happen
2016-11-05 20:51:48 +00:00
Monster Iestyn
b00c680437
Add MD2_INDENT and MD2_VERSION so we can cleanly check that it's a valid MD2 from magic number/version
2016-11-05 20:40:48 +00:00
Monster Iestyn
2df7d8c4aa
Merge branch 'public_next'
2016-11-05 19:52:27 +00:00
Monster Iestyn
8909b7c27b
Change >= to >, I THINK having exactly 4096 vertices is safe?
2016-11-05 17:38:36 +00:00
Monster Iestyn
efe02e2a42
allow triangle/frame limits too
2016-11-03 22:53:49 +00:00
Monster Iestyn
561a0fe768
Attempt loading of an MD2 only once; if we failed then don't bother again
...
This keeps my new error messages from flooding the console and log.txt
2016-11-03 21:06:23 +00:00
Monster Iestyn
2ec972af54
check numVertices, bail out and print error message if there are too many
...
I added similar checks for the other num* but it seems some MD2s break the other limits without knowing anyway ...so I've commented these checks out for now, unless we have further discussion regarding them later on
2016-11-03 20:40:17 +00:00
toasterbabe
c70661186a
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal.git into flat_sprites
...
# Conflicts:
# src/dehacked.c
# src/p_inter.c
# src/p_pspr.h
2016-09-27 18:11:20 +01:00