Commit Graph

377 Commits

Author SHA1 Message Date
aap b3ad490d1b implemented vsynch for d3d9 and glfw 2020-05-02 10:08:19 +02:00
aap 3704fe8a9f fixed appveyor build 2020-05-01 21:31:07 +02:00
aap 02921ff848 implemented image format registry 2020-05-01 21:02:37 +02:00
aap fd191856c4 fixed tga headers 2020-05-01 19:23:27 +02:00
aap dfedaee353 little fix for d3d 2020-05-01 14:20:02 +02:00
aap e4b4bf9d16 made (most of) streaming work on big endian 2020-05-01 08:42:56 +02:00
aap 9a57633953 switched all c++ includes to c 2020-04-30 17:54:38 +02:00
aap d732817759 little fix for glfw 2020-04-30 10:17:00 +02:00
aap 86660a3ff3 fixed gl3 matfx 2020-04-29 21:31:29 +02:00
aap a312007893 implemented GS alpha test emu for gl3 2020-04-28 14:09:26 +02:00
aap 438397f411 silly me 2020-04-28 13:40:36 +02:00
aap 4f118dcd97 some work on gl3 2020-04-28 12:44:28 +02:00
aap eb71ca25d0 started working on gl3 rasters 2020-04-27 20:51:35 +02:00
aap 4db08e15e8 fixed tex addressing bug 2020-04-26 23:51:27 +02:00
aap 0c940480f0 changed camtex format 2020-04-26 21:51:33 +02:00
aap bae891fdd9 gl zbuffer silliness 2020-04-26 21:20:51 +02:00
aap 09b0b36e7d fixes for gl3 2020-04-26 20:14:52 +02:00
aap 43190a51f7 removed ugly imag/real from quat again 2020-04-25 15:55:38 +02:00
aap d8d13d4429 added GS alpha test emulation 2020-04-25 12:16:04 +02:00
aap 5ffbde3890 simplified d3d shaders now that we always have prelight declared 2020-04-25 10:07:37 +02:00
aap 1371a421e5 fixing the fix 2020-04-25 10:05:16 +02:00
aap 13307f0a27
Merge pull request #28 from ShFil119/master
Fix sdl and linux build
2020-04-25 00:45:51 +02:00
aap c4ffa3622a fixed more leaks 2020-04-25 00:37:49 +02:00
aap 7fdb483d4e nicer memory leak diagnostics 2020-04-24 22:58:35 +02:00
aap 0ddce08c94 fixed a memory leak 2020-04-24 22:00:23 +02:00
aap a0a3b077fd implemented some memory management 2020-04-24 21:09:28 +02:00
aap 5a16d845aa d3d9 improvements 2020-04-24 19:06:11 +02:00
Filip Gawin e3227f5558 Fix sdl and linux build 2020-04-24 18:43:15 +02:00
aap 374f951d7c fixes for RW compatibility 2020-04-23 22:18:53 +02:00
aap 752fceb1e3 fixed matfx; forgot skin file 2020-04-21 13:38:43 +02:00
aap a2b79a71aa implemented d3d9 skin pipe 2020-04-21 01:26:33 +02:00
aap d0d34f7327 more silly bugs 2020-04-20 20:37:59 +02:00
aap 75aeb30b79 some bad copy&paste bug 2020-04-20 20:25:53 +02:00
aap 5fa0e17986 forgot to upload compiled shaders 2020-04-20 20:16:53 +02:00
aap 808290e73e implemented shader fog 2020-04-20 19:18:28 +02:00
aap 8b677c4dd7 implemented d3d9 matfx env map 2020-04-20 15:42:07 +02:00
aap e012918cd3 implemented shader default and immediate pipeline for d3d9 2020-04-20 11:51:34 +02:00
aap 4541fe86f7 fix 2020-04-19 15:29:11 +02:00
aap f47bd33a6a implemented generic lighting callback 2020-04-19 13:00:35 +02:00
aap a7de23b47e implemented charset 2020-04-19 09:59:51 +02:00
aap e6c7d910ff implemented some more World stuff 2020-04-18 20:30:22 +02:00
aap 59cedaa793 implemented raster from image stuff for gl3 and ps2 (not tested) 2020-04-18 11:19:22 +02:00
aap 49c218b3a7 removed alpha channel from d3d cam textures 2020-04-18 09:47:19 +02:00
aap 343694329f little hanim fix 2020-04-18 00:16:50 +02:00
aap d38ebcd64f little fix 2020-04-17 23:46:03 +02:00
aap 4893889621 reworked raster from image conversion, only d3d for now 2020-04-17 21:44:32 +02:00
aap 206547b404 fixes to d3d; implemented some allocation counters 2020-04-17 14:57:30 +02:00
aap 7bd6d4649e fixed handling of lost d3d device 2020-04-16 23:09:47 +02:00
aap ba7070f6e8 fixed hanim a bit 2020-04-16 20:10:45 +02:00
aap 7cea137baf fixed ztest on d3d9; texture refcounting in matfx 2020-04-16 18:40:11 +02:00
aap eb49dd007c little work on gl3 rasters 2020-04-16 17:46:42 +02:00
aap f1c9112f27 implemented reinstancing for d3d9 2020-04-16 12:53:25 +02:00
aap 47fcb3001a worked on raters; fixed a few issues 2020-04-16 09:10:11 +02:00
aap 60450ec6f7 implemented BMP reader 2020-04-15 14:00:34 +02:00
aap 2d345499d2 subsystems and videomodes implemented (except SDL2); smaller fixes too 2020-04-15 10:14:06 +02:00
aap 5685e6109e work on rasters 2019-08-07 22:37:43 +02:00
aap 0c8398c7e4 Merge branch 'master' of github.com:aap/librw 2019-08-04 23:52:10 +02:00
aap 14c773d35a ps2 raster conversion 2019-08-04 23:52:03 +02:00
Cameron Cawley f2891e006b Fix additional MinGW warnings 2019-01-10 16:12:05 +00:00
Cameron Cawley da28d103c9 Fix compilation with MinGW 2019-01-10 16:11:39 +00:00
aap 6b36390bdc implemented simple tri stripping 2019-01-10 10:17:53 +01:00
aap 0b968c9866 Merge branch 'master' of github.com:aap/librw 2018-12-17 21:24:11 +01:00
aap c62c1464d7 fixed sky mipmap stream write; experimented with software pipeline 2018-12-17 21:23:41 +01:00
aap a72c28275b
Merge pull request #24 from madebr/premake_original
Add travis and appveyor support + SDL2
2018-08-09 09:52:29 +02:00
Anonymous Maarten 86571b650b Add support for SDL2 2018-08-08 23:42:27 +02:00
Anonymous Maarten 9ef08cbb19 fix 'warning: suggest parentheses around arithmetic in operand of ‘|’' in public headers 2018-08-08 18:11:07 +02:00
Anonymous Maarten 12269003da fix 'error: ‘uint8’ was not declared in this scope' 2018-08-08 18:11:07 +02:00
Anonymous Maarten 020e66a282 fix 'warning: overflow in conversion from ‘rw::Errors’ to ‘rw::int32’ {aka ‘int’} changes value from ‘(rw::Errors)2147483650’ to ‘-2147483646’ [-Woverflow]' 2018-08-08 18:11:07 +02:00
Anonymous Maarten add55f08c5 fix 'warning: implicit conversion from ‘rw::float32’ {aka ‘float’} to ‘double’ to match other operand of binary expression [-Wdouble-promotion]' 2018-08-08 18:11:07 +02:00
Anonymous Maarten b38cbc7961 fix 'comma at end of enumerator list [-Wpedantic]' 2018-07-13 02:08:52 +02:00
Anonymous Maarten 3edb391f9c fix file modes 2018-07-11 16:29:49 +02:00
aap b1c3c1dca8 some bug fixes 2018-07-04 19:21:34 +02:00
aap 2cffb3f494 implemented texture raster renderstates 2018-07-02 07:01:34 +02:00
aap e6d01b1159 fixed view matrix; im2d UV 2018-06-14 23:17:55 +02:00
aap 5cdc0499c5 fixed d3d state cache 2018-06-14 15:20:45 +02:00
aap 92244638ef added Atomic;set\getFlags 2018-05-26 10:07:19 +02:00
aap 9fc46eac37 added some consts :( 2018-05-24 00:53:50 +02:00
aap 70114f8e3e added some half pixel handling 2018-05-20 16:55:37 +02:00
aap 2721f48793 different way of attaching hanim nodes to frames 2018-03-18 22:45:24 +01:00
aap dbb131d92b fixed d3d9 rendering 2018-01-13 18:45:35 +01:00
aap 5fe9ca91e8 d3d9: code to emulate ps2 alpha test 2018-01-09 23:09:26 +01:00
aap 0c5295fe10 d3d: camera textures 2018-01-08 12:55:15 +01:00
aap d7406e30fb gl3 lighting callback 2018-01-07 20:20:51 +01:00
aap c0a5e0961d work on uvanims 2018-01-07 02:12:20 +01:00
aap 9b56671186 xbox raster to image 2018-01-05 16:53:16 +01:00
aap c60cecbd02 better ps2 swizzling code 2018-01-04 22:14:50 +01:00
aap e9d53fd834 fixed unswizzling bug 2018-01-03 23:38:25 +01:00
aap 96c2ddca29 work on ps2 rasters 2018-01-03 22:54:17 +01:00
aap 1872c235ab some device and pipeline fixes 2018-01-03 18:02:02 +01:00
aap ddca04fdc2 added imguizmo; subraster handling etc 2017-12-31 10:50:49 +01:00
aap 578c5f81fb implemented dear imgui for librw 2017-12-30 11:43:17 +01:00
aap d522a47120 various changes 2017-11-15 19:23:50 +01:00
aap 235d435b6b fixed (wdgl) native skin 2017-10-23 22:42:31 +02:00
aap b62da21ef8 implemented matrix to quaternion conversion 2017-10-22 12:19:00 +02:00
aap 9609a91848 fixed bug in im3d; worked on resizing windows 2017-10-21 22:21:36 +02:00
aap 7273afb9a3 some work on skeleton; fixed mesh bug 2017-10-20 22:38:28 +02:00
aap f9668df80e fixed some bugs 2017-10-04 22:08:26 +02:00
aap 017e86053a raster fixes 2017-09-16 23:19:54 +02:00
aap 239a4eb4bc fixed build for linux and ps2 2017-08-29 14:05:45 +02:00
aap d00ab2f526 implemented im3d for gl3 and d3d 2017-08-29 10:12:56 +02:00
aap c53d29b1cf implemented im2d for d3d, fun little software T&L renderer 2017-08-27 17:13:10 +02:00
aap ea48c140c1 improved engine init and plugin registration 2017-08-26 20:08:23 +02:00
aap 45b48b8f4e worked on allocation 2017-08-26 12:43:33 +02:00
aap 040bb6cb51 started moving to custom malloc/free 2017-08-24 15:10:34 +02:00
aap 6d38dea0d9 implemented userdata plugin 2017-08-23 12:21:23 +02:00
aap efec4e5acc transpose for rwio normal xform 2017-08-22 20:23:56 +02:00
aap 8fc446f13b fixed handling of NATIVE flag 2017-08-21 23:15:31 +02:00
aap 0d8dc5d799 Merge branch 'master' of github.com:aap/librw 2017-08-21 14:40:23 +02:00
aap 588d86e79a small stuff 2017-08-21 14:40:19 +02:00
aap 8e277cbe9c ps2 raster creation basically done 2017-08-19 23:09:45 +02:00
aap 75435b8934 mipmap allocation for ps2 rasters 2017-08-18 19:28:01 +02:00
aap aec8c202c6 starting work on ps2 driver 2017-08-12 10:50:41 +02:00
aap e5c2a66bd5 fixed some syntax errors 2017-08-10 14:48:18 +02:00
aap f7988a5fcc got rid of PluginBase inhertiance because ps2 gcc complained about non-POD types 2017-08-10 14:43:52 +02:00
aap 497796e550 wrote basic skeleton; clumpview 2017-08-10 00:42:33 +02:00
aap 70739e354e worked on engine and d3ddriver 2017-08-09 11:01:43 +02:00
aap 4653f7e81e using proper types 2017-08-05 01:44:37 +02:00
aap 9a26a380a8 made almost all classes POD 2017-08-04 21:47:15 +02:00
aap 36c01a4c70 implemented matrix flags 2017-08-04 19:54:03 +02:00
aap f043126233 fixes to matfx 2017-07-29 16:09:11 +02:00
aap a3d8e3ba01 fixed gl3 renderer 2017-07-27 15:13:04 +02:00
Martin Turski ed86df0675 added NOMINMAX macro-def to exclude min and max definitions of the Windows.h header 2017-07-21 00:07:42 +02:00
aap 12e998800e fixed build for ps2 2017-07-12 10:10:57 +02:00
aap f1d04ff732 committing old changes and a fix 2017-07-11 08:23:16 +02:00
aap e3c1f30856 implemented MaterialList struct 2017-03-16 11:42:59 +01:00
aap 4941711964 started implementing tristrip; implemented camera frustum 2017-03-16 01:10:01 +01:00
aap c2780d56e9 added correction of face winding in tristrips 2017-03-09 11:45:26 +01:00
Martin Turski c65708ff2e - improved project file structure
- added common IDE generated files to .gitignore so they do not pop up in commit dialogs anymore
- fixed some warnings in code files
2016-10-22 12:17:05 +02:00
aap c0adc2cb1b added some very basic im2d stuff to gl3 2016-08-21 18:20:27 +02:00
aap 2cd032a79e some texture fixes 2016-08-05 01:13:41 +02:00
aap a980b32e67 Merge branch 'master' of github.com:aap/librw 2016-08-03 20:33:01 +02:00
aap 46542cccb0 fixed pretty major bugs regarding frame dirty list 2016-08-03 20:32:43 +02:00
aap b556ad0d8a small change for windows/3ds max plugin 2016-07-25 12:45:08 +02:00
aap a391f263cb added Matrix create and destroy 2016-07-25 12:43:19 +02:00
aap 5c3240cce3 small changes 2016-07-21 17:06:56 +02:00
aap 0b5498c060 texture changes 2016-07-21 08:59:06 +02:00
aap 069c66b699 implemented DXT decompression 2016-07-19 23:37:37 +02:00
aap 69356264d7 hardcoded gl3 shaders; extended Image; bmp writer 2016-07-19 18:40:10 +02:00
aap 14547ef830 started looking into ps2 rasters again 2016-07-16 09:13:25 +02:00
aap 40fc1e24fc rasters 2016-07-15 11:55:52 +02:00
aap 5dff69431e got animation, hanim and skinning basically working 2016-07-11 20:27:21 +02:00
aap b1e55a7784 had messed up split skins 2016-07-10 12:48:04 +02:00
aap f4f4c088ff skin split streaming 2016-07-09 12:24:26 +02:00
aap bd06c54c57 worked on camera 2016-07-06 11:44:59 +02:00
aap dcbbdfe6b2 implemented fog for gl3 2016-07-05 18:22:22 +02:00
aap abe0bba5af worked on platform drivers 2016-07-05 11:36:43 +02:00
aap ad1ea4ca53 implemented matfx and cleaned up some whitespace 2016-06-29 12:53:02 +02:00
aap d3cff5c06c revised initialization again and restructured code for that 2016-06-27 21:59:35 +02:00
aap 454e7b8ac6 small init changes 2016-06-26 11:35:16 +02:00
aap 53647520bc split up some files 2016-06-26 11:16:33 +02:00