This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - Adriweb
Pages: 1 ... 58 59 [60] 61 62 ... 115
886
« on: September 29, 2012, 07:14:44 am »
Yeah, if only I knew earlier, it would have avoided the $150 more for him ... Better luck (&communication ) next time. Indeed we shall learn a lot more from these models soon
887
« on: September 28, 2012, 11:02:36 am »
By any chance would there be a way to get an autographed copy ? Edit : Out of curiosity, I don't remember if TI-Planet and Omnimaga are cited in the book ? (I just noticed Persalteas ("Louis Becquey") got featured on the back page, congratz )
888
« on: September 27, 2012, 06:56:46 pm »
Just tested.
F*cking great, continue the awesome work.
889
« on: September 27, 2012, 05:07:01 pm »
Uh, let me reply quickly (I believe I'll have time to reply more deeply later) : I see you're using BetterLuaAPI ( ), however it's been updated in FormulaPro (maybe I forgot to update it on its repo ), and here's the new version, using a good gc : a_acute = string.uchar(225) a_circ = string.uchar(226) a_tilde = string.uchar(227) a_diaer = string.uchar(228) a_ring = string.uchar(229) e_acute = string.uchar(233) e_grave = string.uchar(232) o_acute = string.uchar(243) o_circ = string.uchar(244) l_alpha = string.uchar(945) l_beta = string.uchar(946) l_omega = string.uchar(2126) sup_plus = string.uchar(8314) sup_minus = string.uchar(8315) right_arrow = string.uchar(8594)
Color = { ["black"] = {0, 0, 0}, ["red"] = {255, 0, 0}, ["green"] = {0, 255, 0}, ["blue "] = {0, 0, 255}, ["white"] = {255, 255, 255}, ["brown"] = {165,42,42}, ["cyan"] = {0,255,255}, ["darkblue"] = {0,0,139}, ["darkred"] = {139,0,0}, ["fuchsia"] = {255,0,255}, ["gold"] = {255,215,0}, ["gray"] = {127,127,127}, ["grey"] = {127,127,127}, ["lightblue"] = {173,216,230}, ["lightgreen"] = {144,238,144}, ["magenta"] = {255,0,255}, ["maroon"] = {128,0,0}, ["navyblue"] = {159,175,223}, ["orange"] = {255,165,0}, ["palegreen"] = {152,251,152}, ["pink"] = {255,192,203}, ["purple"] = {128,0,128}, ["royalblue"] = {65,105,225}, ["salmon"] = {250,128,114}, ["seagreen"] = {46,139,87}, ["silver"] = {192,192,192}, ["turquoise"] = {64,224,208}, ["violet"] = {238,130,238}, ["yellow"] = {255,255,0} } Color.mt = {__index = function () return {0,0,0} end} setmetatable(Color,Color.mt)
function copyTable(t) local t2 = {} for k,v in pairs(t) do t2[k] = v end return t2 end
function deepcopy(t) -- This function recursively copies a table's contents, and ensures that metatables are preserved. That is, it will correctly clone a pure Lua object. if type(t) ~= 'table' then return t end local mt = getmetatable(t) local res = {} for k,v in pairs(t) do if type(v) == 'table' then v = deepcopy(v) end res[k] = v end setmetatable(res,mt) return res end -- from http://snippets.luacode.org/snippets/Deep_copy_of_a_Lua_Table_2
function utf8(nbr) return string.uchar(nbr) end
function test(arg) return arg and 1 or 0 end
function screenRefresh() return platform.window:invalidate() end
function pww() return platform.window:width() end
function pwh() return platform.window:height() end
function drawPoint(gc, x, y) gc:fillRect(x, y, 1, 1) end
function drawCircle(gc, x, y, diameter) gc:drawArc(x - diameter/2, y - diameter/2, diameter,diameter,0,360) end
function drawCenteredString(gc, str) gc:drawString(str, .5*(pww() - gc:getStringWidth(str)), .5*pwh(), "middle") end
function drawXCenteredString(gc, str, y) gc:drawString(str, .5*(pww() - gc:getStringWidth(str)), y, "top") end
function setColor(gc,theColor) if type(theColor) == "string" then theColor = string.lower(theColor) if type(Color[theColor]) == "table" then gc:setColorRGB(unpack(Color[theColor])) end elseif type(theColor) == "table" then gc:setColorRGB(unpack(theColor)) end end
function verticalBar(gc,x) gc:fillRect(gc,x,0,1,pwh()) end
function horizontalBar(gc,y) gc:fillRect(gc,0,y,pww(),1) end
function nativeBar(gc, screen, y) gc:setColorRGB(128,128,128) gc:fillRect(screen.x+5, screen.y+y, screen.w-10, 2) end
function drawSquare(gc,x,y,l) gc:drawPolyLine(gc,{(x-l/2),(y-l/2), (x+l/2),(y-l/2), (x+l/2),(y+l/2), (x-l/2),(y+l/2), (x-l/2),(y-l/2)}) end
function drawRoundRect(gc,x,y,wd,ht,rd) -- wd = width, ht = height, rd = radius of the rounded corner x = x-wd/2 -- let the center of the square be the origin (x coord) y = y-ht/2 -- same for y coord if rd > ht/2 then rd = ht/2 end -- avoid drawing cool but unexpected shapes. This will draw a circle (max rd) gc:drawLine(x + rd, y, x + wd - (rd), y); gc:drawArc(x + wd - (rd*2), y + ht - (rd*2), rd*2, rd*2, 270, 90); gc:drawLine(x + wd, y + rd, x + wd, y + ht - (rd)); gc:drawArc(x + wd - (rd*2), y, rd*2, rd*2,0,90); gc:drawLine(x + wd - (rd), y + ht, x + rd, y + ht); gc:drawArc(x, y, rd*2, rd*2, 90, 90); gc:drawLine(x, y + ht - (rd), x, y + rd); gc:drawArc(x, y + ht - (rd*2), rd*2, rd*2, 180, 90); end
function fillRoundRect(gc,x,y,wd,ht,radius) -- wd = width and ht = height -- renders badly when transparency (alpha) is not at maximum >< will re-code later if radius > ht/2 then radius = ht/2 end -- avoid drawing cool but unexpected shapes. This will draw a circle (max radius) gc:fillPolygon({(x-wd/2),(y-ht/2+radius), (x+wd/2),(y-ht/2+radius), (x+wd/2),(y+ht/2-radius), (x-wd/2),(y+ht/2-radius), (x-wd/2),(y-ht/2+radius)}) gc:fillPolygon({(x-wd/2-radius+1),(y-ht/2), (x+wd/2-radius+1),(y-ht/2), (x+wd/2-radius+1),(y+ht/2), (x-wd/2+radius),(y+ht/2), (x-wd/2+radius),(y-ht/2)}) x = x-wd/2 -- let the center of the square be the origin (x coord) y = y-ht/2 -- same gc:fillArc(x + wd - (radius*2), y + ht - (radius*2), radius*2, radius*2, 1, -91); gc:fillArc(x + wd - (radius*2), y, radius*2, radius*2,-2,91); gc:fillArc(x, y, radius*2, radius*2, 85, 95); gc:fillArc(x, y + ht - (radius*2), radius*2, radius*2, 180, 95); end
The main difference, again, is about the gc usage. Passing gc to the functions is the *only* way to do things well I'll get back to your main problem soon (also calling jim )
890
« on: September 27, 2012, 09:44:25 am »
maybe the syscall calls some HW things that aren't implemented in the emulator ?
891
« on: September 26, 2012, 04:48:37 pm »
Yes, sorry, we can't be sure, but we'll try Now that we know ho to dump them, it might even be more interesting with the 84 emulation if it's there !
892
« on: September 26, 2012, 04:47:28 pm »
Yup saw that , but I don't think it's anywhere related ... just internal advertising I guess
893
« on: September 26, 2012, 02:39:52 pm »
Well, as a Omnimaga newser care should be taken for not making Omnimaga.org as a bare redirection to TI-Planet by editing the links in the posts. It would help to miss-interpreting your posts as being mainly advertisements for TI-Planet.
Sure. In important posts tho, I take the required time to make it as good as possible, here, is was just a reference to another program I had in mind, obviously not an ad.
894
« on: September 26, 2012, 01:39:58 pm »
Well you may not have noticed that the background of nTris is customisable Indeed I didn't know. Also, why do you link to the TI-Planet archive of an Omnimaga project which has a topic here ? Because I knew how to find it quickly there, not here You did the same with Gossamer on Cemetech too Indeed, since it was a copy/paste of the english news on TI-Planet.
895
« on: September 26, 2012, 07:47:57 am »
Indeed the graphics are beautiful, but you may have not heard of this on , which is pretty nice too graphics-wise (well, it's based of the official one)
896
« on: September 26, 2012, 05:29:46 am »
Well, I don't think a color screen is a very unique idea for either company, the real issue is deciding when the market is ready for it.
same, no "espionnage" needed to think about that, I guess
897
« on: September 26, 2012, 05:27:55 am »
Yeah I also thought when I first encountered that, that the polarization could be the cause
898
« on: September 26, 2012, 05:26:33 am »
Don't worry, we know the buyer (we'll probably be able to test it !) and you probably can know it too, just think about it
899
« on: September 25, 2012, 09:02:03 pm »
Arg, I bidded for $260 but a calculator collecter (according to his bidding history) got them by sniping higher....
900
« on: September 25, 2012, 08:56:54 pm »
Well that I don't know, but what I meant is that the CX isn't a rushed response from the Prizm's release. Who got the idea first, who knows...
Pages: 1 ... 58 59 [60] 61 62 ... 115
|