les sames ne s'impriment pas avec juste le flag p mais seulement le o en plus
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
/* By: hulamy <marvin@42.fr> +#+ +:+ +#+ */
|
/* By: hulamy <marvin@42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2019/05/27 13:46:29 by hulamy #+# #+# */
|
/* Created: 2019/05/27 13:46:29 by hulamy #+# #+# */
|
||||||
/* Updated: 2019/05/28 09:57:40 by hulamy ### ########.fr */
|
/* Updated: 2019/05/29 16:25:52 by hulamy ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@ t_fillist *print_tetri(t_fillist *list)
|
|||||||
print = tmp->tetribit;
|
print = tmp->tetribit;
|
||||||
print <<= 16;
|
print <<= 16;
|
||||||
print_sized_map(&print, tmp->width, tmp->height, tmp->letter);
|
print_sized_map(&print, tmp->width, tmp->height, tmp->letter);
|
||||||
if (tmp->same)
|
if (tmp->same && list->dope[1])
|
||||||
{
|
{
|
||||||
print = tmp->same->tetribit;
|
print = tmp->same->tetribit;
|
||||||
print <<= 16;
|
print <<= 16;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
/* By: vmanzoni <vmanzoni@student.42.fr> +#+ +:+ +#+ */
|
/* By: vmanzoni <vmanzoni@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2019/03/01 13:29:05 by vmanzoni #+# #+# */
|
/* Created: 2019/03/01 13:29:05 by vmanzoni #+# #+# */
|
||||||
/* Updated: 2019/05/29 15:52:44 by hulamy ### ########.fr */
|
/* Updated: 2019/05/29 15:55:03 by hulamy ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@@ -23,9 +23,7 @@ void print_error(char *str)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Function that display error message *s on fd
|
** Function that display error message *s on fd with more informations
|
||||||
** with more informations
|
|
||||||
** and exit program
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void print_error_extended(int error, int *dope)
|
void print_error_extended(int error, int *dope)
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
/* By: vmanzoni <vmanzoni@student.42.fr> +#+ +:+ +#+ */
|
/* By: vmanzoni <vmanzoni@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2019/04/13 12:09:46 by vmanzoni #+# #+# */
|
/* Created: 2019/04/13 12:09:46 by vmanzoni #+# #+# */
|
||||||
/* Updated: 2019/05/28 18:36:35 by hulamy ### ########.fr */
|
/* Updated: 2019/05/29 16:10:58 by hulamy ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@@ -20,7 +20,7 @@ char *read_file(char *file)
|
|||||||
{
|
{
|
||||||
char buf[BUFF_SIZE];
|
char buf[BUFF_SIZE];
|
||||||
int fd;
|
int fd;
|
||||||
size_t rv;
|
int rv;
|
||||||
int i;
|
int i;
|
||||||
char *result;
|
char *result;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
/* By: hulamy <hulamy@student.42.fr> +#+ +:+ +#+ */
|
/* By: hulamy <hulamy@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2019/04/27 20:47:22 by hulamy #+# #+# */
|
/* Created: 2019/04/27 20:47:22 by hulamy #+# #+# */
|
||||||
/* Updated: 2019/05/29 13:37:51 by vmanzoni ### ########.fr */
|
/* Updated: 2019/05/29 16:23:03 by hulamy ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@@ -165,5 +165,6 @@ int search_map(t_fillist *list)
|
|||||||
map[num] = 0;
|
map[num] = 0;
|
||||||
i = fill_map(map, list, size++);
|
i = fill_map(map, list, size++);
|
||||||
}
|
}
|
||||||
|
free(map);
|
||||||
return (print_binary_map(map, size, list->dope));
|
return (print_binary_map(map, size, list->dope));
|
||||||
}
|
}
|
||||||
|
|||||||
20
fillit.dSYM/Contents/Info.plist
Normal file
20
fillit.dSYM/Contents/Info.plist
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>English</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.apple.xcode.dsym.fillit</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>dSYM</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>????</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
Reference in New Issue
Block a user