Search:

Type: Posts; User: jpcanaverde

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. In Windows Code::Blocks, it says something about...

    In Windows Code::Blocks, it says something about mangled_main and winmain... I post the full error later.
  2. Ok, so now the program works. It was a...

    Ok, so now the program works. It was a little-little thing: The filename was named ubuntu.bmp, and in the code I had Ubuntu.bmp.

    So... The program works. That's a fact. But it just works on my...
  3. I asked for help in the Allegro forums too. ...

    I asked for help in the Allegro forums too.

    [Help] Destroy bitmaps

    Now this is more Allegro-based... Hope someone can help me there.
  4. Ok, noticed now that when the program gets to...

    Ok, noticed now that when the program gets to this part:



    (...)
    bmp = load_bitmap("6.bmp", palette);
    draw_sprite(screen, bmp, 0, 255);

    sleepTime=35;
    sleep(sleepTime);
  5. Ok, finally did it! I changed the textout's with...

    Ok, finally did it! I changed the textout's with images, and then inserted some sleeptime's and voilá!

    My final, working code:



    #include <stdio.h>
    #include <allegro.h>

    int main(void)
  6. I asked Google, but he didn't retreave what I...

    I asked Google, but he didn't retreave what I want... Ignore the textouts. Tell me about the pixels.
  7. I have a question about the textout pixels. It...

    I have a question about the textout pixels.

    It has, for example:


    255,255,255

    What's the number I have to change to put 38 pixels down? And I have to increase or decrease the number?

    E...
  8. How do I put different sleeptime's seconds? And...

    How do I put different sleeptime's seconds? And don't want the same time. I'm almost there...

    I typed:




    (...)
    int sleepTime;
    (...)
  9. I'm in class. I really need some help...

    I'm in class. I really need some help...
  10. How much pixels are a line?

    How much pixels are a line?
  11. I tried to put a blank place in the screen, and...

    I tried to put a blank place in the screen, and pressing key to pass images, but it goes way too slow, and I can't get out, I had to turn off the computer to get out. Well, at least I got one line...
  12. Ok, got it. Always learning...

    Ok, got it. Always learning...
  13. Yes. It's the textout function. It doesn't work...

    Yes. It's the textout function. It doesn't work etiher.

    I tried to run with the console, but it does the same. Goes full-screen, and displays the images. Not the text.
  14. Cool. :D Does someone know why my text doesn't...

    Cool. :D

    Does someone know why my text doesn't display? It's weird. The idea it's to display text and images, in order, like a doc.

    Example:

    [Image]

    Bla bla bla bla....
    Bla bla bla bla...
  15. Instead of building an exe, building an sh. ...

    Instead of building an exe, building an sh.

    But text isn't about graphics. :D Just kidding. Thank's for all.

    So... Can somebody help me? My present code:



    //Este programa foi feito por X....
  16. .sh is a Linux executable. I did a sleep between...

    .sh is a Linux executable. I did a sleep between images/text... Now the images display properly, but the text doesn't show up. I tried with the normal printf and textout (allegro).

    But we have...
  17. I mean... .sh. Linux executable. Now I'm trying...

    I mean... .sh. Linux executable. Now I'm trying to put a sleep between every image/text...
  18. I compiled it to sh and does the same.

    I compiled it to sh and does the same.
  19. THANK YOU. Now it runs, but not as I thought it...

    THANK YOU. Now it runs, but not as I thought it would.

    It was supposed to be like a doc. It would print the text and the images. It would display the first image at up, and the following text and...
  20. I'm sending you a PM with the source then. Thank...

    I'm sending you a PM with the source then. Thank you very much. If you can compile with Ubuntu, then I'l compile with Windows with the changes... I really need an .exe, because it's for school, and...
  21. What options and libs do I have to put? E typed...

    What options and libs do I have to put? E typed this in Windows and Ubuntu:


    gcc -Wall -c -o main.o main.c


    gcc -Wall -o main.exe main.o libaldat.a liballd.a liballd_s.a liballeg.a...
  22. Error: >gcc -pedantic -Os -c main.c -o...

    Error:


    >gcc -pedantic -Os -c main.c -o main.o -std=c99
    >Exit code: 0
    >make
    gcc -Wall -O3 -o main.exe main.c
    /tmp/ccFND2jH.o: In function `main':
    main.c:(.text+0x32): undefined reference to...
  23. Ok, no errors compiling. But I'm having some...

    Ok, no errors compiling. But I'm having some trouble buiding. :D

    I have to build an .exe file. I tried numerous times, in Ubuntu with code blocks + allegro + mingw and in Windows with the same....
  24. So... Now my error is other... Can you help me?...

    So... Now my error is other... Can you help me? :X Please?
  25. I just copy/pasted Jeff's code.

    I just copy/pasted Jeff's code.
Results 1 to 25 of 31
Page 1 of 2 1 2