Skip to content

Conversation

@zabidenhtf
Copy link

No description provided.

@petitlapin
Copy link
Owner

petitlapin commented Jan 13, 2026

Thanks for the PR (and the other one in Li-ri-devel). As said in another issue, bumping the year is clearly not the most important for now (as there is no release planned for now).
I'll keep them open and will merge them later when I plan to do a release.

How much do you want to work on improving the game? On my side, I mostly plan to only do minor changes and keep it alive and up-to-date, so I don't have big plans to add new features or major improvements. I've opened a few ideas that could help with the maintenance (such as using sdl_ttf for the texts instead of images, because as you saw, generating the data is complicated and if we want to add languages, it will not be easy or more easy or having the option to not have the human rights questions). Is it something you'd like to work on?
Because if that's the case, I can see to prioritize on my side to fix the issues of non English texts which are blockers to contribute.

@zabidenhtf
Copy link
Author

Yes, I’m interested in helping in Li-Ri project. I see potential in this project. :D

@zabidenhtf zabidenhtf changed the title Update copyright's to 2026 Update copyright's to 2026 and renamed some stuff in code Jan 14, 2026
@zabidenhtf
Copy link
Author

Hello, I have a small question would you be able to merge my PR?

@petitlapin
Copy link
Owner

Hello, I have a small question would you be able to merge my PR?

Regarding the copyright, I think I'll prefer to do it myself when I'll want to create a new release: the main point is that for the image you didn't use the same font, so I would like to ensure I use the same one as before.
Can you please rename this PR only for renaming and delete the commit regarding the copyright? Then, I'll be able to review it (and please, note it may take some time, I'm working on multiple projects and in real life so I don't have a lot of time for Li-Ri)

src/utils.h Outdated

static bool LoadPref(); // Load preferences
static void SauvePref(); // Save preferences
static void SavePref(); // Save preferences
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would go with SavePreferences() and remove the comment (ideally same for LoadPreferences above)

src/preference.h Outdated
};

enum eMenu {
enum eMenu { // TODO: Rename
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is TODO still needed?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm forgot to remove

src/preference.h Outdated
};

struct sNewPreference
struct sNewPreference // Here too
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove comment?

src/preference.h Outdated
#define ECARTWAGON_MOY 13.0
#define ECARTWAGON_MIN 4.0
#define REDUCED_DURATION (10 * 1000)
#define ALONGE_DURATION (10 * 1000)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the French term is allonger, which means extend (https://www.wordreference.com/fren/allonger), I would suggest to use EXTENSION instead of ALONGE (and REDUCTION instead of REDUCED above)

src/main.cc Outdated
Level level; // Gère les niveaux
Sprite *Sprites = nullptr; // Sprites pointer
int NSprites = 0; // Number of sprites in memory
Screen Ec; // 2 Video buffer pointer TODO: RENAME
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be nice if we can remove the TODO. Maybe call it screens (Ec is short for Ecran which is a screen in English)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and in my opinion will be good rename this object to screenObj

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does the "Obj" suffix bring?
Also, it would be better to avoid using acronyms or abbrevations if possible because the code is more often read than written, so even if you gain a few seconds by not typing the full word, people who will read the code will lose more time trying to understand its meaning

src/main.cc Outdated
#include "level.h"
#include "editor.h"
#include "utils.h"
#include "utils.h" // Done
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove "Done" comments

@zabidenhtf
Copy link
Author

Ok, I'm will fix my errors

@zabidenhtf
Copy link
Author

Fixed

@zabidenhtf zabidenhtf changed the title Update copyright's to 2026 and renamed some stuff in code Rename code on english Jan 15, 2026
@zabidenhtf
Copy link
Author

Hello, im removed copyright update from repository.

@zabidenhtf zabidenhtf changed the title Rename code on english Translate code on english Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants