X-Git-Url: https://deadsoftware.ru/gitweb?p=flatwaifu.git;a=blobdiff_plain;f=src%2Fmy.c;h=ad47b24de3bda7239d65a8f3445ce4572c6c4b98;hp=a966eb8b697aab420f65e938f0d924865ec25497;hb=ef16dea09f87b15fc6d58fae0aa0832e0648c00e;hpb=2bb81ea2565c3627c954b5c37326db89b0048472 diff --git a/src/my.c b/src/my.c index a966eb8..ad47b24 100644 --- a/src/my.c +++ b/src/my.c @@ -1,26 +1,21 @@ -/* - Copyright (C) Prikol Software 1996-1997 - Copyright (C) Aleksey Volynskov 1996-1997 - Copyright (C) 2011 +/* Copyright (C) 1996-1997 Aleksey Volynskov + * Copyright (C) 2011 Rambo + * Copyright (C) 2020 SovietPony + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, version 3 of the License ONLY. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ - This file is part of the Doom2D:Rembo project. - Doom2D:Rembo is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License version 2 as - published by the Free Software Foundation. - - Doom2D:Rembo is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, see or - write to the Free Software Foundation, Inc., - 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -*/ - -#include #include "glob.h" #include "error.h" #include "misc.h" @@ -126,10 +121,6 @@ void myfwrite32 (int32_t x, FILE *f) { myfwrite(&x, 4, 1, f); } -void myrandomize (void) { - srand(SDL_GetTicks()); -} - int fexists (char *filename) { FILE *f; if ((f = fopen(filename, "r")))