I own a house in Texas (USA), built in 1885. I am renovating, enclosing the second floor back porch; it's essentially an addition, with a bathroom, a storage closet, and a hallway. The area will be about 6 feet deep; the hall is a short tee, with the closet on the right and the bathroom on the left. I'm doing the work myself (though I did have my plans and the building inspected by an engineer); I have a fair amount of experience in construction and planning, but not a lot with building code (I grew up outside of town, where "building", "permit", and "inspection" are unrelated words).
My house has many tall windows, 84 inches tall, all double hung. Three of these windows faced the porch, so I am moving them (frame, trim, and all) to the (new) outside wall. One window goes in the bathroom, one in the closet, and the third in the hallway. I realize it's a bit odd to put a window in a closet, but it fits the symmetry of the house. Installed, the windows will be about 2 inches above the floor, essentially floor to ceiling. The bathroom window and hall window will each have a fixed pane on bottom, and a sliding sash on top; the closet will be double hung, able to open from top or bottom.
I am going to add a reinforced railing in front of the hallway window, to prevent over-excited children from leaping to their doom; otherwise, what safety measures do I need to put in place for the windows to meet building code? This includes type and thickness of glass, how and what parts of the window can open, railings or other guards, and anything else I may not have thought of.