Show Posts

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 - mindslight

Pages: [1] 2 3 ... 6
1
About you / Re: Hello!
« on: August 21, 2017, 06:44:53 pm »
Welcome aboard :)

2
Jo-Engine release / Re: Release 9.0
« on: August 21, 2017, 08:34:16 am »
Do you compile with or without the SGL ?
Can you PM your code or some part, I will check this ASAP

3
Project announcement / Re: Sonic Z-Treme
« on: August 15, 2017, 07:11:35 pm »
Your help is welcome :)

There is still time to revive the Sega Saturn.

I am pleased that they have more and more people who are interested in our work.

4
Share your code / Re: Set the frame of a sprite animation!
« on: August 14, 2017, 01:16:06 pm »
Hi Mr. Potatobadger :)

I integrate your function on the next release.

I just added some const and removed the return value.

New prototypes:

Code: [Select]
/** @brief Set animation frame
 *  @param anim_id Id returned by jo_create_sprite_anim()
 *  @param frame Frame of animation to be displayed, where 0 is the first frame.
 */
static __jo_force_inline void jo_set_sprite_anim_frame(const int anim_id, const unsigned char frame) { __jo_sprite_anim_tab[anim_id].cur_frame = frame; }

5
Jo-Engine release / Release 9.0
« on: August 12, 2017, 06:19:48 pm »
I pushed a new version of Jo Engine with some features for XL2 and Null1024  :D

In this version you can see that I'm working to remove the SGL (Only stable features is in the release)

My remaining roadmap (major todolist) to remove the SGL is the following:

- Z-buffer (and sorting) implementation
- Matrix & math functions (needed for 3D)
- 3D implementation
- DMA copy
- SEGA FileSystem implementation
- Audio implementation with new driver
- Finish input implementation


6
Hi Null1024,

You will find below, the prototype of the function I have added on the next release:

Code: [Select]
/** @brief Draw billboard with a specific scale
 *  @param sprite_id Sprite Id returned by jo_sprite_add(), jo_sprite_add_tga() or jo_sprite_add_image_pack()
 *  @param x X coordinate
 *  @param y Y coordinate
 *  @param z Z coordinate
 *  @param scale_x X scale
 *  @param scale_y Y scale
 */
void      jo_3d_draw_billboard(const int sprite_id, const int x, const int y, const int z, const int scale_x, const int scale_y);

7
Hi XL2,

You will find below, the prototypes of the functions I have added in the next release:

Code: [Select]
/** @brief Open a file
 *  @param file Pointer to an allocated jo_file struct
 *  @param filename Filename (upper case and shorter as possible like "A.TXT")
 *  @return true if succeed
 */
bool            jo_fs_open(jo_file * const file, const char *const filename);

/** @brief Close a file
 *  @param file Pointer to an allocated and valid jo_file struct
 */
void            jo_fs_close(jo_file * const file);

/** @brief Read bytes from a file
 *  @param file Pointer to an allocated and valid jo_file struct
 *  @param buffer Pointer to an allocated buffer (length >= nbytes)
 *  @param nbytes number of bytes to read
 *  @return Number of bytes read (<= 0 means EOF)
 */
int             jo_fs_read_next_bytes(jo_file * const file, char *buffer, unsigned int nbytes);


Sample:

Code: [Select]
    jo_file     file;
    char        buf[2048];

    if (jo_fs_open(&file, "TEST.TXT"))
    {
        while (jo_fs_read_next_bytes(&file, buf, 2048) > 0)
            /*DO SOMETHING */;
        jo_fs_close(&file);
    }

8
Free talk / New server for the website
« on: August 11, 2017, 07:56:56 pm »
Hi!

I migrated the website (also the SVN) on a new dedicated server (more powerful and better bandwith)  8)

Don't hesitate to contact me if you have some troubles.

9
Great !

BTW, I'll add more filesystem feature in the next release

12
Hi,

Wish accepted :)

13
Free talk / Re: Which one is your favorite Saturn Game?
« on: August 03, 2017, 09:11:11 am »
And man I still haven't actually played Panzer Dragoon Saga



 ;D ;D ;D

14
Unfortunately, I use a modchip.
I never use Saturn Kai :(
Maybe someone on the forum can help you.

15
About you / Re: Hello!
« on: August 01, 2017, 07:13:49 pm »
Hi!

Welcome to our community :)

Pages: [1] 2 3 ... 6
SMF spam blocked by CleanTalk