Standardize on LF line endings.

This commit is contained in:
Tom Rothamel
2023-02-13 23:50:51 -05:00
parent a1f631285f
commit 80b3e8236e
27 changed files with 6727 additions and 6725 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
# This file contains strings used by RAPT, so the Ren'Py translation framework
# can find them. It's automatically generated by rapt/update_translations.py, and
# hence should not be changed by hand.
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
# Copyright 2004-2023 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
+6 -4
View File
@@ -9,7 +9,7 @@ import sys
def process(fn):
with open(fn, "r") as f:
with open(fn, "rb") as f:
data = f.read()
data = data.decode("utf-8")
@@ -18,15 +18,17 @@ def process(fn):
data = u"\ufeff" + data
data = data.encode("utf-8")
with open(fn, "w") as f:
with open(fn, "wb") as f:
f.write(data)
for directory, dirs, files in os.walk(sys.argv[1]):
for dn in sys.argv[1:]:
for directory, dirs, files in os.walk(dn):
for fn in files:
fn = os.path.join(directory, fn)
if not fn.endswith(".rpy"):
if not fn.endswith(".rpy") or fn.endswith(".rpym") or fn.endswith(".py"):
continue
print(fn)
+1 -1
View File
@@ -1,4 +1,4 @@
image b0 red = "#f00"
image b0 red = "#f00"
image b0 green = "#0f0"
image b0 blue = "#00f"
image b1 red = "#f00"
+1 -1
View File
@@ -1,4 +1,4 @@
init python:
init python:
import os
autotest = False
+1 -1
View File
@@ -1,4 +1,4 @@
init python:
init python:
mr_track = ""
+1 -1
View File
@@ -1,4 +1,4 @@
# Declare characters used by this game.
# Declare characters used by this game.
define s = Character(_("Sylvie"), color="#c8ffc8")
define m = Character(_("Me"), color="#c8c8ff")
+1 -1
View File
@@ -1,4 +1,4 @@
# Disable the director until the director example enables it.
# Disable the director until the director example enables it.
default _director_enable = False
python early hide:
+1 -1
View File
@@ -1,4 +1,4 @@
python early:
python early:
# This maps from example name to the text of a fragment.
examples = { }
+1 -1
View File
@@ -1,4 +1,4 @@
image logo blink:
image logo blink:
"logo base"
pause 0.5
linear .5 alpha 0.0
+1 -1
View File
@@ -1,4 +1,4 @@
example minigame:
example minigame:
init python:
+1 -1
View File
@@ -1,4 +1,4 @@
transform examplepos:
xalign 0.5
ypos 50
+1 -1
View File
@@ -1,4 +1,4 @@
example translate_font:
example translate_font:
translate japanese python:
gui.text_font = "MTLc3m.ttf"
gui.name_text_font = "MTLc3m.ttf"
+1 -1
View File
@@ -1,4 +1,4 @@
testcase player_experience:
scroll "Bar" until "Player Experience"
click until "Yes."
+1 -1
View File
@@ -1,4 +1,4 @@
image bg band = Transform("concert1", zoom=.75)
image bg band = Transform("concert1", zoom=.75)
image logo small = Transform("logo base", zoom=.66)
image concert:
+1 -1
View File
@@ -1,4 +1,4 @@
label distribute:
label distribute:
e "One thing Ren'Py makes easy is building distributions of your visual novel so you can give it to players."
+1 -1
View File
@@ -1,4 +1,4 @@
# Declare an nvl-version of eileen.
# Declare an nvl-version of eileen.
example nvl1:
define nvle = Character(_("Eileen"), color="#c8ffc8", kind=nvl)
+1 -1
View File
@@ -1,4 +1,4 @@
#begin characters
#begin characters
define l = Character(_("Lucy"), color="#ffcccc")
#end characters
@@ -1,4 +1,4 @@
label screen_displayables:
label screen_displayables:
e "There are quite a few screen displayables. Here, I'll tell you about some of the most important ones."
+1 -1
View File
@@ -1,4 +1,4 @@
################################################################################
################################################################################
# Stats screen.
#
# This displays RPG-like statistics.