illwill

sexlife.c

May 25th, 2014
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 2.52 KB | None | 0 0
  1. Originally Posted by CODE
  2. /******************************************
  3. [sexlife.c]
  4. 1 / 14 / 2006
  5.  
  6. Software designed to simulate [ill]will's
  7. prison sexlife. Compiles under all tested
  8. Windows and UNIX/Linux operating systems.
  9.  
  10. *******************************************/
  11.  
  12. /* WINDOWS BULLSHIT DELETE LINE BELOW IF NOT COMPILING ON WINDOWS */
  13. #define WINDOWS
  14. #ifdef WINDOWS
  15. #include <windows.h>
  16. #define usleep(x) Sleep(x / 1000)
  17. #endif
  18.  
  19. #include <stdio.h>
  20. #include <string.h>
  21. #include <stdlib.h>
  22.  
  23. /* CONFIG DEFINES */
  24. #define DELAY 60000
  25. #define NUM_CUM 3
  26. #define NUM_PUMPS 10
  27.  
  28. /* PROGRAM DEFINES */
  29. #define BUF_SZ 20
  30. #define DICK_IN 1
  31. #define DICK_OUT 0
  32.  
  33.  
  34. /* GLOBALS */
  35. char *dick = " c====8";
  36. char *wills_ass = "(__*__)";
  37.  
  38.  
  39. /* FUNCTIONS */
  40. void fuck(char *buf, char *ass_ptr, char *dick_ptr)
  41. {
  42. unsigned short measure_ass = ass_ptr - wills_ass + 1;
  43.  
  44. snprintf(buf, measure_ass, "%s", wills_ass);
  45. strncat(buf, dick_ptr, BUF_SZ);
  46.  
  47. return;
  48. }
  49.  
  50. /* Always the best part. Expects buf to be a "%s%s" of wills_ass, dick */
  51. void cum(char *buf)
  52. {
  53. char cum_char[] = { '~', '\x20'};
  54. unsigned short cum_ctr, cycle;
  55.  
  56. for(cycle = 0; cycle < NUM_CUM * 2; ++cycle)
  57. for(cum_ctr = 7; cum_ctr > 2; --cum_ctr)
  58. {
  59. usleep(DELAY);
  60. buf[cum_ctr] = cum_char[cycle % 2];
  61. if(cum_ctr < 5)
  62. buf[cum_ctr - 2] = '#';
  63. printf("%s\r", buf);
  64. fflush(stdout);
  65. }
  66.  
  67. return;
  68. }
  69.  
  70. /* MAIN PROGRAM */
  71. int main(int argc, char *argv[])
  72. {
  73. char *ass_ptr, *dick_ptr, buf[20];
  74. unsigned short direction, pumps;
  75.  
  76. /* Pull his jumpsuit down, a.k.a. initialize variables. */
  77. ass_ptr = &(wills_ass[6]);
  78. dick_ptr = &(dick[0]);
  79. direction = DICK_IN;
  80. pumps = 0;
  81.  
  82. /* Ohh, baby... Begin sequence. */
  83. do
  84. {
  85. /* Clear the buffer, fuck him in the ass, and tell everyone about it. */
  86. memset(buf, 0, BUF_SZ);
  87. fuck(buf, ass_ptr, dick_ptr);
  88. printf("%s \r", buf);
  89. fflush(stdout);
  90. usleep(DELAY);
  91.  
  92. /* Perform sex logic. */
  93. switch(direction)
  94. {
  95. case DICK_IN:
  96. if((dick_ptr >= &(dick[2])) && (ass_ptr > &(wills_ass[3])))
  97. --ass_ptr;
  98. else if(dick_ptr < &(dick[6]))
  99. ++dick_ptr;
  100. /* Big dude slid it all the way in, now take it back out. */
  101. else
  102. direction = DICK_OUT;
  103. break;
  104. case DICK_OUT:
  105. if((dick_ptr <= &(dick[2])) && (ass_ptr <= &(wills_ass[6])))
  106. ++ass_ptr;
  107. else if(dick_ptr > &(dick[0]))
  108. --dick_ptr;
  109. /* Complete. Increment pump count and get ready to go back in. */
  110. else
  111. {
  112. direction = DICK_IN;
  113. ++pumps;
  114. }
  115. break;
  116. }
  117. }
  118. while(pumps < NUM_PUMPS);
  119. cum(buf);
  120. puts("\nDon't drop the soap, Lil' Willy.");
  121. #ifdef WINDOWS
  122. system("PAUSE");
  123. #endif
  124.  
  125. return 0;
  126. }
Advertisement
Add Comment
Please, Sign In to add comment