
-----------------------------------
safwat
Mon Feb 12, 2007 9:39 pm

Help making a building!!!
-----------------------------------
hi can u please give me the guidelines or codes to make a buildings. I really need help i am really new to turing 
thx

-----------------------------------
ericfourfour
Mon Feb 12, 2007 10:51 pm

RE:Help making a building!!!
-----------------------------------
Could you possibly elaborate? What kind of buildings do you want to make? A house? An apartment building? Or are you having trouble building your program?

-----------------------------------
safwat
Tue Feb 13, 2007 12:03 pm

Re: Help making a building!!!
-----------------------------------
oh sorry i need to make a restaunt!!
could you give me guidelines on that

-----------------------------------
Cervantes
Tue Feb 13, 2007 3:03 pm

RE:Help making a building!!!
-----------------------------------
You need to give some more details. What are you trying to do? Are you trying to draw a picture of a restaurant? Or are you trying to simulate a restaurant in terms of sales and customers and such? Or are you trying to simulate the physical building, with regard to stresses and torques and winds and storms etc. Maybe you could simulate the global weather and apply the weather in a specific region to your restaurant.

In short, we need more details.

-----------------------------------
syntax_error
Tue Feb 13, 2007 4:52 pm

Re: Help making a building!!!
-----------------------------------
um........ again not sure what you wanted but if you what to draw a restaunt you might want to look up the  draw funtions 
go to the Turing Walkthrough and learn how to draw in turing and then you can get a start then we might beable to help you 
futher 



some tihing you might what to look up..... 

 
Draw.Arc(x, y, xRadius, yRadius : int, 
    initialAngle, finalAngle, Color : int) 

Draw.Box(x1, y1, x2, y2, Color : int)
Draw.Fill (x, y : int, fillColor, borderColor : int)
Draw.Oval(x, y, xRadius, yRadius, Color : int)
Draw.Star(x1, y1, x2, y2, Color : int)
Draw.Mapleleaf(x1, y1, x2, y2, Color : int)

all at your finger tips with F10~!
hope that helps...................

-----------------------------------
rollerdude
Tue Feb 20, 2007 10:12 am

Re: Help making a building!!!
-----------------------------------
well... those previous posts didn't really help... i have a routine for a house... you kin modify

class aHouse
    export initialize, build
    var x, y, hsize, vsize, clr : int
    proc initialize (ax, ay, ahsize, avsize, aclr : int)
        x := ax
        y := ay
        hsize := ahsize
        vsize := avsize
        clr := aclr
    end initialize

    proc build

        Draw.FillBox (x, y, x + hsize, y + vsize, clr)
        Draw.Line (x, y + vsize, x + (hsize div 2), y + vsize + vsize, clr)
        Draw.Line (x + hsize, y + vsize, x + (hsize div 2), y + vsize +
            vsize, clr)
        drawfill (x + (hsize div 2), y + (hsize + 1), clr, clr)
    end build
end aHouse

var house1:^aHouse
house1->initialize 910,10,50,50,brightred)
house1->build

-----------------------------------
apomb
Tue Feb 20, 2007 10:57 am

Re: Help making a building!!!
-----------------------------------
FORMAT YOUR CODE! ... and he asked for guidelines, dont just throw code out there! that was a good gesture, syntax error. but people have to stop giving noobs already made programs. jeeze!

and c'mon "you kin modify"!? of COURSE he has to ... otherwise, thats plagiarism. no matter if you gave him permission or not. He wont learn a damn thing if he just prints that out and hands it in... C'mon people, get some common sense.

-----------------------------------
ericfourfour
Tue Feb 20, 2007 3:13 pm

RE:Help making a building!!!
-----------------------------------
Umm. Did he say he wanted to draw a restaurant or make one? Read cervantes' post if you are still confused. You guys shouldn't bother wasting your time if you don't know what safwat wants to do.
