Give replays better names

This commit is contained in:
Miloslav Ciz 2025-05-11 20:37:02 +02:00
parent 7d5aa32c79
commit f07a4d3635
3 changed files with 18 additions and 3 deletions

View file

@ -4,7 +4,6 @@ fuck issue trackers :D
- hitting ramps at higher speed still often bugs, try to fiddle with physics
again (reshape iterations, tension, ...)
- make replays have better names (time etc.)
- press forward map??? :-D only when physics is frozen
- make some kinda repo for world record runs?
- Try doing the bouncy car body? Just keep a point and its velocity, change
@ -41,6 +40,7 @@ fuck issue trackers :D
=========== HANDLED ==============
- should drifting make a sound? NO NEED
- make replays have better names (time etc.)
- LOD blocks in lower res look too small
- 640x480 with resolution subdiv has bad sized menu item highlight
- Map4: fix top bottom corner, making the curve is too hard -- either add ramps

3
data
View file

@ -134,3 +134,6 @@ details
#RLCtiny2;00LCtiny2;833ee4b2 0000245
#BLCtiny2;
#RLCtiny2;00LCtiny2;833ee4b2 0000245
#RLCtiny1 00'10'659;00LCtiny1;ae1ab677 0000323:0011:0389:0021:00b9:0041:0039:0031:0149:0091:0183:0031:00d3:00c1:0065:0047:0033:0051:00b3:0181:0069:0011:0175:0041:0203:0061:00a9:0041:0093:0061
#BLCtiny1;
#RLCtiny1 00'10'098;00LCtiny1;ae1ab677 0000306:0011:00e9:0041:0203:0031:0099:0031:00a9:0021:0149:00d1:0103:0061:00d3:0031:0083:00c5:0081:0023:01f1:00a9:0061:00c5:0041:01b9:0031:0133:0041:0089

12
game.h
View file

@ -1293,6 +1293,8 @@ void LCR_gameDraw3DView(void)
void LCR_gameSaveReplay(void)
{
char str[10];
LCR_LOG0("saving replay");
_LCR_gameDataCharWrite(LCR_DATA_FILE_SEPARATOR);
_LCR_gameDataCharWrite('R');
@ -1303,6 +1305,16 @@ void LCR_gameSaveReplay(void)
else
break;
_LCR_gameDataCharWrite(' ');
LCR_gameTimeToStr(LCR_timeTicksToMS(LCR_game.runTime),str);
for (int i = 0; i < LCR_MAP_NAME_MAX_LEN; ++i)
if (str[i])
_LCR_gameDataCharWrite(str[i]);
else
break;
_LCR_gameDataCharWrite(';');
LCR_replayOutputStr(_LCR_gameDataCharWrite);