Give replays better names
This commit is contained in:
parent
7d5aa32c79
commit
f07a4d3635
3 changed files with 18 additions and 3 deletions
2
TODO.txt
2
TODO.txt
|
@ -4,7 +4,6 @@ fuck issue trackers :D
|
||||||
|
|
||||||
- hitting ramps at higher speed still often bugs, try to fiddle with physics
|
- hitting ramps at higher speed still often bugs, try to fiddle with physics
|
||||||
again (reshape iterations, tension, ...)
|
again (reshape iterations, tension, ...)
|
||||||
- make replays have better names (time etc.)
|
|
||||||
- press forward map??? :-D only when physics is frozen
|
- press forward map??? :-D only when physics is frozen
|
||||||
- make some kinda repo for world record runs?
|
- make some kinda repo for world record runs?
|
||||||
- Try doing the bouncy car body? Just keep a point and its velocity, change
|
- Try doing the bouncy car body? Just keep a point and its velocity, change
|
||||||
|
@ -41,6 +40,7 @@ fuck issue trackers :D
|
||||||
=========== HANDLED ==============
|
=========== HANDLED ==============
|
||||||
|
|
||||||
- should drifting make a sound? NO NEED
|
- should drifting make a sound? NO NEED
|
||||||
|
- make replays have better names (time etc.)
|
||||||
- LOD blocks in lower res look too small
|
- LOD blocks in lower res look too small
|
||||||
- 640x480 with resolution subdiv has bad sized menu item highlight
|
- 640x480 with resolution subdiv has bad sized menu item highlight
|
||||||
- Map4: fix top bottom corner, making the curve is too hard -- either add ramps
|
- Map4: fix top bottom corner, making the curve is too hard -- either add ramps
|
||||||
|
|
3
data
3
data
|
@ -134,3 +134,6 @@ details
|
||||||
#RLCtiny2;00LCtiny2;833ee4b2 0000245
|
#RLCtiny2;00LCtiny2;833ee4b2 0000245
|
||||||
#BLCtiny2;
|
#BLCtiny2;
|
||||||
#RLCtiny2;00LCtiny2;833ee4b2 0000245
|
#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
|
||||||
|
|
16
game.h
16
game.h
|
@ -1193,7 +1193,7 @@ void LCR_gameTimeToStr(uint32_t timeMS, char *str)
|
||||||
timeMS /= 10;
|
timeMS /= 10;
|
||||||
str[0] = '0' + timeMS % 10;
|
str[0] = '0' + timeMS % 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
void LCR_gameDrawPopupMessage(void)
|
void LCR_gameDrawPopupMessage(void)
|
||||||
{
|
{
|
||||||
#define _TEXT_SIZE 5
|
#define _TEXT_SIZE 5
|
||||||
|
@ -1293,6 +1293,8 @@ void LCR_gameDraw3DView(void)
|
||||||
|
|
||||||
void LCR_gameSaveReplay(void)
|
void LCR_gameSaveReplay(void)
|
||||||
{
|
{
|
||||||
|
char str[10];
|
||||||
|
|
||||||
LCR_LOG0("saving replay");
|
LCR_LOG0("saving replay");
|
||||||
_LCR_gameDataCharWrite(LCR_DATA_FILE_SEPARATOR);
|
_LCR_gameDataCharWrite(LCR_DATA_FILE_SEPARATOR);
|
||||||
_LCR_gameDataCharWrite('R');
|
_LCR_gameDataCharWrite('R');
|
||||||
|
@ -1302,7 +1304,17 @@ void LCR_gameSaveReplay(void)
|
||||||
_LCR_gameDataCharWrite(LCR_currentMap.name[i]);
|
_LCR_gameDataCharWrite(LCR_currentMap.name[i]);
|
||||||
else
|
else
|
||||||
break;
|
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_gameDataCharWrite(';');
|
||||||
|
|
||||||
LCR_replayOutputStr(_LCR_gameDataCharWrite);
|
LCR_replayOutputStr(_LCR_gameDataCharWrite);
|
||||||
|
|
Loading…
Reference in a new issue