2089 Commits

Author SHA1 Message Date
UnknownShadow200
3811bb623b PointlessEventHandlers--; 2017-05-17 22:50:30 +10:00
UnknownShadow200
7953796732 Writing 64 bit integers is unused anyways, so remove the func 2017-05-17 22:49:11 +10:00
UnknownShadow200
73b6d9f489 Start porting stream I/O to C 2017-05-17 22:44:03 +10:00
UnknownShadow200
ad760bcc96 Port frustum culling to C 2017-05-17 21:52:26 +10:00
UnknownShadow200
32f6d4c783 Remove old .bin unpacker - if people still haven't updated by now, they will just have to redownload the sounds. 2017-05-17 21:21:00 +10:00
UnknownShadow200
2ecc614213 Port CuboidDrawer to C 2017-05-16 22:57:37 +10:00
UnknownShadow200
c87309176a Remove an obsolete bit of code 2017-05-15 20:54:06 +10:00
UnknownShadow200
424ba46364 Message box when default.zip missing 2017-05-14 11:56:51 +10:00
UnknownShadow200
a5d3dcf73b Fix all the C compilation errors. Don't know if code actually works though. 2017-05-13 21:56:13 +10:00
UnknownShadow200
7f59975176 Fix unchecked 'use classicube.net for skins' not working. (Thanks DireDay) 2017-05-13 19:22:35 +10:00
UnknownShadow200
44a64a3f4e Port ErrorHandler to C. 2017-05-13 14:22:54 +10:00
UnknownShadow200
b5e9233335 I don't like how github detects some of the code as C++ and Objective-C, apparently this fixes it. 2017-05-13 13:47:51 +10:00
UnknownShadow200
4fb9af812e Rename FastColour to PackedCol, start work on writing D3D9 resource creation methods in C.
Do I even have a clue what I'm doing?
2017-05-13 13:43:29 +10:00
UnknownShadow200
f6a4df5f6a Implement D3D9 resource methods in C, asides from resource creation. 2017-05-13 10:44:40 +10:00
UnknownShadow200
8e8e1707dd Fix compilation erorrs with new code. still need to implement remainingf D3D9 api funcs in C. 2017-05-13 08:52:54 +10:00
UnknownShadow200
eb1ca2be3f Port TerrainAtlas2D to C. 2017-05-13 08:32:29 +10:00
UnknownShadow200
90b1b1818d Remove all declarations in for loops, for pre C99 compatibility. 2017-05-13 00:03:11 +10:00
UnknownShadow200
5a49676c8a Start work on implementing 1D and 2D texture atlas in C. 2017-05-12 23:48:04 +10:00
UnknownShadow200
90181ed4db Add more stuff to C string API 2017-05-12 19:46:33 +10:00
UnknownShadow200
ff692478b3 Take declarations out of loops, for pre C99 compatibility. 2017-05-12 19:43:54 +10:00
UnknownShadow200
2a86fbb1c1 kill off // comments 2017-05-11 23:29:26 +10:00
UnknownShadow200
4bf6bbf054 Fix some minor issues 2017-05-11 23:19:41 +10:00
UnknownShadow200
d8efb47df7 Implement VertexStructs in C, fix incorrect declaration of ReadFile/WriteFile, add C99 typedefs for integer types 2017-05-11 22:54:19 +10:00
UnknownShadow200
0e78857604 Fix majority of C compilation errors. Do I even know what I'm doing? 2017-05-11 21:44:53 +10:00
UnknownShadow200
bea9194169 2.5% less compile errors 2017-05-11 21:32:58 +10:00
UnknownShadow200
0171abf800 Implement more matrix stuff in C. 2017-05-11 21:27:49 +10:00
UnknownShadow200
36863b0cec Create Matrix function headers in C 2017-05-11 19:54:20 +10:00
UnknownShadow200
9ccba753c5 Implement matrix push / pop in C 2017-05-11 13:42:31 +10:00
UnknownShadow200
c452405510 Implement event handlers 2017-05-11 13:27:20 +10:00
UnknownShadow200
dde7c6258e Implement WorldEnv in C 2017-05-10 17:56:25 +10:00
UnknownShadow200
63942793f0 Use macro for indexing coordinates 2017-05-10 13:38:35 +10:00
UnknownShadow200
b3c67bc711 Fix issue with updating not working on mono when space in path, fixes #391 2017-05-09 23:53:03 +10:00
UnknownShadow200
68e815e6ed Design initial event framework 2017-05-09 19:16:56 +10:00
UnknownShadow200
97de676d31 x 2017-05-09 11:47:12 +10:00
UnknownShadow200
8888576bcb Move NoShade out of BlockModel, more work on D3D9 api in C 2017-05-09 11:45:46 +10:00
UnknownShadow200
e37dd1a2c7 Initial work on porting WorldEnv to C.
Still need to think of how to do port event handling.
2017-05-09 10:00:19 +10:00
UnknownShadow200
7973d3b2b8 Implement World class in C 2017-05-09 09:34:19 +10:00
UnknownShadow200
b3beb74d84 Port Vector3I to C 2017-05-09 09:15:52 +10:00
UnknownShadow200
35aeb82fcf Remove unused functions from Vector3I, add world header 2017-05-08 23:12:57 +10:00
UnknownShadow200
4aad9a54cf less hardcoding in BlockModel 2017-05-08 23:00:29 +10:00
UnknownShadow200
e728e96be8 Move entity colour calculation to Entity 2017-05-08 22:51:40 +10:00
UnknownShadow200
34f84ef280 simplify a bit 2017-05-07 16:42:14 +10:00
UnknownShadow200
03fe4ddd8c implement more D3D9 funcs in C 2017-05-07 15:48:02 +10:00
UnknownShadow200
ec7fe00892 Port fog and alpha funcs of d3d9 api to C 2017-05-07 14:05:04 +10:00
UnknownShadow200
e6293df6a4 Implement basic file I/O operations in C 2017-05-07 13:27:14 +10:00
UnknownShadow200
734f27a9b9 less reliant on Block.Invalid 2017-05-05 20:17:12 +10:00
UnknownShadow200
6427db3f25 Port more stuff to C and fix some others 2017-05-04 15:49:01 +10:00
UnknownShadow200
d22cdb7e32 Port IGraphicsAPI to C 2017-05-04 15:48:26 +10:00
UnknownShadow200
ab2032d1d8 Fix trees causing IndexOutOfRange errors on maps with very low heights such as 16 2017-05-02 07:53:44 +10:00
UnknownShadow200
2a88a33379 Failing to download a sound isn't a critical error, should hopefully address #421. 2017-05-02 00:16:53 +10:00