biible/source/bible_data.c

4 lines
6.5 MiB
C
Raw Permalink Normal View History

2023-09-23 20:00:22 +00:00
#include "ui.h"
void LoadBibles(app_data_t* myData){bible_t* bible; book_t* book; chapter_t* chapter;
bible = &myData->bibles[0];bible->noBooks=39;bible->books = (book_t*)malloc(sizeof(book_t) * bible->noBooks);bible->name = "Old Testament";book = &bible->books[0];book->name = "Genesis";book->noChapters = 50;book->chapters = (chapter_t*)malloc(sizeof(chapter_t) * book->noChapters);chapter = &book->chapters[0];chapter->noVerses = 31;chapter->verses = (char**)malloc(sizeof(char*) * chapter->noVerses);chapter->verses[0] = "In the beginning God created the heaven and the earth.";chapter->verses[1] = "And the earth was without form, and void; and darkness was upon the face of the deep. And the Spirit of God moved upon the face of the waters.";chapter->verses[2] = "And God said, Let there be light: and there was light.";chapter->verses[3] = "And God saw the light, that it was good: and God divided the light from the darkness.";chapter->verses[4] = "And God called the light Day, and the darkness he called Night. And the evening and the morning were the first day.";chapter->verses[5] = "And God said, Let there be a firmament in the midst of the waters, and let it divide the waters from the waters.";chapter->verses[6] = "And God made the firmament, and divided the waters which were under the firmament from the waters which were above the firmament: and it was so.";chapter->verses[7] = "And God called the firmament Heaven. And the evening and the morning were the second day.";chapter->verses[8] = "And God said, Let the waters under the heaven be gathered together unto one place, and let the dry land appear: and it was so.";chapter->verses[9] = "And God called the dry land Earth; and the gathering together of the waters called he Seas: and God saw that it was good.";chapter->verses[10] = "And God said, Let the earth bring forth grass, the herb yielding seed, and the fruit tree yielding fruit after his kind, whose seed is in itself, upon the earth: and it was so.";chapter->verses[11] = "And the earth brought forth grass, and herb yielding seed after his kind, and the tree yielding fruit, whose seed was in itself, after his kind: and God saw that it was good.";chapter->verses[12] = "And the evening and the morning were the third day.";chapter->verses[13] = "And God said, Let there be lights in the firmament of the heaven to divide the day from the night; and let them be for signs, and for seasons, and for days, and years:";chapter->verses[14] = "And let them be for lights in the firmament of the heaven to give light upon the earth: and it was so.";chapter->verses[15] = "And God made two great lights; the greater light to rule the day, and the lesser light to rule the night: he made the stars also.";chapter->verses[16] = "And God set them in the firmament of the heaven to give light upon the earth,";chapter->verses[17] = "And to rule over the day and over the night, and to divide the light from the darkness: and God saw that it was good.";chapter->verses[18] = "And the evening and the morning were the fourth day.";chapter->verses[19] = "And God said, Let the waters bring forth abundantly the moving creature that hath life, and fowl that may fly above the earth in the open firmament of heaven.";chapter->verses[20] = "And God created great whales, and every living creature that moveth, which the waters brought forth abundantly, after their kind, and every winged fowl after his kind: and God saw that it was good.";chapter->verses[21] = "And God blessed them, saying, Be fruitful, and multiply, and fill the waters in the seas, and let fowl multiply in the earth.";chapter->verses[22] = "And the evening and the morning were the fifth day.";chapter->verses[23] = "And God said, Let the earth bring forth the living creature after his kind, cattle, and creeping thing, and beast of the earth after his kind: and it was so.";chapter->verses[24] = "And God made the beast of the earth after his kind, and cattle after their kind, and every thing that creepeth upon the earth after his kind: and God saw that it was good.";chapter->verses[25] = "And God said, Let us make man in our image, after our likeness: and let them have dominion over the fish of t