UnknownShadow200
e8bc122b8d
Fix OSX build
2019-10-12 11:53:48 +11:00
UnknownShadow200
6d275b5cd7
Attempt to fix clipboard in web client with IE11
...
Sorta works when an input textbox is selected
2019-10-12 11:49:45 +11:00
UnknownShadow200
52ae9a2beb
Fix trying to save over existing map not doing anything (Thanks Fam0r)
2019-10-12 08:50:28 +11:00
UnknownShadow200
bbd0af1912
Fix launcher background stuffing up when either fully black or white (Thanks DuckTummy)
2019-10-12 08:06:04 +11:00
UnknownShadow200
db33497d03
WIP on adding a download button to save map menu in web client
...
I've only tested this on chrome, dunno if it works with other browsers. And it doesn't interact properly with the save as dialog, so there's a chance the game could corrupt the memory holding the compressed map data in the background.
2019-10-11 23:29:15 +11:00
UnknownShadow200
616e0673be
Keep in register instead of passing through a pointer in Builder1DPart_CalcOffsets
2019-10-10 21:49:05 +11:00
UnknownShadow200
3798a2d6e2
Avoid a pointless matrix copy and multiply in Entity_GetTransform
2019-10-10 19:55:05 +11:00
UnknownShadow200
2465b488d4
Start replacing static inline methods with macros
...
Although they got inlined on the desktop builds, they do not in the web client. Worse than that though, the .js file ends up with multiple copies of the same method. (For instance there are 14 copies of Vec3_Add)
2019-10-10 18:10:39 +11:00
UnknownShadow200
7eec5b3b5b
Fix system fonts
2019-10-10 15:06:06 +11:00
UnknownShadow200
7b1f08b06f
ReturnCode -> cc_result
2019-10-10 13:30:07 +11:00
UnknownShadow200
540bd993b2
bool -> cc_bool, for better compatibility with system headers that define bool type
2019-10-10 13:20:30 +11:00
UnknownShadow200
060afd7d7b
Fix R/G/B not being clamped in Gradient_Blend
2019-10-10 10:57:06 +11:00
UnknownShadow200
5513d49b85
Merge pull request #607 from UnknownShadow200/BitmapColRewrite
...
Bitmap col rewrite
2019-10-10 10:49:48 +11:00
UnknownShadow200
657a967910
Only load register once instead of 3-4 times per iteration in Png_MakeRow
2019-10-09 07:50:48 +11:00
UnknownShadow200
e07712d725
Better c89 compatibility
2019-10-07 20:33:16 +11:00
UnknownShadow200
955cfd151f
Fix textures on big-endian systems.
...
We must not forget our PowerPC comrades
2019-10-07 19:40:55 +11:00
UnknownShadow200
b62a78765d
Remove Math_FastTan
...
Despite the name, it's not even fast at all. And it's only used from one place where replacing with a simple sin(x) / cos(x) will do anyways.
2019-10-07 18:08:48 +11:00
UnknownShadow200
80ee35fdce
Fix all compile errors
...
Hopefully didn't break too much
2019-10-07 17:55:04 +11:00
UnknownShadow200
d7d73fa526
less compile errors
2019-10-07 14:56:16 +11:00
UnknownShadow200
0053d2245d
add much more detail about supported platforms
2019-10-07 13:23:07 +11:00
UnknownShadow200
df31c95f83
Initial WIP on making BitmapCol raw uint32.
...
Also causes hundreds of compile errors, oops.
2019-10-06 14:01:31 +11:00
UnknownShadow200
e0620c5887
Add a few explicit casts so less errors when compiling as C++
2019-10-06 13:58:10 +11:00
UnknownShadow200
97241ac63c
Merge pull request #606 from UnknownShadow200/ColRewrite
...
Col rewrite
2019-10-06 10:39:17 +11:00
UnknownShadow200
7d9a18a7c1
Save a few instructions because we don't need to mask with 255 in PackedCol_Tint
2019-10-06 10:28:56 +11:00
UnknownShadow200
e5f8678140
Fix plugins not working with non-MSVC builds
2019-10-06 09:11:36 +11:00
UnknownShadow200
aa05582f7e
Fix PackedCol to work on big endian. We must not forget our PowerPC brethren.
2019-10-04 20:06:34 +10:00
UnknownShadow200
1de1f2ac64
Fix OpenGL build
2019-10-04 19:02:44 +10:00
UnknownShadow200
ddd8c3c409
Fix failing to compile with OpenGL backend
2019-10-04 08:13:38 +10:00
UnknownShadow200
70db1453e9
Fix not compiling with really old GCC (e.g. ancient powerpc mac)
2019-10-04 07:46:21 +10:00
UnknownShadow200
387ff702b6
Make default env colours constants instead of const variables
2019-10-03 16:58:54 +10:00
UnknownShadow200
d98584f898
Use raw uint32_t instead of union for PackedCol
...
Hopefully this doesn't break too much
2019-10-03 15:35:39 +10:00
UnknownShadow200
ab1dc2418c
Make multiplying two colours a function instead of inline
...
Despite its appearance, it balloons to 30-40 instructions
2019-10-03 13:47:32 +10:00
UnknownShadow200
5675887e0e
revert msgbox on osx
2019-10-03 09:01:01 +10:00
UnknownShadow200
baf8a1dbc7
show a msgbox of where I'm running from on osx
2019-10-03 08:50:38 +10:00
UnknownShadow200
5ca7aab58b
Release 1.0.8
1.0.8
2019-10-03 08:22:35 +10:00
UnknownShadow200
1335161864
Show cursor before showing message box on all backends, not just the carbon/cocoa backends.
2019-10-03 08:12:26 +10:00
UnknownShadow200
61284060c4
Fix cocoa backend not compiling
2019-10-03 07:54:47 +10:00
UnknownShadow200
2cf32a7c31
Cache frequently used selectors instead of calling sel_registerName all the time in cocoa backend
2019-10-03 07:50:01 +10:00
UnknownShadow200
ca0698c083
hide some stuff that didn't need to be exposed publicly in Graphics.h
2019-10-01 22:27:13 +10:00
UnknownShadow200
1e1e6fc199
Only raise mouse down/up/move events when mouse is inside window on cocoa backend
...
Also remove debugging print statements
2019-09-30 21:56:41 +10:00
UnknownShadow200
1677f82580
Fix resizing from bottom left instead of top left corner with /client resolution on cocoa backend
2019-09-30 21:32:13 +10:00
UnknownShadow200
e5ed98c5ce
Make scroll wheel must less janky on cocoa
2019-09-30 21:07:14 +10:00
UnknownShadow200
7431825e5f
Fix mouse being invisible with dialog boxes and fix /client res insta-crashing with cocoa backend
2019-09-30 17:15:12 +10:00
UnknownShadow200
5d64fbb6ac
Attempt to fix texture warping of bedrock outside map at certain angles with 4096 render distance (thanks tornato)
...
Done by breaking down into 2048x2048 instead of 65536x65536 quads at most
2019-09-29 23:20:26 +10:00
UnknownShadow200
4fa3dd2173
Map numpad clear on OSX keyboards to num lock
2019-09-29 22:27:31 +10:00
UnknownShadow200
ed193a0a92
Implement down/up for modifier flags in cocoa backend (shift/ctrl/alt/cmd/caps lock)
2019-09-29 22:14:42 +10:00
UnknownShadow200
23880246fb
64 bit osx build now updates to 64 bit osx version
2019-09-29 18:39:49 +10:00
UnknownShadow200
bdf9482fa5
print less debugging info
2019-09-29 17:55:58 +10:00
UnknownShadow200
07c4a4795c
Add documentation for building 64 bit cocoa backend
...
Also show 'alpha' instead of 'beta' for coca backend in titlebar
2019-09-29 17:51:27 +10:00
UnknownShadow200
5140d604cf
Implement cursor hiding/showing on cocoa backend
2019-09-29 17:44:05 +10:00