Commit Graph

377 Commits

Author SHA1 Message Date
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
aap
dd901ebfa3 more work on initialization 2016-06-25 23:14:18 +02:00
aap
a906d58bcb redid the plugin system; some engine init stuff 2016-06-25 17:58:52 +02:00
aap
e3fa1fcc7f moved gl3 code here; added files i forgot last time 2016-06-24 15:24:58 +02:00
aap
9623bdbf11 reorganized files a bit; added missing file 2016-06-23 16:50:55 +02:00
aap
b7d0b04380 added very basic World 2016-06-23 16:39:34 +02:00
aap
3271713d16 some renaming, frame synching, camera update 2016-06-21 23:16:09 +02:00
aap
634a96be07 more error handling 2016-06-17 16:20:02 +02:00
aap
1bb17b3094 worked on error handling 2016-06-17 13:29:49 +02:00
aap
6e71e34933 implemented basic error system; restructured some files; replaced a few asserts 2016-06-17 00:06:37 +02:00
aap
416ee91bb7 more tidying up 2016-06-16 15:37:35 +02:00
aap
7a4fcce861 Merge branch 'master' of github.com:aap/librw 2016-06-16 14:12:51 +02:00
aap
30114667ed started tidying up 2016-06-16 14:10:46 +02:00
aap
6826652b58 committing old changes 2016-06-14 23:07:16 +02:00
aap
ee726b90a2 implemented some PDS pipelines used by Bully 2016-02-27 23:04:09 +01:00
aap
0c77e505f0 implemented some render state caching for d3d 2016-02-27 13:35:20 +01:00
aap
3902ab328e im an idiot 2016-02-25 01:02:07 +01:00
aap
cb40fd1555 implemented a case insensitive strncmp 2016-02-25 00:30:26 +01:00
aap
41226ef0c6 added conversion of indexed rasters for d3d8; fixed clump connection for lights and cameras 2016-02-24 23:56:27 +01:00
aap
63521d903f fixed atomic world bounding sphere 2016-02-24 07:41:55 +01:00
aap
a6a7b0e89c some work on ps2 pipelines, d3d rasters 2016-02-23 10:07:04 +01:00
aap
91291709d8 quat->mat 2016-02-18 18:23:38 +01:00
aap
9bc57a0641 atomic world bounding sphere 2016-02-18 14:56:10 +01:00
aap
7be2e634fe added sphere struct; implemented texture read and find callbacks 2016-02-18 14:29:04 +01:00
aap
8083f88049 changed atomic-clump connection 2016-02-17 23:59:05 +01:00
aap
abe10e7623 some matrix stuff for quiret (untested) 2016-02-17 14:26:49 +01:00
aap
37ec9e041a forgot files :( 2016-02-16 16:27:18 +01:00
aap
4a3cf2a602 minor change 2016-02-16 15:49:45 +01:00
aap
5b3370b479 minor matrix stuff 2016-02-16 08:40:19 +01:00
aap
290117e9be changed math functions again 2016-02-15 10:48:27 +01:00
aap
e1613108cf implemented some math classes 2016-02-14 23:58:11 +01:00
aap
cc77487fc0 implemented projection in Camera 2016-02-14 20:56:05 +01:00
aap
ad81510267 moved d3d rendering code here 2016-02-14 12:28:03 +01:00
aap
dc4011ba7a changes pipeline system a bit 2016-02-14 00:52:45 +01:00
aap
0e0cc1156c worked on rendering and frame ltm synching 2016-02-13 00:52:32 +01:00
aap
80a73f0ac5 d3d9 textures 2016-02-07 01:25:52 +01:00
aap
ef58d76bc0 various changes 2016-02-06 18:11:31 +01:00
aap
6d56a23dd1 small fixes 2016-01-26 13:53:08 +01:00
aap
d20a6c3d04 some changes 2016-01-24 01:42:51 +01:00
aap
56e48f4d76 improved uv animation code 2016-01-14 23:49:00 +01:00
aap
da0417571d implemented cameras for streaming 2016-01-13 08:58:15 +01:00
aap
02c809625a implemented many create/clone/destroy functions 2016-01-12 00:38:36 +01:00
aap
15872ba211 reworked the structs and got rid of c++ ctors/dtors 2016-01-11 18:22:59 +01:00
aap
efd41771a0 started implementing linked lists 2016-01-11 11:23:26 +01:00
aap
0aadf8c3c9 made most things build on linux again 2016-01-10 20:10:53 +01:00
aap
79c89ebbba moved iOS dff converter to rsltest 2016-01-10 18:18:03 +01:00
aap
a42bfb90ac implemented leeds dff stream read 2016-01-09 22:01:21 +01:00
aap
fab7f20c6d implemented basic PS2 rasters - no mipmaps yet 2016-01-03 19:45:51 +01:00
aap
cc1a83acda worked on insttest 2015-12-24 23:31:36 +01:00
aap
723807cec1 implemented PS2 SA instance 2015-12-24 16:43:10 +01:00
aap
b4427ee1ac implemented some leeds stuff 2015-12-21 20:11:55 +01:00
aap
37e1e239f9 unconvert ADC implemented 2015-12-20 13:05:32 +01:00
aap
83d1420dd1 more (or rather fewer) lcs fixes 2015-12-20 10:38:27 +01:00
aap
90b2d98b97 fixed more bugs and implemented better lcs conversion 2015-12-20 01:04:31 +01:00
aap
b7ec874b25 more fixes 2015-12-19 17:05:39 +01:00
aap
3aca9c9c7d fixed stuff 2015-12-19 15:40:34 +01:00
aap
5f2cd51ea1 convert LCS meshes cleanly 2015-12-19 14:47:59 +01:00
aap
4e81f31c6b fixed stipid holes in lcs meshes 2015-12-19 11:08:51 +01:00
aap
39711c0a32 almost-working lcs conversion 2015-12-18 17:34:12 +01:00
aap
9f9c36a4ef started work on LCS dffs 2015-12-18 01:10:42 +01:00
aap
66e67d5aff made switching platforms a little nicer 2015-12-17 22:15:59 +01:00
aap
32dfcf0fd2 implemented PDS plugin and uninstancing in SA pipes 2015-12-16 20:25:22 +01:00
aap
305f93f738 implemented ps2 uninstance 2015-12-14 18:52:50 +01:00
aap
3c0df895f1 fixed bug with texture allocation 2015-09-19 19:28:23 +02:00
aap
ee96da332f added palette support 2015-09-17 10:44:07 +02:00
aap
926b0a639a implemented basic read/write of xbox textures 2015-09-15 08:29:57 +02:00
aap
b39d9d2b89 implemented txd read/write and basic d3d8 native textures 2015-09-13 20:23:22 +02:00
aap
2671141370 implemented uv animations and some other stuff 2015-09-11 12:32:06 +02:00
aap
eedf096b39 forgot file 2015-09-09 23:28:37 +02:00
aap
c7fa3b3b8c implemented R* pipeline plugin, 2dfx and collision as placehoders, uvanim (no interpolation yet) 2015-09-09 23:26:16 +02:00
aap
fed5ea7c9a implemented xbox uninstance 2015-09-08 10:29:24 +02:00
aap
56bf3b2311 implemented d3d9 uninstance 2015-09-08 09:47:21 +02:00
aap
e330cd1743 implemented d3d8 uninstance 2015-09-07 23:00:28 +02:00
aap
0c96bc7b99 implemented d3d8 native data read/write and instance 2015-09-07 14:50:10 +02:00
aap
0f135f2de6 refactored skin plugin a bit; wrote xbox skin instance callback 2015-09-07 10:22:54 +02:00
aap
f09a1ab99f changed project structure, made VS projects, added d3d9 support and viewer, worked on xbox instancing 2015-09-06 13:31:42 +02:00
aap
c99e045e8d implemented xbox extra normals plugin 2015-08-17 10:24:24 +02:00
aap
3698d97c50 support for < 0x30400 dffs 2015-08-16 23:23:41 +02:00
aap
3639ada1c3 read/write ADC data, cant convert yet 2015-08-16 16:44:59 +02:00
aap
d04e97fb47 implemented xbox native geometry and skin 2015-08-15 23:22:51 +02:00
aap
6f8dccd095 small change to library id stamp 2015-08-11 23:40:57 +02:00
aap
fc043fbddb fixed major bug in frame stream write 2015-08-11 21:48:23 +02:00
aap
c620ad8692 uninstacing OpenGL geometry 2015-08-11 20:57:43 +02:00
aap
c84249900a implemented ogl skin pipe 2015-08-03 21:33:35 +02:00
aap
970786828d improved pipeline system 2015-08-03 18:30:10 +02:00
aap
db00759b8c further work on ps2 pipelines 2015-08-02 19:31:01 +02:00
aap
4d461dbfbd worked on ps2 pipelines 2015-08-01 23:03:10 +02:00
aap
99bdd4fd23 matfx pipeline values 2015-07-13 15:01:31 +02:00
aap
d832570142 basic PS2 instancing 2015-07-12 22:57:05 +02:00
aap
e9f638db05 started work on (ps2) pipelines 2015-07-11 23:48:11 +02:00
aap
c6589f55de texture mapping in ps2 test 2015-06-18 23:05:37 +02:00
aap
df419c63ef small change 2015-06-17 21:51:33 +02:00
aap
c0d9ecdf3f clean up; gl test compiles under freebsd (but see makefile) 2015-06-10 22:52:59 +02:00
quiret
900541f21e - fixed dependency on GCC, please look at it 2015-05-31 12:09:11 +02:00
quiret
d03c22dcd6 - added windows project files 2015-05-31 11:59:47 +02:00
aap
5247d1c26e Some fixes. 2015-01-26 20:23:45 +01:00
Angelo Papenhoff
ad21deaf0f Replaced C++ streams in tga functions. ps2 test builds again. 2015-01-26 10:15:26 +01:00
Angelo Papenhoff
d55e9ea43b Changed naming convention and clean up somewhat. ps2 test no longer links :( 2015-01-25 22:27:03 +01:00
Angelo Papenhoff
535b9f0042 Small fixes. 2015-01-22 08:40:44 +01:00
aap
a528142254 Fixed on windows. 2015-01-20 21:49:57 +01:00
Angelo Papenhoff
62c6fe006e Implemented basic TexDictionary. 2015-01-20 19:22:57 +01:00